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.cpp138 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()
Dservice_utils.h78 std::vector<gid_t> supp_gids; member
Dservice_utils.cpp262 if (setgroups(attr.supp_gids.size(), const_cast<gid_t*>(&attr.supp_gids[0])) != 0) { in SetProcessAttributes()
Dservice_parser.cpp132 service_->proc_attr_.supp_gids.emplace_back(*gid); in ParseGroup()