diff options
| author | Tyler Hicks <[email protected]> | 2014-10-07 20:51:55 +0000 |
|---|---|---|
| committer | Tyler Hicks <[email protected]> | 2014-10-23 13:11:03 +0000 |
| commit | 332b122d39c9cbff8b799007a825d94b2e7c12f2 (patch) | |
| tree | 3676cdebea8bffb909942ee4e5adb1b7ced2fc0f /drivers/net/xen-netback/interface.c | |
| parent | Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/... (diff) | |
| download | kernel-332b122d39c9cbff8b799007a825d94b2e7c12f2.tar.gz kernel-332b122d39c9cbff8b799007a825d94b2e7c12f2.zip | |
eCryptfs: Force RO mount when encrypted view is enabled
The ecryptfs_encrypted_view mount option greatly changes the
functionality of an eCryptfs mount. Instead of encrypting and decrypting
lower files, it provides a unified view of the encrypted files in the
lower filesystem. The presence of the ecryptfs_encrypted_view mount
option is intended to force a read-only mount and modifying files is not
supported when the feature is in use. See the following commit for more
information:
e77a56d [PATCH] eCryptfs: Encrypted passthrough
This patch forces the mount to be read-only when the
ecryptfs_encrypted_view mount option is specified by setting the
MS_RDONLY flag on the superblock. Additionally, this patch removes some
broken logic in ecryptfs_open() that attempted to prevent modifications
of files when the encrypted view feature was in use. The check in
ecryptfs_open() was not sufficient to prevent file modifications using
system calls that do not operate on a file descriptor.
Signed-off-by: Tyler Hicks <[email protected]>
Reported-by: Priya Bansal <[email protected]>
Cc: [email protected] # v2.6.21+: e77a56d [PATCH] eCryptfs: Encrypted passthrough
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
