Searched refs:rl_zero (Results 1 – 5 of 5) sorted by relevance
| /freebsd-14-stable/crypto/openssh/ |
| HD | sandbox-rlimit.c | 62 struct rlimit rl_zero; in ssh_sandbox_child() local 64 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child() 67 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child() 72 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child() 77 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | sandbox-darwin.c | 63 struct rlimit rl_zero; in ssh_sandbox_child() local 74 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child() 75 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child() 78 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child() 81 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | sandbox-capsicum.c | 72 struct rlimit rl_zero; in ssh_sandbox_child() local 79 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child() 81 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child() 85 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child() 89 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | sandbox-seccomp-filter.c | 492 struct rlimit rl_zero, rl_one = {.rlim_cur = 1, .rlim_max = 1}; in ssh_sandbox_child() local 496 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child() 497 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child() 507 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
| HD | configure.ac | 3707 struct rlimit rl_zero; 3718 rl_zero.rlim_cur = rl_zero.rlim_max = 0; 3719 setrlimit(RLIMIT_FSIZE, &rl_zero); 3720 setrlimit(RLIMIT_NOFILE, &rl_zero); 3754 struct rlimit rl_zero; 3757 rl_zero.rlim_cur = rl_zero.rlim_max = 0; 3758 r = setrlimit(RLIMIT_NOFILE, &rl_zero); 3776 struct rlimit rl_zero; 3778 rl_zero.rlim_cur = rl_zero.rlim_max = 0; 3779 exit(setrlimit(RLIMIT_FSIZE, &rl_zero) != 0);
|