Searched refs:group_id (Results 1 – 5 of 5) sorted by relevance
106 gid_t group_id = 0; in SecurityContextFromProcess() local108 if (!ParseProcStatusFile(process_id, &user_id, &group_id, in SecurityContextFromProcess()117 context->group_id = group_id; in SecurityContextFromProcess()
43 << (context->group_id.has_value() in main()44 ? std::to_string(context->group_id.value()) in main()
50 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()
42 std::optional<gid_t> group_id; member
131 working_context.group_id = working_id; in ParseOptions()