Merge pull request #11450 from crosbymichael/rlimitfix

Don't hardcode default rlimit
This commit is contained in:
Alexander Morozov 2015-03-17 20:27:05 -07:00
commit cf071bb962

View file

@ -66,13 +66,6 @@ func New() *configs.Config {
ReadonlyPaths: []string{
"/proc/sys", "/proc/sysrq-trigger", "/proc/irq", "/proc/bus",
},
Rlimits: []configs.Rlimit{
{
Type: syscall.RLIMIT_NOFILE,
Hard: 1024,
Soft: 1024,
},
},
}
if apparmor.IsEnabled() {