Home
last modified time | relevance | path

Searched refs:nr_supp_gids (Results 1 – 4 of 4) sorted by relevance

/system/core/init/
Dinit_parser_test.cpp99 ASSERT_EQ(2U, svc->nr_supp_gids); in Test_make_exec_oneshot_service()
103 ASSERT_EQ(0U, svc->nr_supp_gids); in Test_make_exec_oneshot_service()
Dinit.h113 size_t nr_supp_gids; member
Dinit.cpp335 if (svc->nr_supp_gids) { in service_start()
336 if (setgroups(svc->nr_supp_gids, svc->supp_gids) != 0) { in service_start()
393 svc->pid, svc->uid, svc->gid, svc->nr_supp_gids, in service_start()
Dinit_parser.cpp704 svc->nr_supp_gids = command_arg - 1 /* -- */ - 4 /* exec SECLABEL UID GID */; in make_exec_oneshot_service()
705 for (size_t i = 0; i < svc->nr_supp_gids; ++i) { in make_exec_oneshot_service()
827 svc->nr_supp_gids = n - 2; in parse_line_service()