} while (0)
if (get_next_token(s, pos, token)) {
- if (token.compare("=") == 0) {
+ if(token.compare("auth_uid") == 0) {
+ get_next_token(s, pos, token);
+ auth_uid = strtol(token.c_str(), NULL, 0);
+ } else if (token.compare("=") == 0) {
ASSERT_STATE(any_cmd);
got_eq = true;
} else if (token.compare("allow") == 0) {
string text;
rwx_t default_action;
map<int, MonServiceCap> services_map;
+ __u64 auth_uid;
bool get_next_token(string s, size_t& pos, string& token);
bool is_rwx(string& token, rwx_t& cap_val);
int get_service_id(string& token);
} while (0)
if (get_next_token(s, pos, token)) {
- if (token.compare("=") == 0) {
+ if (token.compare("auth_uid") == 0) {
+ get_next_token(s, pos, token);
+ auth_uid = strtol(token.c_str(), NULL, 10);
+ } else if (token.compare("=") == 0) {
ASSERT_STATE(any_cmd);
got_eq = true;
} else if (token.compare("allow") == 0) {