Remove default rlimits.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
parent
5ef0b1857d
commit
cebe1b39f7
@ -747,6 +747,10 @@ func defaultRuntimeSpec(id string) (*runtimespec.Spec, error) {
|
||||
if spec.Linux != nil {
|
||||
spec.Linux.Seccomp = nil
|
||||
}
|
||||
|
||||
// Remove default rlimits (See issue #515)
|
||||
spec.Process.Rlimits = nil
|
||||
|
||||
return spec, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user