Lines Matching defs:asroot
59 priv_sysctl_write_setup(int asroot, int injail, struct test *test)
86 priv_sysctl_write(int asroot, int injail, struct test *test)
92 if (asroot && injail)
93 expect("priv_sysctl_write(asroot, injail)", error, -1,
95 if (asroot && !injail)
96 expect("priv_sysctl_write(asroot, !injail)", error, 0, 0);
97 if (!asroot && injail)
98 expect("priv_sysctl_write(!asroot, injail)", error, -1,
100 if (!asroot && !injail)
101 expect("priv_sysctl_write(!asroot, !injail)", error, -1,
106 priv_sysctl_writejail(int asroot, int injail, struct test *test)
112 if (asroot && injail)
113 expect("priv_sysctl_writejail(asroot, injail)", error, 0, 0);
114 if (asroot && !injail)
115 expect("priv_sysctl_writejail(asroot, !injail)", error, 0, 0);
116 if (!asroot && injail)
117 expect("priv_sysctl_writejail(!asroot, injail)", error, -1,
119 if (!asroot && !injail)
120 expect("priv_sysctl_writejail(!asroot, !injail)", error, -1,
125 priv_sysctl_write_cleanup(int asroot, int injail, struct test *test)