Searched refs:getgroups (Results 1 – 25 of 116) sorted by relevance
12345
/external/openssh/ |
D | uidswap.c | 101 saved_egroupslen = getgroups(0, NULL); in temporarily_use_uid() 107 if (getgroups(saved_egroupslen, saved_egroups) == -1) in temporarily_use_uid() 120 user_groupslen = getgroups(0, NULL); in temporarily_use_uid() 126 if (getgroups(user_groupslen, user_groups) == -1) in temporarily_use_uid()
|
D | defines.h | 829 # 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/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/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/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/ltp/include/lapi/syscalls/ |
D | s390.in | 263 getgroups 80 313 getgroups 205
|
D | s390x.in | 263 getgroups 80 312 getgroups 205
|
D | aarch64.in | 160 getgroups 158
|
D | mips_n64.in | 114 getgroups 113
|
D | ia64.in | 54 getgroups 1077
|
D | x86_64.in | 116 getgroups 115
|
D | sparc64.in | 71 getgroups 79
|
D | powerpc.in | 81 getgroups 80
|
D | mips_n32.in | 114 getgroups 113
|
D | i386.in | 81 getgroups 80
|
/external/ltp/testcases/kernel/syscalls/ |
D | Makefile | 39 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
|
/external/ltp/runtest/ |
D | quickhit | 123 # 1. Check to see if getgroups(-1, gidset) fails and sets errno to EINVAL 124 # 2. Check to see if getgroups(0, gidset) does not return -1 and gidset is 126 # 3. Check to see if getgroups(x, gigset) fails and sets errno to EINVAL, 127 # where x is one less then what is returned by getgroups(0, gidset). 128 # 4. Check to see if getgroups() succeeds and gidset contains
|
/external/python/cpython2/Lib/test/ |
D | test_posix.py | 352 if 0 not in os.getgroups(): 592 set(posix.getgroups() + [posix.getegid()])) 645 self.saved_groups = posix.getgroups() 662 self.assertIn(g, posix.getgroups()) 669 self.assertListEqual(groups, posix.getgroups())
|
/external/adhd/sound_card_init/seccomp/ |
D | sound_card_init-seccomp-amd64.policy | 29 getgroups: 1
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_tst_16.h | 79 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
|
D | compat_16.h | 82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
|
/external/perfetto/tools/ |
D | run_test_like_ci | 50 return group.gr_gid in os.getgroups()
|
/external/toybox/toys/posix/ |
D | id.c | 114 : getgroups(i, groups); in do_id()
|
/external/strace/ |
D | uid.c | 195 SYS_FUNC(getgroups) in SYS_FUNC() argument
|
12345