This website requires JavaScript.
Explore
Help
Register
Sign In
AcoSail
/
kernel_optimize_test
Watch
8
Star
0
Fork
0
You've already forked kernel_optimize_test
forked from
luck/tmp_suning_uos_patched
Code
Pull Requests
Activity
c1d9b584e2
kernel_optimize_test
/
fs
/
verity
/
Makefile
6 lines
105 B
Makefile
Raw
Normal View
History
Unescape
Escape
fs-verity: add Kconfig and the helper functions for hashing Add the beginnings of the fs/verity/ support layer, including the Kconfig option and various helper functions for hashing. To start, only SHA-256 is supported, but other hash algorithms can easily be added. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com>
2019-07-23 00:26:21 +08:00
# SPDX-License-Identifier: GPL-2.0
obj-$(CONFIG_FS_VERITY)
+=
hash_algs.o
\
fs-verity: add the hook for file ->open() Add the fsverity_file_open() function, which prepares an fs-verity file to be read from. If not already done, it loads the fs-verity descriptor from the filesystem and sets up an fsverity_info structure for the inode which describes the Merkle tree and contains the file measurement. It also denies all attempts to open verity files for writing. This commit also begins the include/linux/fsverity.h header, which declares the interface between fs/verity/ and filesystems. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com>
2019-07-23 00:26:22 +08:00
init.o
\
open.o
Copy Permalink