diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-04-05 23:46:26 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-05 23:48:26 -0700 |
commit | fb4c700d0610ca83048aaf3a71682de0d9619156 (patch) | |
tree | d913b862cd80b6269d9d82d91af700c6ec568fbc /pkg/sentry/fsimpl/cgroupfs/cpuacct.go | |
parent | 56c69fb0e7f96e5bd5da9e0d29a78e05dd3e2bba (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/fsimpl/cgroupfs/cpuacct.go')
0 files changed, 0 insertions, 0 deletions