diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-21 23:36:34 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-21 23:36:34 +0000 |
commit | 9e983d691225db47475f4447899e7421864b9b6c (patch) | |
tree | 7fe8779aa43d31d1c6199f5e44458eb1d8a425a7 /pkg/sentry/fs/proc | |
parent | 306c14cdd4e68b95703e78c3877b627d4f7d7885 (diff) | |
parent | 37e01fd2ea6a0e67637975863317be9aae1b02f0 (diff) |
Merge release-20200323.0-207-g37e01fd (automated)
Diffstat (limited to 'pkg/sentry/fs/proc')
-rwxr-xr-x | pkg/sentry/fs/proc/proc_state_autogen.go | 2 | ||||
-rw-r--r-- | pkg/sentry/fs/proc/task.go | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/pkg/sentry/fs/proc/proc_state_autogen.go b/pkg/sentry/fs/proc/proc_state_autogen.go index 45f2b0a40..baf7cd42b 100755 --- a/pkg/sentry/fs/proc/proc_state_autogen.go +++ b/pkg/sentry/fs/proc/proc_state_autogen.go @@ -412,14 +412,12 @@ func (x *taskDir) save(m state.Map) { x.beforeSave() m.Save("Dir", &x.Dir) m.Save("t", &x.t) - m.Save("pidns", &x.pidns) } func (x *taskDir) afterLoad() {} func (x *taskDir) load(m state.Map) { m.Load("Dir", &x.Dir) m.Load("t", &x.t) - m.Load("pidns", &x.pidns) } func (x *subtasks) beforeSave() {} diff --git a/pkg/sentry/fs/proc/task.go b/pkg/sentry/fs/proc/task.go index 4d42eac83..4bbe90198 100644 --- a/pkg/sentry/fs/proc/task.go +++ b/pkg/sentry/fs/proc/task.go @@ -73,8 +73,7 @@ func checkTaskState(t *kernel.Task) error { type taskDir struct { ramfs.Dir - t *kernel.Task - pidns *kernel.PIDNamespace + t *kernel.Task } var _ fs.InodeOperations = (*taskDir)(nil) |