Dmitry V. Levin | 2b42d8e | 2016-04-18 15:19:27 +0000 | [diff] [blame] | 1 | #include "tests.h" |
2 | #include <sys/syscall.h> | ||||
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 |