strace/tests/setfsgid32.c
Dmitry V. Levin f184989593 tests: check decoding of setfsgid32 syscall
* 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.
2016-04-20 01:08:13 +00:00

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