CLONE_FILES
pid = run_helper_thread(winch_thread, &data, CLONE_FILES, stack_out);
pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES);
if (clone_flags & CLONE_FILES) {
unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|
CLONE_VM|CLONE_FILES|CLONE_SYSVSEM|
if ((unshare_flags & CLONE_FILES) &&
error = unshare_fd(CLONE_FILES, ©);
CLONE_FS | CLONE_FILES | SIGCHLD);
cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel);
CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD,
.flags = CLONE_FILES,
.flags = CLONE_FILES,
.flags = CLONE_FILES,
.flags = CLONE_FILES,
.flags = CLONE_FILES,
.flags = CLONE_FILES,
err = unshare(CLONE_FILES);
pid = do_clone(userns_fd_cb, h, CLONE_NEWUSER | CLONE_FILES | CLONE_VM);
SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM,
pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM);
long ret = clone_raw(CLONE_VM | CLONE_FS | CLONE_FILES |
long ret = clone_raw(CLONE_VM | CLONE_FS | CLONE_FILES |
CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0);
CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0);
if (unshare(CLONE_FILES) == -1)
const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
.flags = CLONE_FILES,
.flags = CLONE_FILES,
.flags = CLONE_FILES,
SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, NULL);
SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, test);