Dmitry V. Levin | 619a96a | 2016-04-18 14:36:42 +0000 | [diff] [blame] | 1 | #include "tests.h" |
Dmitry V. Levin | 6a2f43c | 2016-08-09 14:38:29 +0000 | [diff] [blame] | 2 | #include <asm/unistd.h> |
Dmitry V. Levin | 619a96a | 2016-04-18 14:36:42 +0000 | [diff] [blame] | 3 | |
4 | #ifdef __NR_setreuid32 | ||||
5 | |||||
6 | # define SYSCALL_NR __NR_setreuid32 | ||||
7 | # define SYSCALL_NAME "setreuid32" | ||||
8 | # define UGID_TYPE int | ||||
9 | # define GETUGID geteuid() | ||||
10 | # define CHECK_OVERFLOWUGID(arg) | ||||
11 | # include "setreugid.c" | ||||
12 | |||||
13 | #else | ||||
14 | |||||
15 | SKIP_MAIN_UNDEFINED("__NR_setreuid32") | ||||
16 | |||||
17 | #endif |