aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorTyler Hicks <[email protected]>2009-08-12 06:06:54 +0000
committerTyler Hicks <[email protected]>2009-09-23 14:10:32 +0000
commitac22ba23b659e34a5961aec8c945608e471b0d5b (patch)
tree6629c15380fe2db238fa078e912f4cf393708161 /fs/proc/array.c
parenteCryptfs: Handle unrecognized tag 3 cipher codes (diff)
downloadkernel-ac22ba23b659e34a5961aec8c945608e471b0d5b.tar.gz
kernel-ac22ba23b659e34a5961aec8c945608e471b0d5b.zip
eCryptfs: Check for O_RDONLY lower inodes when opening lower files
If the lower inode is read-only, don't attempt to open the lower file read/write and don't hand off the open request to the privileged eCryptfs kthread for opening it read/write. Instead, only try an unprivileged, read-only open of the file and give up if that fails. This patch fixes an oops when eCryptfs is mounted on top of a read-only mount. Acked-by: Serge Hallyn <[email protected]> Cc: Eric Sandeen <[email protected]> Cc: Dave Kleikamp <[email protected]> Cc: [email protected] Cc: stable <[email protected]> Signed-off-by: Tyler Hicks <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions