Home
last modified time | relevance | path

Searched refs:gidsetsize (Results 1 – 8 of 8) 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.h74 int SETGROUPS(size_t gidsetsize, GID_T *list) in SETGROUPS() argument
76 TST_CREATE_SYSCALL(setgroups, gidsetsize, list); in SETGROUPS()
79 int GETGROUPS(size_t gidsetsize, GID_T *list) in GETGROUPS() argument
81 TST_CREATE_SYSCALL(getgroups, gidsetsize, list); in GETGROUPS()
Dcompat_16.h77 int SETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list) in SETGROUPS() argument
79 LTP_CREATE_SYSCALL(setgroups, cleanup, gidsetsize, list); in SETGROUPS()
82 int GETGROUPS(void (cleanup)(void), size_t gidsetsize, GID_T *list) in GETGROUPS() argument
84 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/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,