diff options
| author | Raghavendra G <rgowdapp@redhat.com> | 2018-05-25 12:27:43 +0530 |
|---|---|---|
| committer | Raghavendra G <rgowdapp@redhat.com> | 2018-05-29 08:44:21 +0000 |
| commit | df838299a8a1732cff9972c9f2377e9c2a4844a0 (patch) | |
| tree | 1c8f9ea20e6f79db49695b85d882caf7f60b32df /geo-replication/syncdaemon/monitor.py | |
| parent | c8a3e8ed1cce774a63b60b2e793b6742920b8cd1 (diff) | |
performance/open-behind: open pending fds before permission change
setattr, posix-acl and selinux changes on a file can revoke permission
to open the file after permission changes. To prevent that, make sure
the pending fd is opened before winding down setattr or setxattr (for
posix-acl and selinux) calls.
Change-Id: Ib0b91795d286072e445190f9a1b3b1e9cd363282
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
fixes: bz#1405147
Diffstat (limited to 'geo-replication/syncdaemon/monitor.py')
0 files changed, 0 insertions, 0 deletions
