diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-12-18 21:29:27 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-18 21:29:27 +0000 |
commit | 8845cf334dbe388de984def6eac99b3ef5360cab (patch) | |
tree | 8493b94266cf5f437edcee4c2111439e3810d01f /pkg/sentry/fs | |
parent | 07d3d9aef1ca2975fb1349feee0a1d2e44b376df (diff) | |
parent | 334a513f11f0ecc260abcce549b1f1a74edc2c51 (diff) |
Merge release-20191210.0-50-g334a513 (automated)
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r-- | pkg/sentry/fs/proc/task.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/fs/proc/task.go b/pkg/sentry/fs/proc/task.go index 0e46c5fb7..9bf4b4527 100644 --- a/pkg/sentry/fs/proc/task.go +++ b/pkg/sentry/fs/proc/task.go @@ -604,6 +604,10 @@ func (s *statusData) ReadSeqFileData(ctx context.Context, h seqfile.SeqHandle) ( fmt.Fprintf(&buf, "CapEff:\t%016x\n", creds.EffectiveCaps) fmt.Fprintf(&buf, "CapBnd:\t%016x\n", creds.BoundingCaps) fmt.Fprintf(&buf, "Seccomp:\t%d\n", s.t.SeccompMode()) + // We unconditionally report a single NUMA node. See + // pkg/sentry/syscalls/linux/sys_mempolicy.go. + fmt.Fprintf(&buf, "Mems_allowed:\t1\n") + fmt.Fprintf(&buf, "Mems_allowed_list:\t0\n") return []seqfile.SeqData{{Buf: buf.Bytes(), Handle: (*statusData)(nil)}}, 0 } |