You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
291 B
18 lines
291 B
4 months ago
|
#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
|