tomoyo_execute_permission(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tomoyo_execute_permission(9) πŸ’…

okay bestie, welcome to the Kernel API Manual corner of the group chat ✨ this one is all about tomoyo_execute_permission β€” the permission-checker for execute operation, and yes she has main character energy.


🌸 NAME 🌸

tomoyo_execute_permission β€” check permission for execute operation. periodt πŸ’…


✨ SYNOPSIS ✨

the signature, exactly as she comes:

int tomoyo_execute_permission (struct tomoyo_request_info *r , const
       struct tomoyo_path_info *filename );

πŸŽ€ ARGUMENTS πŸŽ€

  • r β€” pointer to "struct tomoyo_request_info".
  • filename β€” filename to check.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the function returns 0 on success, and a negative value otherwise β€” that's the whole mood. πŸ’–

and bestie, the caller holds tomoyo_read_lock. no cap, that's part of the setup. 🫢


πŸ’œ SEE ALSO πŸ’œ

the whole friend group is linked here β€” kernel file ./security/tomoyo/file.c plus all these icons:

mwah πŸ’– this page came from ./security/tomoyo, dated October 2026, and it's all about tomoyo_execute_permission(9) β€” bye bestie 🫢

πŸ“¦ where this page comes from