Home
last modified time | relevance | path

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

123456

/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/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/ltp/include/lapi/syscalls/
Ds390x.in263 getgroups 80
313 getgroups 205
Ds390.in263 getgroups 80
313 getgroups 205
Daarch64.in160 getgroups 158
Dia64.in54 getgroups 1077
Dsparc64.in71 getgroups 79
Dx86_64.in116 getgroups 115
Di386.in81 getgroups 80
Dpowerpc.in81 getgroups 80
Dsparc.in80 getgroups 79
Dpowerpc64.in81 getgroups 80
Dsh.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/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/python/cpython2/Lib/test/
Dtest_posix.py352 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/
DMakefile39 getdomainname getdtablesize gethostid getgroups get_mempolicy ipc \
/external/ltp/runtest/
Dquickhit140 # 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/
Dcompat_tst_16.h81 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
Dcompat_16.h84 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
/external/strace/
Duid.c195 SYS_FUNC(getgroups) in SYS_FUNC() argument
/external/toybox/toys/posix/
Did.c132 : getgroups(i, groups); in do_id()
/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp378 EXPECT_DEATH(getgroups(3, gids)); in TestUnistd()
425 EXPECT_DEATH_STRUCT(getgroups(3, split_gids.tiny_buffer)); in TestUnistd()

123456