Searched refs:rl_zero (Results 1 – 2 of 2) sorted by relevance
63 struct rlimit rl_zero; in ssh_sandbox_child() local65 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()70 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()74 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()
62 struct rlimit rl_zero; in ssh_sandbox_child() local73 rl_zero.rlim_cur = rl_zero.rlim_max = 0; in ssh_sandbox_child()74 if (setrlimit(RLIMIT_FSIZE, &rl_zero) == -1) in ssh_sandbox_child()77 if (setrlimit(RLIMIT_NOFILE, &rl_zero) == -1) in ssh_sandbox_child()80 if (setrlimit(RLIMIT_NPROC, &rl_zero) == -1) in ssh_sandbox_child()