Searched refs:clone_flags (Results 1 – 10 of 10) sorted by relevance
/DragonOS/kernel/src/process/ |
H A D | fork.rs | 162 clone_flags: CloneFlags, in fork() 178 args.flags = clone_flags; in fork() 214 clone_flags: &CloneFlags, in copy_flags() 217 if clone_flags.contains(CloneFlags::CLONE_VM) { in copy_flags() 241 clone_flags: &CloneFlags, in copy_mm() 252 if clone_flags.contains(CloneFlags::CLONE_VM) { in copy_mm() 268 clone_flags: &CloneFlags, in copy_namespaces() 272 if !clone_flags.contains(CloneFlags::CLONE_NEWNS) in copy_namespaces() 273 && !clone_flags.contains(CloneFlags::CLONE_NEWUTS) in copy_namespaces() 274 && !clone_flags.contains(CloneFlags::CLONE_NEWIPC) in copy_namespaces() [all …]
|
/DragonOS/kernel/src/namespaces/ |
H A D | mod.rs | 54 clone_flags: u64, in create_new_namespaces() 60 let new_pid_ns = if (clone_flags & CloneFlags::CLONE_NEWPID.bits()) != 0 { in create_new_namespaces() 71 let new_mnt_ns = if clone_flags & CloneFlags::CLONE_NEWNS.bits() != 0 { in create_new_namespaces()
|
H A D | user_namespace.rs | 65 clone_flags: CloneFlags, field 71 clone_flags: CloneFlags::CLONE_NEWUSER, in new()
|
H A D | mnt_namespace.rs | 60 clone_flags: CloneFlags, field 103 clone_flags: CloneFlags::CLONE_NEWNS, in new()
|
H A D | pid_namespace.rs | 144 clone_flags: CloneFlags, field 150 clone_flags: CloneFlags::CLONE_NEWPID, in new()
|
/DragonOS/user/apps/test_namespace/src/ |
H A D | main.rs | 8 let clone_flags = CloneFlags::CLONE_NEWPID | CloneFlags::CLONE_NEWNS; in main() localVariable 26 if let Err(e) = sched::unshare(clone_flags) { in main()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | kthread.rs | 26 clone_flags: CloneFlags, in __inner_create() 45 let pid = ProcessManager::fork(&frame, clone_flags).inspect_err(|_e| { in __inner_create()
|
H A D | mod.rs | 305 let clone_flags = clone_args.flags; in copy_thread() localVariable 354 if clone_flags.contains(CloneFlags::CLONE_SETTLS) { in copy_thread()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | kthread.rs | 26 clone_flags: CloneFlags, in __inner_create() 43 let pid = ProcessManager::fork(&frame, clone_flags).map_err(|e| { in __inner_create()
|
H A D | mod.rs | 110 let clone_flags = clone_args.flags; in copy_thread() localVariable 151 if clone_flags.contains(CloneFlags::CLONE_SETTLS) { in copy_thread()
|