Home
last modified time | relevance | path

Searched refs:supp_gids (Results 1 – 6 of 6) sorted by relevance

/system/core/init/
Dservice_test.cpp150 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()
Dservice.h71 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
Dservice.cpp136 const std::vector<gid_t>& supp_gids, int namespace_flags, in Service() argument
148 .supp_gids = supp_gids,
390 << " gid " << proc_attr_.gid << "+" << proc_attr_.supp_gids.size() << " context " in ExecStart()
774 std::vector<gid_t> supp_gids; in MakeTemporaryOneshotService() local
787 supp_gids.push_back(*supp_gid); in MakeTemporaryOneshotService()
791 return std::make_unique<Service>(name, flags, *uid, *gid, supp_gids, namespace_flags, seclabel, in MakeTemporaryOneshotService()
Dservice_utils.h86 std::vector<gid_t> supp_gids; member
Dservice_utils.cpp265 if (setgroups(attr.supp_gids.size(), const_cast<gid_t*>(&attr.supp_gids[0])) != 0) { in SetProcessAttributes()
Dservice_parser.cpp165 service_->proc_attr_.supp_gids.emplace_back(*gid); in ParseGroup()