Dmitry V. Levin | 2b42d8e | 2016-04-18 15:19:27 +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 | 2b42d8e | 2016-04-18 15:19:27 +0000 | [diff] [blame] | 3 | |
4 | #ifdef __NR_setresuid32 | ||||
5 | |||||
6 | # define SYSCALL_NR __NR_setresuid32 | ||||
7 | # define SYSCALL_NAME "setresuid32" | ||||
8 | # define UGID_TYPE int | ||||
9 | # define GETUGID geteuid() | ||||
10 | # define CHECK_OVERFLOWUGID(arg) | ||||
11 | # include "setresugid.c" | ||||
12 | |||||
13 | #else | ||||
14 | |||||
15 | SKIP_MAIN_UNDEFINED("__NR_setresuid32") | ||||
16 | |||||
17 | #endif |