linux/fs/verity
Zhang Jianhua e6af1bb077 fs-verity: Use struct_size() helper in enable_verity()
Follow the best practice for allocating a variable-sized structure.

Signed-off-by: Zhang Jianhua <chris.zjh@huawei.com>
[ebiggers: adjusted commit message]
Signed-off-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20220519022450.2434483-1-chris.zjh@huawei.com
2022-05-19 09:53:33 -07:00
..
enable.c fs-verity: Use struct_size() helper in enable_verity() 2022-05-19 09:53:33 -07:00
fsverity_private.h fs-verity: remove unused parameter desc_size in fsverity_create_info() 2022-05-18 11:01:31 -07:00
hash_algs.c fs-verity: remove filenames from file comments 2020-11-16 11:40:10 -08:00
init.c fs-verity: remove filenames from file comments 2020-11-16 11:40:10 -08:00
Kconfig fsverity: relax build time dependency on CRYPTO_SHA256 2021-04-22 17:31:32 +10:00
Makefile fs-verity: add FS_IOC_READ_VERITY_METADATA ioctl 2021-02-07 14:51:11 -08:00
measure.c fs-verity: rename "file measurement" to "file digest" 2020-11-16 11:40:12 -08:00
open.c fs-verity: remove unused parameter desc_size in fsverity_create_info() 2022-05-18 11:01:31 -07:00
read_metadata.c fs-verity: remove unused parameter desc_size in fsverity_create_info() 2022-05-18 11:01:31 -07:00
signature.c fs-verity: don't pass whole descriptor to fsverity_verify_signature() 2021-02-07 14:51:09 -08:00
verify.c fs: Remove ->readpages address space operation 2022-04-01 13:45:33 -04:00