mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
efcc7ae2c9
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>
5 lines
135 B
Makefile
5 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
|