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

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

#ifdef __NR_setfsuid32

# define SYSCALL_NR	__NR_setfsuid32
# define SYSCALL_NAME	"setfsuid32"
# define UGID_TYPE	int
# define GETUGID	geteuid()
# include "setfsugid.c"

#else

SKIP_MAIN_UNDEFINED("__NR_setfsuid32")

#endif