linux/fs/crypto
Eric Biggers 0ea87a9644 fscrypt: new helper function - fscrypt_prepare_link()
Introduce a helper function which prepares to link an inode into a
possibly-encrypted directory.  It handles setting up the target
directory's encryption key, then verifying that the link won't violate
the constraint that all files in an encrypted directory tree use the
same encryption policy.

Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2017-10-18 19:52:38 -04:00
..
bio.c block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
crypto.c fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED() 2017-10-18 19:52:36 -04:00
fname.c fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED() 2017-10-18 19:52:36 -04:00
fscrypt_private.h fscrypt: clean up include file mess 2017-10-18 19:52:36 -04:00
hooks.c fscrypt: new helper function - fscrypt_prepare_link() 2017-10-18 19:52:38 -04:00
Kconfig fscrypt: add support for AES-128-CBC 2017-06-23 20:05:07 -04:00
keyinfo.c fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED() 2017-10-18 19:52:36 -04:00
Makefile fscrypt: new helper function - fscrypt_file_open() 2017-10-18 19:52:37 -04:00
policy.c fscrypt: switch from ->is_encrypted() to IS_ENCRYPTED() 2017-10-18 19:52:36 -04:00