summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorZhaozhong Ni <nzz@google.com>2018-07-12 14:18:11 -0700
committerShentubot <shentubot@google.com>2018-07-12 14:19:04 -0700
commitbb41ad808a75b8a945d82df51f0e322d98edf951 (patch)
tree9e8d716220f35533523b07a1b833f15380cfb594 /pkg/sentry
parent45c50eb12436bcc477a0fbc2616bfd664a07c43f (diff)
sentry: save inet stacks in proc files.
PiperOrigin-RevId: 204362791 Change-Id: If85ea7442741e299f0d7cddbc3d6b415e285da81
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/fs/proc/net.go2
-rw-r--r--pkg/sentry/fs/proc/sys_net.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/fs/proc/net.go b/pkg/sentry/fs/proc/net.go
index ad94c475a..ee0c825e8 100644
--- a/pkg/sentry/fs/proc/net.go
+++ b/pkg/sentry/fs/proc/net.go
@@ -55,7 +55,7 @@ func (p *proc) newNetDir(ctx context.Context, msrc *fs.MountSource) *fs.Inode {
// ifinet6 implements seqfile.SeqSource for /proc/net/if_inet6.
type ifinet6 struct {
- s inet.Stack `state:"nosave"` // S/R-FIXME
+ s inet.Stack
}
func (n *ifinet6) contents() []string {
diff --git a/pkg/sentry/fs/proc/sys_net.go b/pkg/sentry/fs/proc/sys_net.go
index 2a108708c..f3a5043f8 100644
--- a/pkg/sentry/fs/proc/sys_net.go
+++ b/pkg/sentry/fs/proc/sys_net.go
@@ -102,7 +102,7 @@ func (m *tcpMem) DeprecatedPwritev(ctx context.Context, src usermem.IOSequence,
type tcpSack struct {
ramfs.Entry
- s inet.Stack `state:"nosave"` // S/R-FIXME
+ s inet.Stack
}
func newTCPSackInode(ctx context.Context, msrc *fs.MountSource, s inet.Stack) *fs.Inode {