security_fs_...ext_submount(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… security_fs_context_submount(9) β€” Kernel API Manual ✨

ok so we're in the Kernel API Manual today bestie, and the page is security_fs_context_submount(9) β€” say that five times fast, I dare you 🫢


🌸 NAME 🌸

security_fs_context_submount β€” initialises fc->security πŸ’–

✨ SYNOPSIS ✨

int security_fs_context_submount (struct fs_context *fc , struct
super_block *reference );

πŸŽ€ ARGUMENTS πŸŽ€

  • fc β€” the brand-new filesystem context, fresh out the box, main character energy πŸ‘‘
  • reference β€” the dentry reference for the submount/remount, aka the vibe it's referencing πŸ’«

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does is, it fills out the ->security field for a new fs_context. That's it. That's the whole personality. Lowkey iconic for how simple it is ngl πŸ’…

⭐ RETURN ⭐

Returns 0 on success, or a negative error code on failure. No in-between, no "it depends", periodt πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./security/security.c, plus literally the entire guest list of the LSM function party β€” no cap, here's every single one 🎊


ok that's the whole page bestie, go touch some fs_context and hydrate πŸ’§πŸŒΈ

sign-off era: this little love letter comes from the ./security corner of the tree, dated October 2026, and it's filed under security_fs_...ext_submount(9) β€” yes the header truncates it, no we don't know why, mwah πŸ’‹πŸ§šβ€β™€οΈ
πŸ“¦ where this page comes from