Home
last modified time | relevance | path

Searched refs:group_id (Results 1 – 5 of 5) sorted by relevance

/platform_testing/utils/shell-as/
Dcontext.cpp106 gid_t group_id = 0; in SecurityContextFromProcess() local
108 if (!ParseProcStatusFile(process_id, &user_id, &group_id, in SecurityContextFromProcess()
117 context->group_id = group_id; in SecurityContextFromProcess()
Dshell-as-main.cpp43 << (context->group_id.has_value() in main()
44 ? std::to_string(context->group_id.value()) in main()
Dexecute.cpp50 if (context->group_id.has_value() && in DropPreExecPrivileges()
51 setresgid(context->group_id.value(), context->group_id.value(), in DropPreExecPrivileges()
52 context->group_id.value()) != 0) { in DropPreExecPrivileges()
53 std::cerr << "Unable to set group id: " << context->group_id.value() in DropPreExecPrivileges()
Dcontext.h42 std::optional<gid_t> group_id; member
Dcommand-line.cpp131 working_context.group_id = working_id; in ParseOptions()