summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/dirent_cache.go
diff options
context:
space:
mode:
authorAyush Ranjan <ayushranjan@google.com>2021-04-05 23:46:26 -0700
committergVisor bot <gvisor-bot@google.com>2021-04-05 23:48:26 -0700
commitfb4c700d0610ca83048aaf3a71682de0d9619156 (patch)
treed913b862cd80b6269d9d82d91af700c6ec568fbc /pkg/sentry/fs/dirent_cache.go
parent56c69fb0e7f96e5bd5da9e0d29a78e05dd3e2bba (diff)
Update gofer dentry permissions only when needed.
Without this change, we ask the gofer server to update the permissions whenever the UID, GID or size is updated via SetStat. Consequently, we don not generate inotify events when the permissions actually change due to SGID bit getting cleared. With this change, we will update the permissions only when needed and generate inotify events. PiperOrigin-RevId: 366946842
Diffstat (limited to 'pkg/sentry/fs/dirent_cache.go')
0 files changed, 0 insertions, 0 deletions