Dmitry V. Levin
2def3d4a04
* tests/setfsuid32.c: New file. * tests/setfsuid32.test: New test. * tests/.gitignore: Add setfsuid32. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add setfsuid32.test.
17 lines
269 B
C
17 lines
269 B
C
#include "tests.h"
|
|
#include <sys/syscall.h>
|
|
|
|
#ifdef __NR_setfsuid32
|
|
|
|
# define SYSCALL_NR __NR_setfsuid32
|
|
# define SYSCALL_NAME "setfsuid32"
|
|
# define UGID_TYPE int
|
|
# define GETUGID geteuid()
|
|
# include "setfsugid.c"
|
|
|
|
#else
|
|
|
|
SKIP_MAIN_UNDEFINED("__NR_setfsuid32")
|
|
|
|
#endif
|