summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2020-04-20 08:50:27 -0700
committergVisor bot <gvisor-bot@google.com>2020-04-20 08:51:47 -0700
commit1a940f2b6c834693d9f85e3b648a3be3d986129d (patch)
tree71211e7b9e052a22d1ee2b3b88e1e7f02f80ebb6 /pkg/sentry/kernel
parentdb2a60be67f0e869a58eb12d253a0d7fe13ebfa3 (diff)
Resolve issue with file mode for host fds.
Instead of plumbing error through kernfs.Inode.Mode, panic if err != nil. The errors that can result from an fstat syscall all indicate that something is fundamentally wrong, and panicking should be acceptable. PiperOrigin-RevId: 307406847
Diffstat (limited to 'pkg/sentry/kernel')
0 files changed, 0 insertions, 0 deletions