18 lines
292 B
C
18 lines
292 B
C
|
#include "tests.h"
|
||
|
#include <sys/syscall.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
|