tomoyo_path_number_perm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ tomoyo_path_number_perm(9) β€” Kernel API Manual πŸŽ€

okay bestie, welcome to the permission-checking page. it’s giving kernel security but make it cute πŸ’…βœ¨

πŸ’– NAME πŸ’–

tomoyo_path_number_perm β€” checks permission for "create", "mkdir", "mkfifo", "mksock", "ioctl", "chmod", "chown", and "chgrp". periodt 🫢

πŸ¦‹ SYNOPSIS πŸ¦‹

       int tomoyo_path_number_perm (const u8 type , const struct path *path ,
       unsigned long number );

that’s the signature, no remix, no edits πŸ’–

🌸 ARGUMENTS 🌸

  • type β€” the type of operation. yep, that’s the vibe πŸŽ€
  • path β€” a pointer to struct path. literally what it says πŸ’«
  • number β€” the number. that’s it, that’s the whole thing πŸ”’

πŸ”₯ DESCRIPTION πŸ”₯

Returns 0 on success, and a negative value otherwise. that’s the whole plot twist, bestie 😭✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/tomoyo/file.c is home base, and the linked-up crew is:


okay bye bestie πŸ’– this page is sourced from ./security/tomoyo, dated October 2026, and it’s the tomoyo_path_number_perm(9) page from the Kernel API Manual. slay and stay safe 🫢✨

πŸ“¦ where this page comes from