/linux-6.12.1/tools/testing/selftests/core/ |
D | unshare_test.c | 25 .flags = CLONE_FILES, in TEST() 81 err = unshare(CLONE_FILES); in TEST()
|
D | close_range_test.c | 113 .flags = CLONE_FILES, in TEST() 202 .flags = CLONE_FILES, in TEST() 386 .flags = CLONE_FILES, in TEST() 503 .flags = CLONE_FILES, in TEST() 601 .flags = CLONE_FILES, in TEST()
|
/linux-6.12.1/tools/testing/selftests/move_mount_set_group/ |
D | move_mount_set_group_test.c | 359 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.12.1/arch/um/drivers/ |
D | ubd_user.c | 50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
|
D | chan_user.c | 259 pid = run_helper_thread(winch_thread, &data, CLONE_FILES, stack_out); in winch_tramp()
|
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/ |
D | sched.h | 13 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
|
/linux-6.12.1/include/uapi/linux/ |
D | sched.h | 13 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | fexit_sleep.c | 46 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | pkey_sighandler_tests.c | 276 CLONE_VM | CLONE_FS | CLONE_FILES | in test_sigsegv_handler_with_different_pkey_for_stack() 435 CLONE_VM | CLONE_FS | CLONE_FILES | in test_pkru_sigreturn()
|
/linux-6.12.1/init/ |
D | do_mounts_initrd.c | 75 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
|
D | main.c | 725 pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES); in rest_init()
|
/linux-6.12.1/tools/testing/selftests/proc/ |
D | fd-001-lookup.c | 104 if (unshare(CLONE_FILES) == -1) in main()
|
/linux-6.12.1/tools/testing/selftests/memfd/ |
D | fuse_test.c | 213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
|
D | memfd_test.c | 1604 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
|
/linux-6.12.1/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
|
/linux-6.12.1/tools/testing/selftests/x86/ |
D | lam.c | 765 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, NULL); in handle_thread() 793 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, test); in handle_thread_enable()
|
/linux-6.12.1/arch/um/os-Linux/ |
D | sigio.c | 328 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
|
/linux-6.12.1/kernel/ |
D | fork.c | 1773 if (clone_flags & CLONE_FILES) { in copy_files() 2722 unsigned long flags = CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD| in create_io_thread() 3189 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags() 3244 if ((unshare_flags & CLONE_FILES) && in unshare_fd() 3399 error = unshare_fd(CLONE_FILES, ©); in unshare_files()
|
D | kthread.c | 413 CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
|
/linux-6.12.1/arch/um/os-Linux/skas/ |
D | process.c | 289 flags = CLONE_FILES | SIGCHLD; in start_userspace()
|
/linux-6.12.1/Documentation/filesystems/ |
D | files.rst | 14 table between tasks cloned with CLONE_FILES flag. Typically
|
/linux-6.12.1/Documentation/userspace-api/ |
D | unshare.rst | 152 CLONE_FILES 153 If CLONE_FILES is set, the file descriptor table of the
|
/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_core.c | 807 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
|
/linux-6.12.1/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 3914 .flags = CLONE_FILES, in TEST() 3965 .flags = CLONE_FILES, in TEST() 4025 .flags = CLONE_FILES, in TEST()
|