FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 08-01-2012, 03:42 PM
Colin King
 
Default eCryptfs: Gracefully refuse miscdev file ops on inherited/passed files

From: Colin Ian King <colin.king@canonical.com>

BugLink: https://launchpad.net/bugs/994247

SRU justification:

Impact:

File operations on /dev/ecryptfs would BUG() when the operations were
performed by processes other than the process that originally opened the
file. This could happen with open files inherited after fork() or file
descriptors passed through IPC mechanisms.

Fix:

upstream cherry pick of commit 8dc6780587c99286c0d3de747a2946a76989414a

Testcase:

http://bazaar.launchpad.net/~ecryptfs/ecryptfs/trunk/revision/696
(test lp-994247.sh)

Without the fix, this test fails. With the fix, it passes.

Tyler Hicks (1):
eCryptfs: Gracefully refuse miscdev file ops on inherited/passed
files

fs/ecryptfs/miscdev.c | 23 ++++++++++++++++-------
1 file changed, 16 insertions(+), 7 deletions(-)

--
1.7.10.4


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 06:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org