Home
last modified time | relevance | path

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

1234

/external/openssh/
Duidswap.c95 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid()
101 if (getgroups(saved_egroupslen, saved_egroups) < 0) in temporarily_use_uid()
113 user_groupslen = getgroups(0, NULL); in temporarily_use_uid()
119 if (getgroups(user_groupslen, user_groups) < 0) in temporarily_use_uid()
Ddefines.h806 # define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) macro
/external/minijail/examples/
Ddrop_privs.cpp35 int nsupp_groups = getgroups(0, NULL); in log_resugid()
45 nsupp_groups = getgroups(nsupp_groups, list); in log_resugid()
/external/bison/lib/
Dunistd.in.h687 # undef getgroups
688 # define getgroups rpl_getgroups
690 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
691 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
694 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups));
696 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups));
698 _GL_CXXALIASWARN (getgroups);
700 # undef getgroups
702 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
/external/minijail/test/
Dlibminijail_test.cpp31 int nsupp_groups = getgroups(0, NULL); in getgroups_with_alloc()
42 nsupp_groups = getgroups(nsupp_groups, *plist); in getgroups_with_alloc()
/external/bison/linux-lib/
Dunistd.h999 # undef getgroups
1000 # define getgroups rpl_getgroups
1002 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
1003 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
1006 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups));
1008 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups));
1010 _GL_CXXALIASWARN (getgroups);
1012 # undef getgroups
1014 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
/external/bison/darwin-lib/
Dunistd.h999 # undef getgroups
1000 # define getgroups rpl_getgroups
1002 _GL_FUNCDECL_RPL (getgroups, int, (int n, gid_t *groups));
1003 _GL_CXXALIAS_RPL (getgroups, int, (int n, gid_t *groups));
1006 _GL_FUNCDECL_SYS (getgroups, int, (int n, gid_t *groups));
1008 _GL_CXXALIAS_SYS (getgroups, int, (int n, gid_t *groups));
1010 _GL_CXXALIASWARN (getgroups);
1012 # undef getgroups
1014 _GL_WARN_ON_USE (getgroups, "getgroups is unportable - "
/external/ltp/testcases/kernel/include/
Ds390.in264 getgroups 80
314 getgroups 205
Ds390x.in264 getgroups 80
314 getgroups 205
Daarch64.in160 getgroups 158
Dia64.in54 getgroups 1077
Dx86_64.in116 getgroups 115
Dsparc.in80 getgroups 79
Dsparc64.in71 getgroups 79
Di386.in81 getgroups 80
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/
Dtirpc_authsys_create.c54 len = getgroups(NGRPS, aup_gids); in main()
/external/ltp/testcases/kernel/syscalls/
D.gitignore315 /getgroups/getgroups01
316 /getgroups/getgroups01_16
317 /getgroups/getgroups02
318 /getgroups/getgroups02_16
319 /getgroups/getgroups03
320 /getgroups/getgroups03_16
321 /getgroups/getgroups04
322 /getgroups/getgroups04_16
DMakefile39 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/
Drpc_authunix_create.c69 num_groups = getgroups(NGROUPS_MAX, groups); in main()
/external/valgrind/coregrind/
Dpub_core_libcproc.h82 extern Int VG_(getgroups)( Int size, UInt* list );
/external/python/cpython2/Lib/test/
Dtest_posix.py347 if 0 not in os.getgroups():
578 set(posix.getgroups() + [posix.getegid()]))
631 self.saved_groups = posix.getgroups()
648 self.assertIn(g, posix.getgroups())
655 self.assertListEqual(groups, posix.getgroups())
/external/ltp/runtest/
Dquickhit142 # 1. Check to see if getgroups(-1, gidset) fails and sets errno to EINVAL
143 # 2. Check to see if getgroups(0, gidset) does not return -1 and gidset is
145 # 3. Check to see if getgroups(x, gigset) fails and sets errno to EINVAL,
146 # where x is one less then what is returned by getgroups(0, gidset).
147 # 4. Check to see if getgroups() succeeds and gidset contains
/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_16.h82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
/external/toybox/toys/posix/
Did.c132 : getgroups(i, groups); in do_id()
/external/strace/
Duid.c194 SYS_FUNC(getgroups) in SYS_FUNC() argument

1234