Searched refs:setgroups (Results 1 - 4 of 4) sorted by relevance

/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile168 setgroups.2 \
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmain.c89 {1, &groups_test, NULL, "getegid, getgid, getgroups, setegid, setgid, setgroups"},
621 retval = setgroups(NUM_GROUPS, gids);
H A Dtests.c1101 my_err = setgroups( ( sizeof(my_exp_groups) / sizeof(*my_exp_groups) ), &my_exp_groups[0] );
1103 printf( "initial setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2154 * Test getegid, getgid, getgroups, setegid, setgid, setgroups system calls.
2209 my_err = setgroups( (my_orig_group_count - 1), &my_groups[0] );
2211 printf( "setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
2222 /* make sure setgroups dropped one */
2224 printf( "setgroups call failed. current group count is too high. \n" );
2230 my_err = setgroups( my_orig_group_count, &my_groups[0] );
2232 printf( "setgroups call failed. got errno %d - %s. \n", errno, strerror( errno ) );
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_prot.c761 * this normally only happens when calling setgroups() instead
1558 * Description: Internal implementation for both the setgroups and initgroups
1578 * This effectively means that setgroups/initigroups calls in
1737 * setgroups
1762 setgroups(proc_t p, struct setgroups_args *uap, __unused int32_t *retval) function
1764 DEBUG_CRED_ENTER("setgroups\n");

Completed in 33 milliseconds