Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/core/
Dunshare_test.c25 .flags = CLONE_FILES, in TEST()
81 err = unshare(CLONE_FILES); in TEST()
Dclose_range_test.c113 .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/
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.12.1/arch/um/drivers/
Dubd_user.c50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
Dchan_user.c259 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/
Dsched.h13 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/linux-6.12.1/include/uapi/linux/
Dsched.h13 #define CLONE_FILES 0x00000400 /* set if open files shared between processes */ macro
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dfexit_sleep.c46 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/
Dpkey_sighandler_tests.c276 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/
Ddo_mounts_initrd.c75 ksys_unshare(CLONE_FS | CLONE_FILES); in init_linuxrc()
Dmain.c725 pid = kernel_thread(kthreadd, NULL, NULL, CLONE_FS | CLONE_FILES); in rest_init()
/linux-6.12.1/tools/testing/selftests/proc/
Dfd-001-lookup.c104 if (unshare(CLONE_FILES) == -1) in main()
/linux-6.12.1/tools/testing/selftests/memfd/
Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
Dmemfd_test.c1604 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
/linux-6.12.1/tools/testing/selftests/sched/
Dcs_prctl_test.c64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
/linux-6.12.1/tools/testing/selftests/x86/
Dlam.c765 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/
Dsigio.c328 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
/linux-6.12.1/kernel/
Dfork.c1773 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, &copy); in unshare_files()
Dkthread.c413 CLONE_FS | CLONE_FILES | SIGCHLD); in create_kthread()
/linux-6.12.1/arch/um/os-Linux/skas/
Dprocess.c289 flags = CLONE_FILES | SIGCHLD; in start_userspace()
/linux-6.12.1/Documentation/filesystems/
Dfiles.rst14 table between tasks cloned with CLONE_FILES flag. Typically
/linux-6.12.1/Documentation/userspace-api/
Dunshare.rst152 CLONE_FILES
153 If CLONE_FILES is set, the file descriptor table of the
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_core.c807 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
/linux-6.12.1/tools/testing/selftests/seccomp/
Dseccomp_bpf.c3914 .flags = CLONE_FILES, in TEST()
3965 .flags = CLONE_FILES, in TEST()
4025 .flags = CLONE_FILES, in TEST()