Home
last modified time | relevance | path

Searched refs:CLONE_NEWNS (Results 1 – 7 of 7) sorted by relevance

/DragonOS/docs/kernel/container/namespaces/
H A Dmnt_namespace.md13 - CLONE_NEWNS用于创建一个新的 MNT 命名空间。提供独立的文件系统挂载点
/DragonOS/kernel/src/namespaces/
H A Dnamespace.rs59 | CloneFlags::CLONE_NEWNS in check_unshare_flags()
79 & (CloneFlags::CLONE_NEWNS.bits() in unshare_nsproxy_namespaces()
112 if flags.contains(CloneFlags::CLONE_NEWNS) { in commit_nsset()
H A Dsyscall.rs26 if unshare_flags & CloneFlags::CLONE_NEWNS.bits() != 0 { in sys_unshare()
H A Dmod.rs71 let new_mnt_ns = if clone_flags & CloneFlags::CLONE_NEWNS.bits() != 0 { in create_new_namespaces()
H A Dmnt_namespace.rs103 clone_flags: CloneFlags::CLONE_NEWNS, in new()
/DragonOS/user/apps/test_namespace/src/
H A Dmain.rs8 let clone_flags = CloneFlags::CLONE_NEWPID | CloneFlags::CLONE_NEWNS; in main()
/DragonOS/kernel/src/process/
H A Dfork.rs49 const CLONE_NEWNS = 0x00020000; constant
272 if !clone_flags.contains(CloneFlags::CLONE_NEWNS) in copy_namespaces()
355 if (clone_flags == (CloneFlags::CLONE_NEWNS | CloneFlags::CLONE_FS)) in copy_process()