fsverity_active(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fsverity_active(9) β€” a Kernel API Manual moment πŸ’–

okay so bestie, welcome to fsverity_active(9) from the Kernel API Manual, and honestly? this tiny little function is doing the most for file integrity and we're gonna talk about it 🫢


✨ NAME ✨

fsverity_active β€” the vibes check that answers: do reads from the inode need to go through fs-verity? πŸ‘€


🌸 SYNOPSIS 🌸

bool fsverity_active (const struct inode *inode );

literally that's the whole signature, she's compact and she knows it πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” the inode to check πŸ¦‹ that's it, that's the argument, no cap

🧚 DESCRIPTION 🧚

so what does she do, you ask? she checks whether the inode's verity info has been set, and whether reads need to verify the file data. that's the whole assignment and she ate πŸ”₯

like, it's giving "am I supposed to be doing the extra verify step or not" energy, and she is the one who tells you πŸ™ˆ


⭐ RETURN ⭐

  • true β€” if reads need to go through fs-verity βœ…
  • otherwise false β€” nope, no fs-verity detour for these reads πŸ’€

🌈 SEE ALSO 🌈

go read those too bestie, iykyk πŸ“šβœ¨


lowkey reminder: this page lives in ./include/linux, dated October 2026, and it's page fsverity_active(9) β€” mwah, slay, periodt πŸ’œπŸ‘‘
πŸ“¦ where this page comes from