This commit is contained in:
parent
8255ae6934
commit
e08eaecf81
|
@ -24,7 +24,7 @@ func setNamespace(cmd *exec.Cmd) {
|
||||||
|
|
||||||
cmd.SysProcAttr = &syscall.SysProcAttr{}
|
cmd.SysProcAttr = &syscall.SysProcAttr{}
|
||||||
//cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNET
|
//cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNET
|
||||||
cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER /* syscall.CLONE_NEWNS | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC | syscall.CLONE_NEWNET */
|
cmd.SysProcAttr.Cloneflags = syscall.CLONE_NEWUSER | syscall.CLONE_NEWUTS | syscall.CLONE_NEWPID | syscall.CLONE_NEWIPC /* | syscall.CLONE_NEWNS | syscall.CLONE_NEWNET */
|
||||||
cmd.SysProcAttr.Credential = &syscall.Credential{
|
cmd.SysProcAttr.Credential = &syscall.Credential{
|
||||||
Uid: 0,
|
Uid: 0,
|
||||||
Gid: 0,
|
Gid: 0,
|
||||||
|
|
Loading…
Reference in New Issue