Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 76435548 authored by John Johansen's avatar John Johansen Committed by Tyler Hicks
Browse files

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: default avatarJohn Johansen <john.johansen@canonical.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarTyler Hicks <tyhicks@linux.vnet.ibm.com>
parent 99b373ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment