Home
last modified time | relevance | path

Searched refs:gidsetsize (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/syscalls/setgroups/
Dsetgroups03.c108 int gidsetsize; /* total no. of groups */ in main() local
132 gidsetsize = ngroups_max + Test_cases[i].gsize_add; in main()
140 TEST(SETGROUPS(cleanup, gidsetsize, groups_list)); in main()
144 "expected -1, errno=%d", gidsetsize, in main()
152 gidsetsize, test_desc, TEST_ERRNO); in main()
156 gidsetsize, test_desc, TEST_ERRNO, in main()
Dsetgroups02.c91 int gidsetsize = 1; /* only one GID, the GID of TESTUSER */ in main() local
106 TEST(SETGROUPS(cleanup, gidsetsize, groups_list)); in main()
110 "errno=%d : %s", gidsetsize, TEST_ERRNO, in main()
121 if (GETGROUPS(cleanup, gidsetsize, groups_list) < 0) { in main()
130 gidsetsize); in main()
Dsetgroups04.c88 int gidsetsize; /* total no. of groups */ in main() local
100 gidsetsize = NGROUPS; in main()
108 TEST(SETGROUPS(cleanup, gidsetsize, sbrk(0))); in main()
/external/ltp/testcases/kernel/syscalls/utils/
Dcompat_tst_16.h72 int SETGROUPS(size_t gidsetsize, GID_T *list) in SETGROUPS() argument
74 TST_CREATE_SYSCALL(setgroups, gidsetsize, list); in SETGROUPS()
77 int GETGROUPS(size_t gidsetsize, GID_T *list) in GETGROUPS() argument
79 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
Dcompat_16.h75 int SETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list) in SETGROUPS() argument
77 LTP_CREATE_SYSCALL(setgroups, cleanup, gidsetsize, list); in SETGROUPS()
80 int GETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list) in GETGROUPS() argument
82 LTP_CREATE_SYSCALL(getgroups, cleanup, gidsetsize, list); in GETGROUPS()
/external/ltp/testcases/kernel/syscalls/getgroups/
Dgetgroups03.c61 int gidsetsize = NGROUPS; in main() local
71 TEST(GETGROUPS(cleanup, gidsetsize, groups_list)); in main()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h100 #define __sanitizer_syscall_pre_getgroups(gidsetsize, grouplist) \ argument
101 __sanitizer_syscall_pre_impl_getgroups((long)(gidsetsize), (long)(grouplist))
102 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, grouplist) \ argument
103 __sanitizer_syscall_post_impl_getgroups(res, (long)(gidsetsize), \
148 #define __sanitizer_syscall_pre_setgroups(gidsetsize, grouplist) \ argument
149 __sanitizer_syscall_pre_impl_setgroups((long)(gidsetsize), (long)(grouplist))
150 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, grouplist) \ argument
151 __sanitizer_syscall_post_impl_setgroups(res, (long)(gidsetsize), \
902 #define __sanitizer_syscall_pre_getgroups16(gidsetsize, grouplist) \ argument
903 __sanitizer_syscall_pre_impl_getgroups16((long)(gidsetsize), \
[all …]
/external/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h99 #define __sanitizer_syscall_pre_getgroups(gidsetsize, grouplist) \ argument
100 __sanitizer_syscall_pre_impl_getgroups((long)(gidsetsize), (long)(grouplist))
101 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, grouplist) \ argument
102 __sanitizer_syscall_post_impl_getgroups(res, (long)(gidsetsize), \
147 #define __sanitizer_syscall_pre_setgroups(gidsetsize, grouplist) \ argument
148 __sanitizer_syscall_pre_impl_setgroups((long)(gidsetsize), (long)(grouplist))
149 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, grouplist) \ argument
150 __sanitizer_syscall_post_impl_setgroups(res, (long)(gidsetsize), \
901 #define __sanitizer_syscall_pre_getgroups16(gidsetsize, grouplist) \ argument
902 __sanitizer_syscall_pre_impl_getgroups16((long)(gidsetsize), \
[all …]
Dnetbsd_syscall_hooks.h417 #define __sanitizer_syscall_pre_getgroups(gidsetsize, gidset) \ argument
418 __sanitizer_syscall_pre_impl_getgroups((long long)(gidsetsize), \
420 #define __sanitizer_syscall_post_getgroups(res, gidsetsize, gidset) \ argument
421 __sanitizer_syscall_post_impl_getgroups(res, (long long)(gidsetsize), \
423 #define __sanitizer_syscall_pre_setgroups(gidsetsize, gidset) \ argument
424 __sanitizer_syscall_pre_impl_setgroups((long long)(gidsetsize), \
426 #define __sanitizer_syscall_post_setgroups(res, gidsetsize, gidset) \ argument
427 __sanitizer_syscall_post_impl_setgroups(res, (long long)(gidsetsize), \
3148 void __sanitizer_syscall_pre_impl_getgroups(long long gidsetsize,
3151 long long gidsetsize,
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc328 PRE_SYSCALL(getgroups)(long gidsetsize, void *grouplist) {}
330 POST_SYSCALL(getgroups)(long res, long gidsetsize,
377 PRE_SYSCALL(setgroups)(long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {
378 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
381 POST_SYSCALL(setgroups)(long res, long gidsetsize,
1521 PRE_SYSCALL(getgroups16)(long gidsetsize,
1524 POST_SYSCALL(getgroups16)(long res, long gidsetsize,
1531 PRE_SYSCALL(setgroups16)(long gidsetsize,
1533 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
1536 POST_SYSCALL(setgroups16)(long res, long gidsetsize,
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc327 PRE_SYSCALL(getgroups)(long gidsetsize, void *grouplist) {}
329 POST_SYSCALL(getgroups)(long res, long gidsetsize,
376 PRE_SYSCALL(setgroups)(long gidsetsize, __sanitizer___kernel_gid_t *grouplist) {
377 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
380 POST_SYSCALL(setgroups)(long res, long gidsetsize,
1520 PRE_SYSCALL(getgroups16)(long gidsetsize,
1523 POST_SYSCALL(getgroups16)(long res, long gidsetsize,
1530 PRE_SYSCALL(setgroups16)(long gidsetsize,
1532 if (grouplist) POST_WRITE(grouplist, gidsetsize * sizeof(*grouplist));
1535 POST_SYSCALL(setgroups16)(long res, long gidsetsize,
/external/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi8656 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
8763 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
8769 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
10221 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
10227 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
10232 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
10238 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
/external/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi14162 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
14355 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
14366 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
17021 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
17032 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
17041 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…
17052 …<parameter type-id='type-id-45' name='gidsetsize' filepath='../../.././libsanitizer/sanitizer_comm…