Searched refs:gid_num (Results 1 - 5 of 5) sorted by relevance
/freebsd-12-stable/tools/regression/sockets/unix_cmsg/ |
H A D | uc_common.h | 54 int gid_num; member in struct:uc_cfg::__anon17125 84 const char *gid_num_str, int gid_num, bool all_gids);
|
H A D | uc_common.c | 587 const char *gid_num_str, int gid_num, bool all_gids) 591 for (i = 0; i < gid_num; ++i) 595 if (gid_num != uc_cfg.proc_cred.gid_num) { 596 uc_logmsgx("%s %d != %d", gid_num_str, gid_num, 597 uc_cfg.proc_cred.gid_num); 601 if (gid_num > uc_cfg.proc_cred.gid_num) { 602 uc_logmsgx("%s %d > %d", gid_num_str, gid_num, 603 uc_cfg.proc_cred.gid_num); 586 uc_check_groups(const char *gid_arr_str, const gid_t *gid_arr, const char *gid_num_str, int gid_num, bool all_gids) argument [all...] |
H A D | t_cmsgcred_sockcred.c | 57 cmsg1_size = CMSG_SPACE(SOCKCREDSIZE(uc_cfg.proc_cred.gid_num));
|
H A D | unix_cmsg.c | 314 uc_cfg.proc_cred.gid_num = getgroups(0, (gid_t *)NULL); 315 if (uc_cfg.proc_cred.gid_num < 0) { 319 uc_cfg.proc_cred.gid_arr = malloc(uc_cfg.proc_cred.gid_num * 325 if (getgroups(uc_cfg.proc_cred.gid_num, uc_cfg.proc_cred.gid_arr) < 0) {
|
H A D | t_sockcred.c | 85 cmsg_size = CMSG_SPACE(SOCKCREDSIZE(uc_cfg.proc_cred.gid_num));
|
Completed in 146 milliseconds