Home
last modified time | relevance | path

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

123

/titanic_41/usr/src/lib/libast/common/comp/
H A Dgetgroups.c26 #if !defined(getgroups) && defined(_lib_getgroups)
28 NoN(getgroups)
34 #if defined(getgroups)
35 #undef getgroups
38 extern int getgroups(int, int*);
40 #define ast_getgroups getgroups
68 len = getgroups(len > NGROUPS_MAX ? NGROUPS_MAX : len, big);
H A Deaccess.c111 if ((ngroups = getgroups(0, (gid_t*)0)) <= 0)
116 ngroups = getgroups(ngroups, groups);
/titanic_41/usr/src/lib/libast/common/features/
H A Dbotch.c36 extern int getgroups(int, gid_t*);
51 if ((n = getgroups((sizeof(groups) / sizeof(groups[0])) / r, groups)) > 0) in main()
55 if (getgroups(i, groups) != i) in main()
60 if (getgroups(i, groups) != i) in main()
/titanic_41/usr/src/lib/libc/common/sys/
H A Dgetgroups.s37 ANSI_PRAGMA_WEAK(getgroups,function)
41 SYSCALL_RVAL1(getgroups)
43 SET_SIZE(getgroups)
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c174 int maxgrp = getgroups(0, NULL); in authsys_create_default()
184 if ((len = getgroups(maxgrp, gids)) < 0) { in authsys_create_default()
209 int maxgrp = getgroups(0, NULL); in authsys_create_ruid()
221 if ((len = getgroups(maxgrp, gids)) < 0) { in authsys_create_ruid()
/titanic_41/usr/src/lib/libbsm/common/
H A Daudit_allocate.c132 int maxgrp = getgroups(0, NULL);
136 if ((ng = getgroups(maxgrp, grplst)) < 0) {
H A Dgeneric.c423 int maxgrp = getgroups(0, NULL); in aug_audit()
426 if ((ng = getgroups(maxgrp, grplst)) > 0) { in aug_audit()
/titanic_41/usr/src/cmd/id/
H A Did.c175 i = getgroups(groupmax, groupids); in main()
201 i = getgroups(groupmax, groupids); in main()
237 i = getgroups(groupmax, groupids); in main()
/titanic_41/usr/src/lib/libbc/libc/sys/sys5/
H A Dgetgroups.c40 getgroups(int gidsetsize, gid_t grouplist[]) in getgroups() function
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Duidswap.c89 saved_egroupslen = getgroups(ngroups_max, saved_egroups); in temporarily_use_uid()
98 user_groupslen = getgroups(ngroups_max, user_groups); in temporarily_use_uid()
/titanic_41/usr/src/cmd/smserverd/
H A Dmyaudit.c218 int maxgrp = getgroups(0, NULL); in audit_audit()
221 if ((ng = getgroups(maxgrp, grplst))) { in audit_audit()
/titanic_41/usr/src/ucbcmd/groups/
H A Dgroups.c49 ngroups = getgroups(maxgrp, groups); in main()
/titanic_41/usr/src/cmd/print/lpset/
H A Dlpset.c73 maxgrp = getgroups(0, NULL); in authorized()
76 if ((len = getgroups(maxgrp, list)) != -1) in authorized()
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dunistd.h129 extern int getgroups(int, gid_t []);
/titanic_41/usr/src/man/man2/
H A DMakefile58 getgroups.2 \
321 setgroups.2 := LINKSRC = getgroups.2
/titanic_41/usr/src/uts/common/syscall/
H A Dgroups.c130 getgroups(int gidsetsize, gid_t *gidset) in getgroups() function
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c319 if((maxgroups=getgroups(0,groups)) < 0) in eaccess()
326 n = getgroups(maxgroups,groups); in eaccess()
/titanic_41/usr/src/lib/libcmd/common/
H A Did.c232 if ((maxgroups = getgroups(0, groups)) <= 0) in getids()
237 ngroups = getgroups(maxgroups, groups); in getids()
/titanic_41/usr/src/uts/intel/os/
H A Dname_to_sysnum87 getgroups 92
/titanic_41/usr/src/uts/sparc/os/
H A Dname_to_sysnum86 getgroups 92
/titanic_41/usr/src/ucbcmd/sbcp/
H A Dsyscalls.list103 getgroups SIMPLE /* 79 = 2, getgroups */
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dtest.c611 if((maxgroups=getgroups(0,(gid_t*)0)) <= 0) in sh_access()
618 n = getgroups(maxgroups,groups); in sh_access()
/titanic_41/usr/src/lib/libsys/i386/
H A Dlibsys.list40 f 1 getgroups
/titanic_41/usr/src/lib/libsys/sparc/
H A Dlibsys.list40 f 1 getgroups
/titanic_41/usr/src/lib/libsocket/inet/
H A Drcmd.c567 int maxgrp = getgroups(0, NULL); in ruserok()
608 if ((ngroups = getgroups(maxgrp, grouplist)) == -1) in ruserok()

123