Searched refs:supp_gids (Results 1 – 6 of 6) sorted by relevance
/system/core/init/ |
D | service_test.cpp | 150 ASSERT_EQ(2U, svc->supp_gids().size()); in Test_make_temporary_oneshot_service() 154 ASSERT_EQ(*decoded_uid, svc->supp_gids()[0]); in Test_make_temporary_oneshot_service() 158 ASSERT_EQ(*decoded_uid, svc->supp_gids()[1]); in Test_make_temporary_oneshot_service() 160 ASSERT_EQ(0U, svc->supp_gids().size()); in Test_make_temporary_oneshot_service()
|
D | service.h | 71 const std::vector<gid_t>& supp_gids, int namespace_flags, const std::string& seclabel, 115 const std::vector<gid_t>& supp_gids() const { return proc_attr_.supp_gids; } in supp_gids() function
|
D | service.cpp | 138 const std::vector<gid_t>& supp_gids, int namespace_flags, in Service() argument 150 .supp_gids = supp_gids, 385 << " gid " << proc_attr_.gid << "+" << proc_attr_.supp_gids.size() << " context " in ExecStart() 754 std::vector<gid_t> supp_gids; in MakeTemporaryOneshotService() local 767 supp_gids.push_back(*supp_gid); in MakeTemporaryOneshotService() 771 return std::make_unique<Service>(name, flags, *uid, *gid, supp_gids, namespace_flags, seclabel, in MakeTemporaryOneshotService()
|
D | service_utils.h | 78 std::vector<gid_t> supp_gids; member
|
D | service_utils.cpp | 262 if (setgroups(attr.supp_gids.size(), const_cast<gid_t*>(&attr.supp_gids[0])) != 0) { in SetProcessAttributes()
|
D | service_parser.cpp | 132 service_->proc_attr_.supp_gids.emplace_back(*gid); in ParseGroup()
|