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