blob: 387268a7f0e96bde67e8c8ea204d6ba8ebf1e9ec [file] [log] [blame]
Dmitry V. Levin2b42d8e2016-04-18 15:19:27 +00001#include "tests.h"
Dmitry V. Levin6a2f43c2016-08-09 14:38:29 +00002#include <asm/unistd.h>
Dmitry V. Levin2b42d8e2016-04-18 15:19:27 +00003
4#ifdef __NR_setresuid32
5
6# define SYSCALL_NR __NR_setresuid32
7# define SYSCALL_NAME "setresuid32"
8# define UGID_TYPE int
9# define GETUGID geteuid()
10# define CHECK_OVERFLOWUGID(arg)
11# include "setresugid.c"
12
13#else
14
15SKIP_MAIN_UNDEFINED("__NR_setresuid32")
16
17#endif