1 #include "tests.h"
2 #include <asm/unistd.h>
3 
4 #ifdef __NR_fchown
5 
6 # define SYSCALL_NR __NR_fchown
7 # define SYSCALL_NAME "fchown"
8 # define ACCESS_BY_DESCRIPTOR
9 
10 # if defined __NR_fchown32 && __NR_fchown != __NR_fchown32
11 #  define UGID_TYPE_IS_SHORT
12 # endif
13 
14 # include "xchownx.c"
15 
16 #else
17 
18 SKIP_MAIN_UNDEFINED("__NR_fchown")
19 
20 #endif
21