summaryrefslogtreecommitdiff
path: root/tests/setgid32.c
blob: ac695e18c29f1ee2bd895878002eac1cebae541f (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_setgid32

# define SYSCALL_NR	__NR_setgid32
# define SYSCALL_NAME	"setgid32"
# define UGID_TYPE	int
# define GETUGID	getegid()
# define CHECK_OVERFLOWUGID(arg)
# include "setugid.c"

#else

SKIP_MAIN_UNDEFINED("__NR_setgid32")

#endif