tomoyo_mount_permission(9)
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. MaybeNULLπpathβ Pointer tostruct path. Thatβs the type, no cap πtypeβ Name of filesystem type. MaybeNULLπflagsβ Mount options, bestie.data_pageβ Optional data. MaybeNULLtoo π
π DESCRIPTION π
Returns 0 on success, negative value otherwise. Thatβs the whole tea β β no extra lore, fr fr.
π₯ SEE ALSO π₯
- Kernel file
./security/tomoyo/mount.c tomoyo_audit_mount_log(9)tomoyo_check_mount_acl(9)tomoyo_mount_acl(9)
mwah π β source/version is ./security/tomoyo, October 2026, and this page is tomoyo_mount_permission(9) π«Ά
π¦ 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