Lines Matching refs:sysctl
25 * Testcase to check that sysctl(2) sets errno to EPERM correctly.
28 * a. Call sysctl(2) as a root user, and attempt to write data
31 * b. Call sysctl(2) as a non-root user, and attempt to write data
36 * behavior of sysctl(2) isn't properly documented, as discussed in detail in
70 #include <linux/sysctl.h>
80 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
126 TEST(sysctl(name, ARRAY_SIZE(name), 0, 0, osname, osnamelth));
129 tst_resm(TFAIL, "sysctl(2) succeeded unexpectedly");
159 TEST(sysctl(name, ARRAY_SIZE(name), 0, 0, osname, osnamelth));
213 "This test needs a kernel that has sysctl syscall.");