/linux-6.3-rc2/arch/alpha/kernel/ |
A D | asm-offsets.c | 39 DEFINE(CLONE_VM, CLONE_VM); in foo()
|
/linux-6.3-rc2/kernel/ |
A D | fork.c | 1595 if (clone_flags & CLONE_VM) { in copy_mm() 1981 if ((clone_flags & (CLONE_VM | CLONE_THREAD | CLONE_VFORK)) != CLONE_VM) in copy_oom_score_adj() 2327 if ((clone_flags & (CLONE_VM|CLONE_VFORK)) == CLONE_VM) in copy_process() 2597 .flags = CLONE_VM, in fork_idle() 2624 .flags = ((lower_32_bits(flags) | CLONE_VM | in create_io_thread() 2736 .flags = ((lower_32_bits(flags) | CLONE_VM | in kernel_thread() 2753 .flags = ((lower_32_bits(flags) | CLONE_VM | in user_mode_thread() 2783 .flags = CLONE_VFORK | CLONE_VM, in SYSCALL_DEFINE0() 3080 CLONE_VM|CLONE_FILES|CLONE_SYSVSEM| in check_unshare_flags() 3099 if (unshare_flags & CLONE_VM) { in check_unshare_flags() [all …]
|
A D | nsproxy.c | 160 if ((flags & CLONE_VM) || in copy_namespaces() 183 if ((flags & CLONE_VM) == 0) in copy_namespaces()
|
/linux-6.3-rc2/tools/testing/selftests/proc/ |
A D | thread-self.c | 59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
|
/linux-6.3-rc2/arch/um/drivers/ |
A D | ubd_user.c | 50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL); in start_io_thread()
|
/linux-6.3-rc2/tools/testing/selftests/move_mount_set_group/ |
A 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.3-rc2/include/uapi/linux/ |
A D | sched.h | 11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
|
/linux-6.3-rc2/tools/include/uapi/linux/ |
A D | sched.h | 11 #define CLONE_VM 0x00000100 /* set if VM shared between processes */ macro
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | process.c | 47 .flags = CLONE_VFORK | CLONE_VM, in sparc_vfork()
|
/linux-6.3-rc2/arch/um/os-Linux/ |
A D | helper.c | 75 pid = clone(helper_child, (void *) sp, CLONE_VM, &data); in run_helper()
|
A D | sigio.c | 327 CLONE_FILES | CLONE_VM, in write_sigio_workaround()
|
/linux-6.3-rc2/tools/testing/selftests/memfd/ |
A D | fuse_test.c | 213 SIGCHLD | CLONE_FILES | CLONE_FS | CLONE_VM, in spawn_sealing_thread()
|
A D | memfd_test.c | 1407 pid = spawn_idle_thread(CLONE_FILES | CLONE_FS | CLONE_VM); in main()
|
/linux-6.3-rc2/Documentation/userspace-api/ |
A 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.3-rc2/arch/xtensa/kernel/ |
A D | process.c | 316 if (clone_flags & CLONE_VM) { in copy_thread()
|
A D | asm-offsets.c | 126 DEFINE(_CLONE_VM, CLONE_VM); in main()
|
/linux-6.3-rc2/tools/testing/selftests/pidfd/ |
A D | pidfd_setns_test.c | 351 ASSERT_NE(setns(self->pidfd, CLONE_VM), 0); in TEST_F() 354 ASSERT_NE(setns(self->pidfd, CLONE_NEWUSER | CLONE_VM), 0); in TEST_F()
|
/linux-6.3-rc2/tools/testing/selftests/sched/ |
A D | cs_prctl_test.c | 64 const int THREAD_CLONE_FLAGS = CLONE_THREAD | CLONE_SIGHAND | CLONE_FS | CLONE_VM | CLONE_FILES;
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | asm-offsets.c | 201 DEFINE(IA64_CLONE_VM, CLONE_VM); in foo()
|
/linux-6.3-rc2/Documentation/admin-guide/mm/ |
A D | nommu-mmap.rst | 14 the CLONE_VM flag. 30 shared across fork() or clone() without CLONE_VM in the MMU case. Since
|
A D | numa_memory_policy.rst | 54 [clone() w/o the CLONE_VM flag] and exec*(). This allows a parent task
|
/linux-6.3-rc2/tools/testing/selftests/cgroup/ |
A D | test_core.c | 802 CLONE_NEWCGROUP | CLONE_FILES | CLONE_VM | SIGCHLD, in test_cgcore_lesser_ns_open()
|
/linux-6.3-rc2/include/linux/ |
A D | sched.h | 2359 if (clone_flags & CLONE_VM) { in rseq_fork()
|
/linux-6.3-rc2/kernel/sched/ |
A D | fair.c | 3109 if (!(clone_flags & CLONE_VM)) { in init_numa_balancing()
|