/linux-6.12.1/kernel/ |
D | fork.c | 1720 if (clone_flags & CLONE_VM) { in copy_mm() 2086 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM) in copy_oom_score_adj() 2153 if ((clone_flags & CLONE_SIGHAND) && !(clone_flags & CLONE_VM)) in copy_process() 2425 if ((clone_flags & (CLONE_VM|CLONE_VFORK)) == CLONE_VM) in copy_process() 2698 .flags = CLONE_VM, in fork_idle() 2725 .flags = ((lower_32_bits(flags) | CLONE_VM | in create_io_thread() 2810 if (IS_ENABLED(CONFIG_LRU_GEN_WALKS_MMU) && !(clone_flags & CLONE_VM)) { in kernel_clone() 2839 .flags = ((lower_32_bits(flags) | CLONE_VM | in kernel_thread() 2857 .flags = ((lower_32_bits(flags) | CLONE_VM | in user_mode_thread() 2887 .flags = CLONE_VFORK | CLONE_VM, in SYSCALL_DEFINE0() [all …]
|
D | vhost_task.c | 123 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | in vhost_task_create()
|
D | nsproxy.c | 160 if ((flags & CLONE_VM) || in copy_namespaces() 183 if ((flags & CLONE_VM) == 0) in copy_namespaces()
|
/linux-6.12.1/tools/testing/selftests/proc/ |
D | thread-self.c | 59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
|
/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/include/linux/ |
D | user_events.h | 45 if (clone_flags & CLONE_VM) { in user_events_fork()
|
D | rseq.h | 70 if (clone_flags & CLONE_VM) { in rseq_fork()
|
/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()
|
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/ |
D | sched.h | 11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
|
/linux-6.12.1/include/uapi/linux/ |
D | sched.h | 11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
|
/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/arch/sparc/kernel/ |
D | process.c | 47 .flags = CLONE_VFORK | CLONE_VM, in sparc_vfork()
|
/linux-6.12.1/tools/testing/selftests/powerpc/dexcr/ |
D | hashchk_test.c | 211 CLONE_VM | SIGCHLD, NULL); in hashchk_clone_share_key_test()
|
/linux-6.12.1/arch/um/os-Linux/ |
D | helper.c | 75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data); in run_helper()
|
D | sigio.c | 328 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
|
/linux-6.12.1/Documentation/userspace-api/ |
D | unshare.rst | 161 CLONE_VM 162 If CLONE_VM is set, the virtual memory of the caller is 263 Force implied flags. If CLONE_THREAD is set force CLONE_VM. 264 If CLONE_VM is set, force CLONE_SIGHAND. If CLONE_SIGHAND is
|
/linux-6.12.1/tools/testing/selftests/memfd/ |
D | fuse_test.c | 213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | process.c | 317 if (clone_flags & CLONE_VM) { in copy_thread()
|
D | asm-offsets.c | 126 DEFINE(_CLONE_VM, CLONE_VM); in main()
|
/linux-6.12.1/arch/x86/kernel/ |
D | process.c | 191 if (p->mm && (clone_flags & (CLONE_VM | CLONE_VFORK)) == CLONE_VM) in copy_thread()
|
D | shstk.c | 222 if (!(clone_flags & CLONE_VM)) in shstk_alloc_thread_stack()
|
/linux-6.12.1/tools/testing/selftests/pidfd/ |
D | pidfd_setns_test.c | 489 ASSERT_NE(setns(self->pidfd, CLONE_VM), 0); in TEST_F() 492 ASSERT_NE(setns(self->pidfd, CLONE_NEWUSER | CLONE_VM), 0); in TEST_F()
|
/linux-6.12.1/tools/testing/selftests/user_events/ |
D | abi_test.c | 411 CLONE_VM | SIGCHLD, &self->check)); in TEST_F()
|
/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()
|