Searched refs:cr_groups (Results 1 – 15 of 15) sorted by relevance
| /f-stack/freebsd/kern/ |
| H A D | kern_prot.c | 702 gid == oldcred->cr_groups[0] || in sys_setgid() 731 if (oldcred->cr_groups[0] != gid) { in sys_setgid() 1279 if (cred->cr_groups[0] == gid) in groupmember() 1291 if (cred->cr_groups[m] < gid) in groupmember() 2091 free(cr->cr_groups, M_CRED); in crfree_final() 2146 bcopy(cr->cr_groups, xcr->cr_groups, in cru2x() 2273 free(cr->cr_groups, M_CRED); in crextend() 2306 g = cr->cr_groups[i]; in crsetgroups_locked() 2308 cr->cr_groups[j + 1] = cr->cr_groups[j]; in crsetgroups_locked() 2309 cr->cr_groups[j + 1] = g; in crsetgroups_locked() [all …]
|
| H A D | uipc_usrreq.c | 2249 td->td_ucred->cr_groups[i]; in unp_internalize() 2422 sc->sc_groups[i] = td->td_ucred->cr_groups[i]; in unp_addsockcred() 2433 sc->sc_groups[i] = td->td_ucred->cr_groups[i]; in unp_addsockcred() 2936 db_printf("%s%u", comma ? ", " : "", xu->cr_groups[i]); in db_print_xucred()
|
| H A D | kern_proc.c | 1083 bcopy(cred->cr_groups, kp->ki_groups, in fill_kinfo_proc_only() 2801 error = SYSCTL_OUT(req, cred->cr_groups, in sysctl_kern_proc_groups()
|
| H A D | vfs_mount.c | 1178 o2export.ex_anon.cr_groups[i]; in vfs_domount_update()
|
| H A D | vfs_syscalls.c | 2092 cred->cr_rgid != cred->cr_groups[0]))) { in kern_accessat() 2095 usecred->cr_groups[0] = cred->cr_rgid; in kern_accessat()
|
| H A D | imgact_elf.c | 2506 sbuf_bcat(sb, p->p_ucred->cr_groups, p->p_ucred->cr_ngroups * in note_procstat_groups()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | ucred.h | 67 gid_t *cr_groups; /* groups */ member 87 gid_t cr_groups[XU_NGROUPS]; /* groups */ member 93 #define cr_gid cr_groups[0]
|
| /f-stack/freebsd/sys/ |
| H A D | ucred.h | 82 gid_t *cr_groups; /* groups */ member 102 gid_t cr_groups[XU_NGROUPS]; /* groups */ member 111 #define cr_gid cr_groups[0]
|
| /f-stack/lib/ |
| H A D | ff_glue.c | 906 bcopy(cr->cr_groups, xcr->cr_groups, in cru2x() 907 ngroups * sizeof(*cr->cr_groups)); in cru2x() 1196 if (cred->cr_groups[0] == gid) in groupmember() 1208 if (cred->cr_groups[m] < gid) in groupmember() 1213 if ((l < cred->cr_ngroups) && (cred->cr_groups[l] == gid)) in groupmember()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | cred.h | 58 #define crgetgroups(cred) ((cred)->cr_groups)
|
| /f-stack/freebsd/security/mac_bsdextended/ |
| H A D | mac_bsdextended.c | 259 if (cred->cr_groups[i] in ugidfw_rulecheck() 261 cred->cr_groups[i] in ugidfw_rulecheck()
|
| /f-stack/freebsd/ddb/ |
| H A D | db_ps.c | 474 db_printf("%d", p->p_ucred->cr_groups[i]); in DB_SHOW_COMMAND()
|
| /f-stack/freebsd/security/audit/ |
| H A D | audit.c | 285 ar->k_ar.ar_subj_egid = cred->cr_groups[0]; in audit_record_ctor()
|
| H A D | audit_arg.c | 414 ar->k_ar.ar_arg_egid = cred->cr_groups[0]; in audit_arg_process()
|
| /f-stack/freebsd/netpfil/pf/ |
| H A D | pf.c | 3170 pd->lookup.gid = inp->inp_cred->cr_groups[0]; in pf_socket_lookup() 3356 pd->lookup.gid = inp->inp_cred->cr_groups[0]; in pf_test_rule()
|