summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-08-23 13:57:30 -0700
committerShentubot <shentubot@google.com>2018-08-23 13:59:20 -0700
commitba8f6ba8c899d2e900fa7e9ee5aede31cba1de9c (patch)
treecc6d7f8428f45742509be82cb8cd4f1e51fa9c20 /pkg/sentry/fs
parent001a4c2493b13a43d62c7511fb509a959ae4abc2 (diff)
sentry: mark idMapSeqHandle as savable.
PiperOrigin-RevId: 209994384 Change-Id: I16186cf79cb4760a134f3968db30c168a5f4340e
Diffstat (limited to 'pkg/sentry/fs')
-rw-r--r--pkg/sentry/fs/proc/uid_gid_map.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/proc/uid_gid_map.go b/pkg/sentry/fs/proc/uid_gid_map.go
index 9811d9c9d..a7e4cf0a6 100644
--- a/pkg/sentry/fs/proc/uid_gid_map.go
+++ b/pkg/sentry/fs/proc/uid_gid_map.go
@@ -68,6 +68,8 @@ func (imss *idMapSeqSource) ReadSeqFileData(ctx context.Context, handle seqfile.
}
// TODO: Fix issue requiring idMapSeqHandle wrapping an int.
+//
+// +stateify savable
type idMapSeqHandle struct {
value int
}