tomoyo_sb_umount(9)
π¦ 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 tostruct 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:
tomoyo_domain(9)tomoyo_cred_prepare(9)tomoyo_bprm_committed_creds(9)tomoyo_bprm_creds_for_exec(9)tomoyo_bprm_check_security(9)tomoyo_inode_getattr(9)tomoyo_path_truncate(9)tomoyo_file_truncate(9)tomoyo_path_unlink(9)tomoyo_path_mkdir(9)tomoyo_path_rmdir(9)tomoyo_path_symlink(9)tomoyo_path_mknod(9)tomoyo_path_link(9)tomoyo_path_rename(9)tomoyo_file_fcntl(9)tomoyo_file_open(9)tomoyo_file_ioctl(9)tomoyo_path_chmod(9)tomoyo_path_chown(9)tomoyo_path_chroot(9)tomoyo_sb_mount(9)tomoyo_sb_pivotroot(9)tomoyo_socket_listen(9)tomoyo_socket_connect(9)tomoyo_socket_bind(9)tomoyo_socket_sendmsg(9)tomoyo_task_alloc(9)tomoyo_task_free(9)tomoyo_init(9)
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 you0, anything else gives you a negative value, andmntis astruct 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
- 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