Home
last modified time | relevance | path

Searched refs:CLONE_VM (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.12.1/kernel/
Dfork.c1720 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 …]
Dvhost_task.c123 .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | in vhost_task_create()
Dnsproxy.c160 if ((flags & CLONE_VM) || in copy_namespaces()
183 if ((flags & CLONE_VM) == 0) in copy_namespaces()
/linux-6.12.1/tools/testing/selftests/proc/
Dthread-self.c59 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/
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/include/linux/
Duser_events.h45 if (clone_flags & CLONE_VM) { in user_events_fork()
Drseq.h70 if (clone_flags & CLONE_VM) { in rseq_fork()
/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()
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/linux/
Dsched.h11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/linux-6.12.1/include/uapi/linux/
Dsched.h11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
/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/arch/sparc/kernel/
Dprocess.c47 .flags = CLONE_VFORK | CLONE_VM, in sparc_vfork()
/linux-6.12.1/tools/testing/selftests/powerpc/dexcr/
Dhashchk_test.c211 CLONE_VM | SIGCHLD, NULL); in hashchk_clone_share_key_test()
/linux-6.12.1/arch/um/os-Linux/
Dhelper.c75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data); in run_helper()
Dsigio.c328 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
/linux-6.12.1/Documentation/userspace-api/
Dunshare.rst161 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/
Dfuse_test.c213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
/linux-6.12.1/arch/xtensa/kernel/
Dprocess.c317 if (clone_flags & CLONE_VM) { in copy_thread()
Dasm-offsets.c126 DEFINE(_CLONE_VM, CLONE_VM); in main()
/linux-6.12.1/arch/x86/kernel/
Dprocess.c191 if (p->mm && (clone_flags & (CLONE_VM | CLONE_VFORK)) == CLONE_VM) in copy_thread()
Dshstk.c222 if (!(clone_flags & CLONE_VM)) in shstk_alloc_thread_stack()
/linux-6.12.1/tools/testing/selftests/pidfd/
Dpidfd_setns_test.c489 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/
Dabi_test.c411 CLONE_VM | SIGCHLD, &self->check)); in TEST_F()
/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()

12