Lines Matching refs:setrlimit
21 * Testcase to check the basic functionality of the setrlimit system call.
73 if ((setrlimit(RLIMIT_NPROC, &save_rlim)) == -1) {
74 tst_brkm(TBROK, cleanup, "setrlimit failed to reset "
92 TEST(setrlimit(RLIMIT_NOFILE, &rlim));
95 tst_resm(TFAIL, "setrlimit failed to set "
103 tst_resm(TFAIL, "setrlimit failed, expected "
132 * 10 by calling setrlimit(). We can't do this in the
145 if ((setrlimit(RLIMIT_FSIZE, &rlim)) == -1)
172 tst_resm(TFAIL, "setrlimit failed to set "
184 tst_resm(TFAIL, "setrlimit failed, expected "
202 TEST(setrlimit(RLIMIT_NPROC, &rlim));
205 tst_resm(TFAIL, "setrlimit failed to set "
216 tst_resm(TFAIL, "setrlimit did not set the proc "
248 TEST(setrlimit(RLIMIT_CORE, &rlim));
251 tst_resm(TFAIL | TERRNO, "setrlimit failed to set RLIMIT_CORE");