Searched refs:num_supp (Results 1 – 1 of 1) sorted by relevance
168 size_t num_supp, i; in drop_privs_to() local195 for (num_supp = 0; supp_groups[num_supp]; num_supp++) ; in drop_privs_to()196 gid_t *supp_gids = (gid_t *) calloc (num_supp, sizeof (gid_t)); in drop_privs_to()199 for (i = 0; i < num_supp; i++) in drop_privs_to()201 if (0 != setgroups (num_supp, supp_gids)) in drop_privs_to()