summaryrefslogtreecommitdiff
path: root/tests/chown.c
blob: 4b6daea0ed83763b7ba413e292bb3d3cfff0e8cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2016-2019 The strace developers.
 * All rights reserved.
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#include "tests.h"
#include "scno.h"

#ifdef __NR_chown

# define SYSCALL_NR __NR_chown
# define SYSCALL_NAME "chown"

# if defined __NR_chown32 && __NR_chown != __NR_chown32
#  define UGID_TYPE_IS_SHORT
# endif

# include "xchownx.c"

#else

SKIP_MAIN_UNDEFINED("__NR_chown")

#endif