commit | 764355487ea220fdc2faf128d577d7f679b91f97 | [log] [tgz] |
---|---|---|
author | John Johansen <john.johansen@canonical.com> | Fri Jul 22 08:14:15 2011 -0700 |
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | Tue Aug 09 23:29:01 2011 -0500 |
tree | f265a3f71bd57838bf3d00c26ed385f8978ef139 | |
parent | 99b373ff2d1246f64b97a3d449a2fd6018d504e6 [diff] |
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 <john.johansen@canonical.com> Cc: <stable@kernel.org> Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>