bpf_get_fsverity_digest(9)
π bpf_get_fsverity_digest(9) π
okay so welcome to the Kernel API Manual, bestie β today's main character is bpf_get_fsverity_digest(9). It's giving kernel API, it's giving fsverity, and we're reading this page together like the iconic little reference it is. β¨
πΈ NAME πΈ
bpf_get_fsverity_digest β read fsverity digest of file. That's the whole vibe: digest, file, done. π
π¦ SYNOPSIS π¦
__bpf_kfunc int bpf_get_fsverity_digest (struct file *file , const
struct bpf_dynptr *digest_p );
π ARGUMENTS π
fileβ file to get digest from. Like, the actual file, bestie. πdigest_pβ(out)dynptr forstruct fsverity_digest. It's the out-param situation, so the digest info goes here. π«Ά
π₯ DESCRIPTION π₯
Read fsverity_digest of file into digest_ptr. That's the sentence, and honestly it ate. No cap. π
π RETURN π
0 on success, a negative value on error. So: happy path = 0; sad path = negative value. Periodt. π
π SEE ALSO π
Peep the Kernel file ./fs/verity/measure.c, plus fsverity_ioctl_measure(9) and fsverity_get_digest(9). iykyk. π§
xoxo, your Unix bestie π β from the ./fs/verity source/version corner, dated October 2026. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms