18 lines
301 B
C
18 lines
301 B
C
|
#include "tests.h"
|
||
|
#include <asm/unistd.h>
|
||
|
|
||
|
#ifdef __NR_setregid32
|
||
|
|
||
|
# define SYSCALL_NR __NR_setregid32
|
||
|
# define SYSCALL_NAME "setregid32"
|
||
|
# define UGID_TYPE int
|
||
|
# define GETUGID getegid()
|
||
|
# define CHECK_OVERFLOWUGID(arg)
|
||
|
# include "setreugid.c"
|
||
|
|
||
|
#else
|
||
|
|
||
|
SKIP_MAIN_UNDEFINED("__NR_setregid32")
|
||
|
|
||
|
#endif
|