summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-21 23:36:34 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-21 23:36:34 +0000
commit9e983d691225db47475f4447899e7421864b9b6c (patch)
tree7fe8779aa43d31d1c6199f5e44458eb1d8a425a7 /pkg/sentry/fs
parent306c14cdd4e68b95703e78c3877b627d4f7d7885 (diff)
parent37e01fd2ea6a0e67637975863317be9aae1b02f0 (diff)
Merge release-20200323.0-207-g37e01fd (automated)
Diffstat (limited to 'pkg/sentry/fs')
-rwxr-xr-xpkg/sentry/fs/proc/proc_state_autogen.go2
-rw-r--r--pkg/sentry/fs/proc/task.go3
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)