aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorRobbie Ko <[email protected]>2018-08-21 16:17:40 +0800
committerTyler Hicks <[email protected]>2019-02-16 23:18:57 +0000
commitd43388dea04b18f516bd7c837d9222fe7309b12d (patch)
tree49ecee9a2b01849ef2cd7d8bb340a6311969f54a /tools/perf/scripts/python/mem-phys-addr.py
parent4b47a8b51e7bc0bcd1fa8e546a6333a04ab760d8 (diff)
eCryptfs: fix permission denied with ecryptfs_xattr mount option when create readonly file
When the ecryptfs_xattr mount option is turned on, the ecryptfs metadata will be written to xattr via vfs_setxattr, which will check the WRITE permissions. However, this will cause denial of permission when creating a file withoug write permission. So fix this by calling __vfs_setxattr directly to skip permission check. Signed-off-by: Robbie Ko <[email protected]> [tyhicks: Copy up lower inode attributes when successful] Signed-off-by: Tyler Hicks <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions