summaryrefslogtreecommitdiff
path: root/tests/setresuid32.c
blob: a8201810634242e62ecd5325540e647d4cf7b95e (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
/*
 * 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_setresuid32

# define SYSCALL_NR	__NR_setresuid32
# define SYSCALL_NAME	"setresuid32"
# define UGID_TYPE	int
# define GETUGID	geteuid()
# define CHECK_OVERFLOWUGID(arg)
# include "setresugid.c"

#else

SKIP_MAIN_UNDEFINED("__NR_setresuid32")

#endif