STRUCT LANDLOCK_SUPERBLOCK_SECURITY(9)
π NAME π
okay so bestie, this is the Kernel API Manual and we are literally looking at struct landlock_superblock_security β it's the superblock security blob, no cap π«Ά
β¨ SYNOPSIS β¨
here's the whole vibe, exactly as it slays in the source:
struct landlock_superblock_security {
atomic_long_t inode_refs;
};
π Members π
inode_refsβ this is the count of pending inodes (ones from this superblock, iykyk) thatrelease_inodeis still in the middle of releasing. Basically a little "how many are still in flight" tally. Cf.struct super_block->s_fsnotify_inode_refs.
π¦ Description π¦
the whole point of this struct? it lets hook_sb_delete wait for concurrent calls to release_inode to finish π no more racing ahead while stuff is still being cleaned up β it's giving responsible main character energy.
π SEE ALSO π
go peek at these, bestie, they're all in the same little friend group π
- Kernel file
./security/landlock/fs.h struct landlock_inode_security(9)struct landlock_file_security(9)resolve_path_for_trace(9)
and that's the whole page, periodt β¨ this masterpiece lives in ./security/landlock, it's dated October 2026, and it's from the Kernel API Manual β go off, kernel docs, you ate πΈππ
π¦ 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