diff options
author | Michael Pratt <mpratt@google.com> | 2018-08-06 10:14:40 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-06 10:15:56 -0700 |
commit | 42086fe8e1244d93e87f0cada9d0b1a8b764c6a8 (patch) | |
tree | eee956eb5bae009e5da1557c49b3b169928a7c50 /pkg/sentry/fs/ramfs/file.go | |
parent | 3ec074897f9d0aba21bc9f41be18f52bfbeb599e (diff) |
Make ramfs.File savable
In other news, apparently proc.fdInfo is the last user of ramfs.File.
PiperOrigin-RevId: 207564572
Change-Id: I5a92515698cc89652b80bea9a32d309e14059869
Diffstat (limited to 'pkg/sentry/fs/ramfs/file.go')
-rw-r--r-- | pkg/sentry/fs/ramfs/file.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/fs/ramfs/file.go b/pkg/sentry/fs/ramfs/file.go index e8363c3e2..0b94d92a1 100644 --- a/pkg/sentry/fs/ramfs/file.go +++ b/pkg/sentry/fs/ramfs/file.go @@ -30,6 +30,8 @@ import ( // thus should only be used for small files. // // A File is not mappable. +// +// +stateify savable type File struct { Entry |