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
1 changed files with 0 additions and 7 deletions

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() {