start to implementig clone to create namespaces
This commit is contained in:
3
src/namespace/consts.rs
Normal file
3
src/namespace/consts.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
pub const NET_NS_DIR:&str = "/var/run/netns";
|
||||
pub const PROC_NS_DIR:&str = "/proc/self/ns/net";
|
||||
pub const STACK_SIZE: usize = 1024 * 1024;
|
||||
Reference in New Issue
Block a user