/external/openssh/ |
D | uidswap.c | 95 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()
|
D | defines.h | 806 # define getgroups(a,b) ((a)==0 && (b)==NULL ? NGROUPS_MAX : getgroups((a),(b))) macro
|
/external/minijail/examples/ |
D | drop_privs.cpp | 35 int nsupp_groups = getgroups(0, NULL); in log_resugid() 45 nsupp_groups = getgroups(nsupp_groups, list); in log_resugid()
|
/external/bison/lib/ |
D | unistd.in.h | 687 # 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/ |
D | libminijail_test.cpp | 31 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/ |
D | unistd.h | 999 # 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/ |
D | unistd.h | 999 # 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/ |
D | s390.in | 264 getgroups 80 314 getgroups 205
|
D | s390x.in | 264 getgroups 80 314 getgroups 205
|
D | aarch64.in | 160 getgroups 158
|
D | ia64.in | 54 getgroups 1077
|
D | x86_64.in | 116 getgroups 115
|
D | sparc.in | 80 getgroups 79
|
D | sparc64.in | 71 getgroups 79
|
D | i386.in | 81 getgroups 80
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/ |
D | tirpc_authsys_create.c | 54 len = getgroups(NGRPS, aup_gids); in main()
|
/external/ltp/testcases/kernel/syscalls/ |
D | .gitignore | 315 /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
|
D | Makefile | 39 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_auth_authunix_create/ |
D | rpc_authunix_create.c | 69 num_groups = getgroups(NGROUPS_MAX, groups); in main()
|
/external/valgrind/coregrind/ |
D | pub_core_libcproc.h | 82 extern Int VG_(getgroups)( Int size, UInt* list );
|
/external/python/cpython2/Lib/test/ |
D | test_posix.py | 347 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/ |
D | quickhit | 142 # 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/ |
D | compat_16.h | 82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
|
/external/toybox/toys/posix/ |
D | id.c | 132 : getgroups(i, groups); in do_id()
|
/external/strace/ |
D | uid.c | 194 SYS_FUNC(getgroups) in SYS_FUNC() argument
|