Home
last modified time | relevance | path

Searched refs:clone_flags (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/src/process/
H A Dfork.rs162 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 Dmod.rs54 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 Duser_namespace.rs65 clone_flags: CloneFlags, field
71 clone_flags: CloneFlags::CLONE_NEWUSER, in new()
H A Dmnt_namespace.rs60 clone_flags: CloneFlags, field
103 clone_flags: CloneFlags::CLONE_NEWNS, in new()
H A Dpid_namespace.rs144 clone_flags: CloneFlags, field
150 clone_flags: CloneFlags::CLONE_NEWPID, in new()
/DragonOS/user/apps/test_namespace/src/
H A Dmain.rs8 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 Dkthread.rs24 clone_flags: CloneFlags, in __inner_create()
43 let pid = ProcessManager::fork(&frame, clone_flags).inspect_err(|_e| { in __inner_create()
H A Dmod.rs305 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 Dkthread.rs26 clone_flags: CloneFlags, in __inner_create()
43 let pid = ProcessManager::fork(&frame, clone_flags).map_err(|e| { in __inner_create()
H A Dmod.rs107 let clone_flags = clone_args.flags; in copy_thread() localVariable
148 if clone_flags.contains(CloneFlags::CLONE_SETTLS) { in copy_thread()