diff options
author | Dean Deng <deandeng@google.com> | 2020-04-20 08:50:27 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-20 08:51:47 -0700 |
commit | 1a940f2b6c834693d9f85e3b648a3be3d986129d (patch) | |
tree | 71211e7b9e052a22d1ee2b3b88e1e7f02f80ebb6 /LICENSE | |
parent | db2a60be67f0e869a58eb12d253a0d7fe13ebfa3 (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 'LICENSE')
0 files changed, 0 insertions, 0 deletions