Dmitry V. Levin | 4ccdbd6 | 2016-04-15 23:03:29 +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 | 4ccdbd6 | 2016-04-15 23:03:29 +0000 | [diff] [blame] | 3 | |
4 | #ifdef __NR_chown | ||||
5 | |||||
6 | # define SYSCALL_NR __NR_chown | ||||
7 | # define SYSCALL_NAME "chown" | ||||
8 | |||||
9 | # if defined __NR_chown32 && __NR_chown != __NR_chown32 | ||||
10 | # define UGID_TYPE_IS_SHORT | ||||
11 | # endif | ||||
12 | |||||
13 | # include "xchownx.c" | ||||
14 | |||||
15 | #else | ||||
16 | |||||
17 | SKIP_MAIN_UNDEFINED("__NR_chown") | ||||
18 | |||||
19 | #endif |