C++程序  |  22行  |  350 B

#include "tests.h"
#include <asm/unistd.h>

#ifdef __NR_getresgid

# define SYSCALL_NR	__NR_getresgid
# define SYSCALL_NAME	"getresgid"

# if defined __NR_getresgid32 && __NR_getresgid != __NR_getresgid32
#  define UGID_TYPE	short
# else
#  define UGID_TYPE	int
# endif

# include "getresugid.c"

#else

SKIP_MAIN_UNDEFINED("__NR_getresgid")

#endif