[f2fs-dev] [PATCH 1/4] fs-verity: remove filenames from file comments

2020-11-13 Thread Eric Biggers
From: Eric Biggers Embedding the file path inside kernel source code files isn't particularly useful as often files are moved around and the paths become incorrect. checkpatch.pl warns about this since v5.10-rc1. Signed-off-by: Eric Biggers --- fs/verity/enable.c| 2 +- fs/verity/hash_alg

[f2fs-dev] [PATCH 3/4] fs-verity: rename "file measurement" to "file digest"

2020-11-13 Thread Eric Biggers
From: Eric Biggers I originally chose the name "file measurement" to refer to the fs-verity file digest to avoid confusion with traditional full-file digests or with the bare root hash of the Merkle tree. But the name "file measurement" hasn't caught on, and usually people are calling it somethi

[f2fs-dev] [PATCH 2/4] fs-verity: rename fsverity_signed_digest to fsverity_formatted_digest

2020-11-13 Thread Eric Biggers
From: Eric Biggers The name "struct fsverity_signed_digest" is causing confusion because it isn't actually a signed digest, but rather it's the way that the digest is formatted in order to be signed. Rename it to "struct fsverity_formatted_digest" to prevent this confusion. Also update the stru

[f2fs-dev] [PATCH 0/4] fs-verity cleanups

2020-11-13 Thread Eric Biggers
This patchset renames some names that have been causing confusion: - fsverity_signed_digest is renamed to fsverity_formatted_digest - "fs-verity file measurement" is renamed to "fs-verity file digest" In addition, this patchset moves fsverity_descriptor and fsverity_formatted_digest to the UAPI

[f2fs-dev] [PATCH 4/4] fs-verity: move structs needed for file signing to UAPI header

2020-11-13 Thread Eric Biggers
From: Eric Biggers Although it isn't used directly by the ioctls, "struct fsverity_descriptor" is required by userspace programs that need to compute fs-verity file digests in a standalone way. Therefore it's also needed to sign files in a standalone way. Similarly, "struct fsverity_formatted_d

[f2fs-dev] [PATCH] lib: zstd: fix semicolon.cocci warnings

2020-11-13 Thread kernel test robot
From: kernel test robot lib/zstd/compress/zstd_compress.c:3248:24-25: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Nick Terrell Reported-by: kernel test robot Signed-off-by: kernel test robot --- url: https://github.com/0day-