Dmitry V. Levin
fa7c988bd9
* tests/setresgid32.c: New file. * tests/setresgid32.test: New test. * tests/.gitignore: Add setresgid32. * tests/Makefile.am (check_PROGRAMS): Likewise. (DECODER_TESTS): Add setresgid32.test.
18 lines
307 B
C
18 lines
307 B
C
#include "tests.h"
|
|
#include <sys/syscall.h>
|
|
|
|
#ifdef __NR_setresgid32
|
|
|
|
# define SYSCALL_NR __NR_setresgid32
|
|
# define SYSCALL_NAME "setresgid32"
|
|
# define UGID_TYPE int
|
|
# define GETUGID getegid()
|
|
# define CHECK_OVERFLOWUGID(arg)
|
|
# include "setresugid.c"
|
|
|
|
#else
|
|
|
|
SKIP_MAIN_UNDEFINED("__NR_setresgid32")
|
|
|
|
#endif
|