diff options
author | Rahat Mahmood <rahat@google.com> | 2019-04-01 15:38:08 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-04-01 15:39:16 -0700 |
commit | 7cff746ef2bbe5351e5985bebc88efc9e0881c78 (patch) | |
tree | c33298a64853f1f33e4b7dbc6fdb5c5f7f6bb612 /pkg/sentry/kernel/BUILD | |
parent | 1a02ba3e6e1ee01e878efcff6a20ab7ff3083303 (diff) |
Save/restore simple devices.
We weren't saving simple devices' last allocated inode numbers, which
caused inode number reuse across S/R.
PiperOrigin-RevId: 241414245
Change-Id: I964289978841ef0a57d2fa48daf8eab7633c1284
Diffstat (limited to 'pkg/sentry/kernel/BUILD')
-rw-r--r-- | pkg/sentry/kernel/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/BUILD b/pkg/sentry/kernel/BUILD index 4d34bc733..99a2fd964 100644 --- a/pkg/sentry/kernel/BUILD +++ b/pkg/sentry/kernel/BUILD @@ -137,6 +137,7 @@ go_library( importpath = "gvisor.googlesource.com/gvisor/pkg/sentry/kernel", imports = [ "gvisor.googlesource.com/gvisor/pkg/bpf", + "gvisor.googlesource.com/gvisor/pkg/sentry/device", "gvisor.googlesource.com/gvisor/pkg/tcpip", ], visibility = ["//:sandbox"], @@ -156,6 +157,7 @@ go_library( "//pkg/secio", "//pkg/sentry/arch", "//pkg/sentry/context", + "//pkg/sentry/device", "//pkg/sentry/fs", "//pkg/sentry/fs/lock", "//pkg/sentry/fs/timerfd", |