diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2018-08-10 15:41:44 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-08-10 15:43:03 -0700 |
commit | 567c5eed11cfcea78b80169487664106a41fa1fe (patch) | |
tree | cde494fdd518f3ff4e8b8a804a2df01a37953c18 /pkg/sentry/fs/flags.go | |
parent | 3c60a192ca96838e895bd3607f8a85845245f81e (diff) |
cache policy: Check policy before returning a negative dirent.
The cache policy determines whether Lookup should return a negative dirent, or
just ENOENT. This CL fixes one spot where we returned a negative dirent without
first consulting the policy.
PiperOrigin-RevId: 208280230
Change-Id: I8f963bbdb45a95a74ad0ecc1eef47eff2092d3a4
Diffstat (limited to 'pkg/sentry/fs/flags.go')
0 files changed, 0 insertions, 0 deletions