From: John Johansen Date: Fri, 22 Jul 2011 15:14:15 +0000 (-0700) Subject: Ecryptfs: Add mount option to check uid of device being mounted = expect uid X-Git-Tag: v3.1-rc2~31^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=764355487ea220fdc2faf128d577d7f679b91f97;p=pandora-kernel.git Ecryptfs: Add mount option to check uid of device being mounted = expect uid Close a TOCTOU race for mounts done via ecryptfs-mount-private. The mount source (device) can be raced when the ownership test is done in userspace. Provide Ecryptfs a means to force the uid check at mount time. Signed-off-by: John Johansen Cc: Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed