Home | History | Annotate | Download | only in sysctl

Lines Matching defs:sysctl

25  *	Testcase to check that sysctl(2) sets errno to EFAULT
28 * 1. Call sysctl(2) with the address of sc_oldname outside the address
30 * 2. Call sysctl(2) with the address of sc_oldval outside the address
53 #include <linux/sysctl.h>
64 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
120 TEST(sysctl(testcases[i].name, testcases[i].size,
125 tst_resm(TFAIL, "sysctl(2) returned unexpected "
136 tst_resm(TFAIL, "sysctl(2) returned unexpected "
140 tst_resm(TPASS, "sysctl(2) set errno correctly "
191 "This test needs a kernel that has sysctl syscall.");