diff options
author | John Johansen <john.johansen@canonical.com> | 2011-07-22 17:14:15 +0200 |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2011-08-10 06:29:01 +0200 |
commit | 764355487ea220fdc2faf128d577d7f679b91f97 (patch) | |
tree | f265a3f71bd57838bf3d00c26ed385f8978ef139 /lib/kasprintf.c | |
parent | eCryptfs: Fix payload_len unitialized variable warning (diff) | |
download | linux-764355487ea220fdc2faf128d577d7f679b91f97.tar.xz linux-764355487ea220fdc2faf128d577d7f679b91f97.zip |
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>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions