diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2020-01-18 09:32:39 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-01-18 09:34:04 -0800 |
commit | 10401599e104d90644a220c1cce3e4c2f224f0b3 (patch) | |
tree | 4519d003ab33dd7320d4599b19cd6aa46db8e1d9 /pkg/sentry/socket/netstack/netstack.go | |
parent | 47d85257d3d015f0b9f7739c81af0ee9f510aaf5 (diff) |
Include the cgroup name in the superblock options in /proc/self/mountinfo.
Java 11 parses /proc/self/mountinfo for cgroup information. Java 11.0.4 uses
the mount path to determine what cgroups existed, but Java 11.0.5 reads the
cgroup names from the superblock options.
This CL adds the cgroup name to the superblock options if the filesystem type
is "cgroup". Since gVisor doesn't actually support cgroups yet, we just infer
the cgroup name from the path.
PiperOrigin-RevId: 290434323
Diffstat (limited to 'pkg/sentry/socket/netstack/netstack.go')
0 files changed, 0 insertions, 0 deletions