3 Commits

Author SHA1 Message Date
Jaegeuk Kim
cc21bc5138 ecryptfs/ICE: support PFK
ecryptfs: enhancing ecryptfs to be configurable with encryption type
PFK: fixed issue where key in TZ was not set properly
eCryptfs: fixed some major bugs
eCryptfs: fixes issue where files sometimes got corrupted upon close
eCryptfs: fixed bug in cipher handling
security: pfe: Fix the qualifier used to print size_t
ecryptfs: forbid opening files without mmap handler
Revert "ecryptfs: forbid opening files without mmap handler"
UPSTREAM: ecryptfs: fix handling of directory opening
ecryptfs: forbid opening files without mmap handler

Bug: 68721442
Bug: 68995224
Change-Id: I202cfbc36607a44b6cb3dfa5c4416e0adddf32a8
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
2017-11-27 18:17:03 -08:00
Kees Cook
290502bee2 eCryptfs: allow userspace messaging to be disabled
When the userspace messaging (for the less common case of userspace key
wrap/unwrap via ecryptfsd) is not needed, allow eCryptfs to build with
it removed. This saves on kernel code size and reduces potential attack
surface by removing the /dev/ecryptfs node.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
2013-03-03 23:59:59 -08:00
Roberto Sassu
f8f8527103 eCryptfs: export global eCryptfs definitions to include/linux/ecryptfs.h
Some eCryptfs specific definitions, such as the current version and the
authentication token structure, are moved to the new include file
'include/linux/ecryptfs.h', in order to be available for all kernel
subsystems.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
Acked-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
2011-06-27 09:11:02 -04:00