summaryrefslogtreecommitdiff
path: root/tests/setuid32.c
blob: c837d547c006efe31566e311f03aa90fc8d03c2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "tests.h"
#include <asm/unistd.h>

#ifdef __NR_setuid32

# define SYSCALL_NR	__NR_setuid32
# define SYSCALL_NAME	"setuid32"
# define UGID_TYPE	int
# define GETUGID	geteuid()
# define CHECK_OVERFLOWUGID(arg)
# include "setugid.c"

#else

SKIP_MAIN_UNDEFINED("__NR_setuid32")

#endif