Home
last modified time | relevance | path

Searched refs:CLONE_FILES (Results 1 – 23 of 23) sorted by relevance

/linux-6.3-rc2/arch/um/kernel/skas/
A Dclone.c30 err = stub_syscall2(__NR_clone, CLONE_PARENT | CLONE_FILES | SIGCHLD, in stub_clone_handler()
/linux-6.3-rc2/tools/testing/selftests/core/
A Dclose_range_test.c118 .flags = CLONE_FILES, in TEST()
207 .flags = CLONE_FILES, in TEST()
391 .flags = CLONE_FILES, in TEST()
473 .flags = CLONE_FILES, in TEST()
/linux-6.3-rc2/arch/um/drivers/
A Dubd_user.c50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
A Dchan_user.c241 pid = run_helper_thread(winch_thread, &data, CLONE_FILES, stack_out); in winch_tramp()
/linux-6.3-rc2/tools/testing/selftests/move_mount_set_group/
A Dmove_mount_set_group_test.c359 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0); in TEST_F()
363 CLONE_VM | CLONE_FILES); ASSERT_GT(pid, 0); in TEST_F()
/linux-6.3-rc2/include/uapi/linux/
A Dsched.h13 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/linux-6.3-rc2/tools/include/uapi/linux/
A Dsched.h13 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dfexit_sleep.c41 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()
/linux-6.3-rc2/init/
A Ddo_mounts_initrd.c76 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
A Dmain.c710 pid = kernel_thread(kthreadd, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/linux-6.3-rc2/tools/testing/selftests/proc/
A Dfd-001-lookup.c104 if (unshare(CLONE_FILES) == -1) in main()
/linux-6.3-rc2/tools/testing/selftests/memfd/
A Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
A Dmemfd_test.c1407 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux-6.3-rc2/tools/testing/selftests/sched/
A Dcs_prctl_test.c64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
/linux-6.3-rc2/arch/um/os-Linux/
A Dsigio.c327 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
/linux-6.3-rc2/Documentation/filesystems/
A Dfiles.rst14 table between tasks cloned with CLONE_FILES flag. Typically
/linux-6.3-rc2/kernel/
A Dfork.c1642 if (clone_flags & CLONE_FILES) { in copy_files()
2621 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread()
3080 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags()
3137 if ((unshare_flags & CLONE_FILES) && in unshare_fd()
3291 error = unshare_fd(CLONE_FILES, NR_OPEN_MAX, &copy); in unshare_files()
A Dkthread.c399 pid = kernel_thread(kthread, create, CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/linux-6.3-rc2/Documentation/userspace-api/
A Dunshare.rst152 CLONE_FILES
153 If CLONE_FILES is set, the file descriptor table of the
/linux-6.3-rc2/arch/um/os-Linux/skas/
A Dprocess.c330 flags = CLONE_FILES | SIGCHLD; in start_userspace()
/linux-6.3-rc2/tools/testing/selftests/cgroup/
A Dtest_core.c802 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
/linux-6.3-rc2/fs/
A Dfile.c762 ret = unshare_fd(CLONE_FILES, max_unshare_fds, &fds); in __close_range()
/linux-6.3-rc2/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c3902 .flags = CLONE_FILES, in TEST()
3956 .flags = CLONE_FILES, in TEST()

Completed in 49 milliseconds