Searched refs:fd_limit (Results 1 – 2 of 2) sorted by relevance
104 struct rlimit fd_limit = { .rlim_cur = 32, .rlim_max = 32 }; in main() local105 if (setrlimit (RLIMIT_NOFILE, &fd_limit) < 0) in main()
523 const rlim_t fd_limit = in SANDBOX_TEST_ALLOW_NOISE() local532 SANDBOX_ASSERT(fd_limit <= rlim.rlim_cur); in SANDBOX_TEST_ALLOW_NOISE()533 rlim.rlim_cur = fd_limit; in SANDBOX_TEST_ALLOW_NOISE()552 for (rlim_t i = 0; i < fd_limit; ++i) { in SANDBOX_TEST_ALLOW_NOISE()