tomoyo_path_perm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so this is the manual page for tomoyo_path_perm(9) from the Kernel API Manual, and it's literally the vibe check for "unlink", "rmdir", "truncate", "symlink", "append", "chroot" and "unmount" permissions. bestie, it checks permission for all of those, no cap πŸ’…

✨ SYNOPSIS ✨

int tomoyo_path_perm (const u8 operation , const struct path *path ,
       const char *target );

πŸŽ€ ARGUMENTS πŸŽ€

  • operation β€” type of operation. what kind of path thing are we checking, bestie?
  • path β€” pointer to struct path. the path in question, obviously.
  • target β€” symlink's target if operation is TOMOYO_TYPE_SYMLINK, NULL otherwise.

πŸ’… DESCRIPTION πŸ’…

Returns 0 on success, negative value otherwise. that's the whole tea, fr fr slay ✨

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./security/tomoyo/file.c, and here's the whole SEE ALSO group chat, every single one:


okay that's the whole page, bestie 🫢 this one's source/version is ./security/tomoyo, dated October 2026 β€” tomoyo_path_perm(9) signing off, mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from