mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
![Eric Biggers](/assets/img/avatar_default.png)
Add a helper function which prepares to open a regular file which may be encrypted. It handles setting up the file's encryption key, then checking that the file's encryption policy matches that of its parent directory (if the parent directory is encrypted). It may be set as the ->open() method or it can be called from another ->open() method. Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
4 lines
135 B
Makefile
4 lines
135 B
Makefile
obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o
|
|
|
|
fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o
|
|
fscrypto-$(CONFIG_BLOCK) += bio.o
|