Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Ducred.h151 u_int sc_supp_groups_nb; /* number of supplementary groups */ member
191 u_int sc_supp_groups_nb; member
/freebsd/sys/kern/
H A Dkern_prot.c553 if (wcred->sc_supp_groups_nb > ngroups_max) { in user_setcred_copyin_supp_groups()
558 groups = wcred->sc_supp_groups_nb <= CRED_SMALLGROUPS_NB ? in user_setcred_copyin_supp_groups()
559 smallgroups : malloc(wcred->sc_supp_groups_nb * sizeof(gid_t), in user_setcred_copyin_supp_groups()
562 wcred->sc_supp_groups_nb * sizeof(gid_t)); in user_setcred_copyin_supp_groups()
566 wcred->sc_supp_groups_nb = 0; in user_setcred_copyin_supp_groups()
577 wcred->sc_supp_groups_nb = 0; in user_setcred_copyin_supp_groups()
689 wcred->sc_supp_groups_nb > ngroups_max) in kern_setcred()
726 wcred->sc_supp_groups_nb); in kern_setcred()
727 groups_normalize(&wcred->sc_supp_groups_nb, in kern_setcred()
739 crextend(new_cred, wcred->sc_supp_groups_nb); in kern_setcred()
[all …]
/freebsd/usr.bin/mdo/
H A Dmdo.c864 wcred.sc_supp_groups_nb = supp_groups.nb; in main()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c4240 CP(wcred32, wcred, sc_supp_groups_nb); in freebsd32_setcred()