diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-06-10 20:40:49 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-10 20:40:49 +0000 |
commit | 642477cfb1a4965995c2cbe17dea089eb0bd8f22 (patch) | |
tree | a42d02f6502c2d043e441338e0efd71da5e9ea56 /pkg/sentry/fsimpl | |
parent | 203df401b853b9916b4a1cdec702f096fb5ed828 (diff) | |
parent | 21169357ca913de9cef50da6f235a482b7a3cfab (diff) |
Merge release-20210601.0-42-g21169357c (automated)
Diffstat (limited to 'pkg/sentry/fsimpl')
-rw-r--r-- | pkg/sentry/fsimpl/proc/tasks_sys.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/proc/tasks_sys.go b/pkg/sentry/fsimpl/proc/tasks_sys.go index 88ab49048..2bc98a94f 100644 --- a/pkg/sentry/fsimpl/proc/tasks_sys.go +++ b/pkg/sentry/fsimpl/proc/tasks_sys.go @@ -55,6 +55,7 @@ func (fs *filesystem) newSysDir(ctx context.Context, root *auth.Credentials, k * }), }), "vm": fs.newStaticDir(ctx, root, map[string]kernfs.Inode{ + "max_map_count": fs.newInode(ctx, root, 0444, newStaticFile("2147483647\n")), "mmap_min_addr": fs.newInode(ctx, root, 0444, &mmapMinAddrData{k: k}), "overcommit_memory": fs.newInode(ctx, root, 0444, newStaticFile("0\n")), }), |