tomoyo_mount_permission(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to tomoyo_mount_permission from the Kernel API Manual β€” we’re doing a little vibe check on mount permissions and it’s lowkey iconic ✨

🌸 NAME 🌸

tomoyo_mount_permission β€” Check permission for mount() operation. Slay, that’s the name bit πŸ’…

✨ SYNOPSIS ✨

       int tomoyo_mount_permission (const char *dev_name , const struct path
       *path , const char *type , unsigned long flags , void *data_page );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev_name β€” Name of device file. Maybe NULL πŸ™ˆ
  • path β€” Pointer to struct path. That’s the type, no cap πŸ’…
  • type β€” Name of filesystem type. Maybe NULL πŸ“
  • flags β€” Mount options, bestie.
  • data_page β€” Optional data. Maybe NULL too πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

Returns 0 on success, negative value otherwise. That’s the whole tea β˜• β€” no extra lore, fr fr.

πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” source/version is ./security/tomoyo, October 2026, and this page is tomoyo_mount_permission(9) 🫢

πŸ“¦ where this page comes from