security_sb_umount(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

Bestie, welcome to security_sb_umount(9) β€” the manual page for security_sb_umount, aka the little permission check that happens before a filesystem gets unmounted. We are checking permission, not doing the unmount ourselves, okay? ✨


✨ SYNOPSIS ✨

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

🫢 ARGUMENTS 🫢

  • mnt β€” the mounted filesystem, aka the thing being looked at πŸ‘€
  • flags β€” unmount flags, literally the flags for the unmount vibe check 🚩

πŸ’– DESCRIPTION πŸ’–

Check permission before the mnt file system is unmounted. That's the whole job, and honestly? Iconic. The permission check gets to happen before the unmount goes through 🫑


🌈 RETURN 🌈

Returns 0 if permission is granted β€” that's the yes, the green light, the β€œgo off” πŸ’š


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/security.c is right there at the top of the guest list, and then literally the whole extended universe shows up πŸ‘‘:


This page comes from ./security and is dated October 2026 β€” mwah, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from