Home
last modified time | relevance | path

Searched refs:getgroups (Results 1 – 20 of 20) sorted by relevance

/dragonfly/crypto/openssh/
H A Duidswap.c86 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid()
92 if (getgroups(saved_egroupslen, saved_egroups) == -1) in temporarily_use_uid()
105 user_groupslen = getgroups(0, NULL); in temporarily_use_uid()
111 if (getgroups(user_groupslen, user_groups) == -1) in temporarily_use_uid()
H A Ddefines.h870 # define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) macro
/dragonfly/gnu/usr.bin/grep/libgreputils/
H A Dunistd.h1248 # undef getgroups
1249 # define getgroups rpl_getgroups
1251 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
1252 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
1255 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups));
1257 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups));
1259 _GL_CXXALIASWARN (getgroups);
1261 # undef getgroups
1263 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
/dragonfly/usr.bin/id/
H A Did.c232 if ((ngroups = getgroups(NGROUPS, groups))) { in current()
287 ngroups = getgroups(NGROUPS, groups + 1) + 1; in group()
/dragonfly/contrib/openpam/lib/libpam/
H A Dopenpam_borrow_cred.c86 r = getgroups(NGROUPS_MAX, scred->groups); in openpam_borrow_cred()
/dragonfly/usr.bin/quota/
H A Dquota.c134 ngroups = getgroups(NGROUPS, gidset); in main()
237 ngroups = getgroups(NGROUPS, gidset); in showgid()
270 ngroups = getgroups(NGROUPS, gidset); in showgrpname()
/dragonfly/usr.sbin/chown/
H A Dchown.c281 ngroups = getgroups(ngroups_max, groups); in chownerr()
/dragonfly/usr.bin/newgrp/
H A Dnewgrp.c191 if ((ngrps = getgroups(NGROUPS_MAX, (gid_t *)grps)) < 0) { in addgroup()
/dragonfly/contrib/cvs-1.12/src/
H A Dadmin.c457 n = getgroups (0, NULL); in admin()
461 n = getgroups (n, grps); in admin()
/dragonfly/usr.sbin/lpr/lpc/
H A Dlpc.c353 ngroups = getgroups(NGROUPS, groups); in ingroup()
/dragonfly/lib/libc/rpc/
H A Dauth_unix.c189 if ((len = getgroups(NGROUPS_MAX, gids)) < 0) in authunix_create_default()
/dragonfly/contrib/tcsh-6/
H A Dsh.exp.c158 n = getgroups(0, (GETGROUPS_T *) NULL); in sh_access()
162 n = getgroups((int) n, groups); in sh_access()
H A Dtc.prompt.c218 gcnt = getgroups(NGROUPS_MAX, grps); in tprintf()
/dragonfly/include/
H A Dunistd.h397 int getgroups(int, gid_t []);
/dragonfly/sys/sys/
H A Dsysunion.h77 struct getgroups_args getgroups; member
H A Dsyscall.mk68 getgroups.o \
/dragonfly/lib/libc/sys/
H A DMakefile.inc70 getfh.2 getfsstat.2 getgid.2 getgroups.2 getitimer.2 getlogin.2 \
H A DSymbol.map100 getgroups;
/dragonfly/bin/cpdup/
H A Dhcproto.c1978 if ((count = getgroups(0, *gidlist)) > 0) { in getmygroups()
1980 if ((count = getgroups(count, *gidlist)) <= 0) in getmygroups()
/dragonfly/gnu/usr.bin/cvs/lib/
H A Dconfig.h.proto323 /* Define to 1 if you have the `getgroups' function. */