tomoyo_path_number_perm(9)
π 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 tostruct 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:
tomoyo_put_name_union(9),tomoyo_compare_name_union(9),tomoyo_put_number_union(9),tomoyo_compare_number_union(9),tomoyo_add_slash(9),tomoyo_get_realpath(9),tomoyo_audit_path_log(9),tomoyo_audit_path2_log(9),tomoyo_audit_mkdev_log(9),tomoyo_audit_path_number_log(9)tomoyo_check_path_acl(9),tomoyo_check_path_number_acl(9),tomoyo_check_path2_acl(9),tomoyo_check_mkdev_acl(9),tomoyo_same_path_acl(9),tomoyo_merge_path_acl(9),tomoyo_update_path_acl(9),tomoyo_same_mkdev_acl(9),tomoyo_merge_mkdev_acl(9),tomoyo_update_mkdev_acl(9)tomoyo_same_path2_acl(9),tomoyo_merge_path2_acl(9),tomoyo_update_path2_acl(9),tomoyo_path_permission(9),tomoyo_execute_permission(9),tomoyo_same_path_number_acl(9),tomoyo_merge_path_number_acl(9),tomoyo_update_path_number_acl(9),tomoyo_check_open_permission(9)tomoyo_path_perm(9),tomoyo_mkdev_perm(9),tomoyo_path2_perm(9),tomoyo_same_mount_acl(9),tomoyo_update_mount_acl(9),tomoyo_write_file(9)
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
- 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