Lines Matching refs:syscall
9 * Basic test for syscall().
14 #include <sys/syscall.h>
25 p2 = syscall(SYS_getpid);
28 tst_res(TPASS, "getpid() == syscall(SYS_getpid)");
30 tst_res(TFAIL, "getpid() = %i, syscall(SYS_getpid) = %i",
41 u2 = syscall(SYS_getuid32);
43 u2 = syscall(SYS_getuid);
47 tst_res(TPASS, "getuid() == syscall(SYS_getuid)");
49 tst_res(TFAIL, "getuid() = %i, syscall(SYS_getuid) = %i",
60 g2 = syscall(SYS_getgid32);
62 g2 = syscall(SYS_getgid);
66 tst_res(TPASS, "getgid() == syscall(SYS_getgid)");
68 tst_res(TFAIL, "getgid() = %i, syscall(SYS_getgid) = %i",