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() 173 args.flags = clone_flags; in fork() 209 clone_flags: &CloneFlags, in copy_flags() 212 if clone_flags.contains(CloneFlags::CLONE_VM) { in copy_flags() 236 clone_flags: &CloneFlags, in copy_mm() 247 if clone_flags.contains(CloneFlags::CLONE_VM) { in copy_mm() 263 clone_flags: &CloneFlags, in copy_namespaces() 267 if !clone_flags.contains(CloneFlags::CLONE_NEWNS) in copy_namespaces() 268 && !clone_flags.contains(CloneFlags::CLONE_NEWUTS) in copy_namespaces() 269 && !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 | 24 clone_flags: CloneFlags, in __inner_create() 43 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 | 107 let clone_flags = clone_args.flags; in copy_thread() localVariable 148 if clone_flags.contains(CloneFlags::CLONE_SETTLS) { in copy_thread()
|