Lines Matching full:proc
48 umount2("/proc", MNT_DETACH); in pid_max_cb()
50 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_cb()
52 fprintf(stderr, "%m - Failed to mount proc\n"); in pid_max_cb()
56 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_cb()
94 umount2("/proc", MNT_DETACH); in pid_max_nested_inner()
96 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_inner()
98 fprintf(stderr, "%m - Failed to mount proc\n"); in pid_max_nested_inner()
102 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_inner()
169 umount2("/proc", MNT_DETACH); in pid_max_nested_outer()
171 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_outer()
173 fprintf(stderr, "%m - Failed to mount proc\n"); in pid_max_nested_outer()
177 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_outer()
238 umount2("/proc", MNT_DETACH); in pid_max_nested_limit_inner()
240 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_limit_inner()
242 fprintf(stderr, "%m - Failed to mount proc\n"); in pid_max_nested_limit_inner()
246 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_inner()
295 umount2("/proc", MNT_DETACH); in pid_max_nested_limit_outer()
297 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_limit_outer()
299 fprintf(stderr, "%m - Failed to mount proc\n"); in pid_max_nested_limit_outer()
303 fd = open("/proc/sys/kernel/pid_max", O_RDWR | O_CLOEXEC | O_NOCTTY); in pid_max_nested_limit_outer()