Searched refs:rl_zero (Results 1 – 5 of 5) sorted by relevance
/external/openssh/ |
D | 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()
|
D | 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()
|
D | sandbox-capsicum.c | 70 struct rlimit rl_zero; in ssh_sandbox_child() local 73 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() 79 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child() 83 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | sandbox-seccomp-filter.c | 382 struct rlimit rl_zero; in ssh_sandbox_child() local 386 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child() 387 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child() 390 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child() 393 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
|
D | configure.ac | 3474 struct rlimit rl_zero; 3482 rl_zero.rlim_cur = rl_zero.rlim_max = 0; 3483 setrlimit(RLIMIT_FSIZE, &rl_zero); 3484 setrlimit(RLIMIT_NOFILE, &rl_zero); 3509 struct rlimit rl_zero; 3512 rl_zero.rlim_cur = rl_zero.rlim_max = 0; 3513 r = setrlimit(RLIMIT_NOFILE, &rl_zero); 3531 struct rlimit rl_zero; 3533 rl_zero.rlim_cur = rl_zero.rlim_max = 0; 3534 exit(setrlimit(RLIMIT_FSIZE, &rl_zero) != 0);
|