[GIT PULL] eCryptfs fixes for 3.5-rc6

From: Tyler Hicks
Date: Fri Jul 06 2012 - 18:27:35 EST


Hi Linus,

The following changes since commit ff826b2b5b269ad440afa686ede879ccabfda387:

Merge tag 'sound-3.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2012-07-03 11:10:18 -0700)

are available in the git repository at:


git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git tags/ecryptfs-3.5-rc6-fixes

for you to fetch changes up to 8dc6780587c99286c0d3de747a2946a76989414a:

eCryptfs: Gracefully refuse miscdev file ops on inherited/passed files (2012-07-06 15:51:12 -0500)

----------------------------------------------------------------
Fixes an incorrect access mode check when preparing to open a file in the lower
filesystem. This isn't an urgent fix, but it is simple and the check was
obviously incorrect.

Also fixes a couple important bugs in the eCryptfs miscdev interface. These
changes are low risk due to the small number of users that use the miscdev
interface. I was able to keep the changes minimal and I have some cleaner, more
complete changes queued up for the next merge window that will build on these
patches.

----------------------------------------------------------------
Tyler Hicks (3):
eCryptfs: Properly check for O_RDONLY flag before doing privileged open
eCryptfs: Fix lockdep warning in miscdev operations
eCryptfs: Gracefully refuse miscdev file ops on inherited/passed files

fs/ecryptfs/kthread.c | 2 +-
fs/ecryptfs/miscdev.c | 48 +++++++++++++++++++++++++++++-------------------
2 files changed, 30 insertions(+), 20 deletions(-)

Attachment: signature.asc
Description: Digital signature