diff options
author | Dean Deng <deandeng@google.com> | 2020-06-17 11:32:23 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-17 11:34:06 -0700 |
commit | e5d97cbcc1e64185b8fab1cf563c8754edd2e52e (patch) | |
tree | c621fe72067125d2b5c34bfd18cd52a428cd924b /pkg/refs/refcounter_state.go | |
parent | 50afec55c75dfd5bb88d100f77e17048dfbb3322 (diff) |
Refactor host.canMap.
Simplify the canMap check. We do not have plans to allow mmap for anything
beyond regular files, so we can just inline canMap() as a simple file mode
check.
Updates #1672.
PiperOrigin-RevId: 316929654
Diffstat (limited to 'pkg/refs/refcounter_state.go')
0 files changed, 0 insertions, 0 deletions