From 42086fe8e1244d93e87f0cada9d0b1a8b764c6a8 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Mon, 6 Aug 2018 10:14:40 -0700 Subject: Make ramfs.File savable In other news, apparently proc.fdInfo is the last user of ramfs.File. PiperOrigin-RevId: 207564572 Change-Id: I5a92515698cc89652b80bea9a32d309e14059869 --- pkg/sentry/fs/ramfs/file.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/sentry/fs') 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 -- cgit v1.2.3