Searched refs:getgroups (Results 1 – 25 of 126) sorted by relevance
123456
/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/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/include/lapi/syscalls/ |
D | s390x.in | 263 getgroups 80 313 getgroups 205
|
D | s390.in | 263 getgroups 80 313 getgroups 205
|
D | aarch64.in | 160 getgroups 158
|
D | ia64.in | 54 getgroups 1077
|
D | sparc64.in | 71 getgroups 79
|
D | x86_64.in | 116 getgroups 115
|
D | i386.in | 81 getgroups 80
|
D | powerpc.in | 81 getgroups 80
|
D | sparc.in | 80 getgroups 79
|
D | powerpc64.in | 81 getgroups 80
|
D | sh.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/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/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/ltp/testcases/kernel/syscalls/ |
D | Makefile | 39 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
|
/external/ltp/runtest/ |
D | quickhit | 140 # 1. Check to see if getgroups(-1, gidset) fails and sets errno to EINVAL 141 # 2. Check to see if getgroups(0, gidset) does not return -1 and gidset is 143 # 3. Check to see if getgroups(x, gigset) fails and sets errno to EINVAL, 144 # where x is one less then what is returned by getgroups(0, gidset). 145 # 4. Check to see if getgroups() succeeds and gidset contains
|
/external/ltp/testcases/kernel/syscalls/utils/ |
D | compat_tst_16.h | 81 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
|
D | compat_16.h | 84 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
|
/external/strace/ |
D | uid.c | 195 SYS_FUNC(getgroups) in SYS_FUNC() argument
|
/external/toybox/toys/posix/ |
D | id.c | 132 : getgroups(i, groups); in do_id()
|
/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
D | clang-fortify-tests.cpp | 378 EXPECT_DEATH(getgroups(3, gids)); in TestUnistd() 425 EXPECT_DEATH_STRUCT(getgroups(3, split_gids.tiny_buffer)); in TestUnistd()
|
123456