tomoyo_sb_umount(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ tomoyo_sb_umount(9) β€” the Kernel API Manual era πŸ¦‹

okay so bestie, welcome to the tomoyo_sb_umount page πŸ’… this is a manpage from the Kernel API Manual, section 9, and it's literally the hook that security_sb_umount() calls. it's short, it's sweet, it's the whole vibe. let's get into it 🫢


✨ NAME ✨

tomoyo_sb_umount β€” Target for security_sb_umount(). that's it, that's the job πŸŽ€


🌸 SYNOPSIS 🌸

int tomoyo_sb_umount (struct vfsmount *mnt , int flags );

like… she takes a mount and some flags and hands you back an int. icon behavior honestly πŸ‘‘


🧚 ARGUMENTS 🧚

  • mnt β€” Pointer to struct vfsmount. it's giving "the thing that's getting unmounted," the main character of this whole function πŸ’–
  • flags β€” Unmount options. the little extra details that tell the unmount how to behave ✨

πŸ’œ DESCRIPTION πŸ’œ

Returns 0 on success, negative value otherwise. no cap, that's the entire description 😭 she's not complicated, she's just honest. zero = slay, negative = not slay. 🌈


πŸŽ€ SEE ALSO πŸŽ€

and now the friend group πŸ’… every single one of these is listed in the kernel file ./security/tomoyo/tomoyo.c and they all get a (9) because they're all kernel API girlies:

thirty of them. thirty!! the way that TOMOYO has a hook for everything and isn't afraid to show it πŸ’€ iykyk πŸ“


ngl bestie, if you only remember one thing: success gives you 0, anything else gives you a negative value, and mnt is a struct vfsmount *. don't overthink her, she's a simple icon πŸ§šβ€β™€οΈ

and that's the page!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«ΆπŸ˜­πŸ”₯πŸ‘‘πŸŒˆβ­πŸ’€πŸ™ˆπŸ“πŸ§šπŸ’œ

this little love letter lives in the source directory ./security/tomoyo and it's dated October 2026 β€” signed off with all the sparkle it deserves. periodt πŸ’…βœ¨

πŸ“¦ where this page comes from