We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95ecbd7 commit ee9ad86Copy full SHA for ee9ad86
jail/linux.go
@@ -64,9 +64,6 @@ func (l *LinuxJail) ConfigureBeforeCommandExecution() error {
64
func (l *LinuxJail) Command(command []string) *exec.Cmd {
65
l.logger.Debug("Creating command with namespace")
66
67
- l.logger.Debug("DEBUG", "command[0 ]", command[0])
68
- l.logger.Debug("DEBUG", "command[1:]", command[1:])
69
-
70
cmd := exec.Command(command[0], command[1:]...)
71
cmd.Env = l.commandEnv
72
cmd.Env = append(cmd.Env, "CHILD=true")
@@ -88,7 +85,6 @@ func (l *LinuxJail) Command(command []string) *exec.Cmd {
88
85
{ContainerID: 0, HostID: 0, Size: 1},
89
86
{ContainerID: gid, HostID: gid, Size: 1},
90
87
},
91
- AmbientCaps: []uintptr{unix.CAP_NET_ADMIN},
92
}
93
94
return cmd
0 commit comments