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