tomoyo_path2_perm(9)
πΈ NAME πΈ
okay bestie, welcome to tomoyo_path2_perm(9) from the Kernel API Manual β¨. This is the permission check for "rename", "link", and "pivot_root" β yes, exactly those three, periodt π
.
β¨ SYNOPSIS β¨
int tomoyo_path2_perm (const u8 operation , const struct path *path1 ,
const struct path *path2 );
π ARGUMENTS π
operationβ type of operation. like, which op are we even checking, bestie? πpath1β pointer tostruct path. π€οΈpath2β pointer tostruct path. π€οΈ
π¦ DESCRIPTION π¦
Returns 0 on success, negative value otherwise. That's the whole return-value tea β: 0 means success, negative means otherwise π. No extra lore, no hidden vibes.
π SEE ALSO π
Kernel file ./security/tomoyo/file.c is where the whole crew hangs out, and here's the full friend list β no one left out, iykyk π:
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_path_number_perm(9)tomoyo_check_open_permission(9)tomoyo_path_perm(9)tomoyo_mkdev_perm(9)tomoyo_same_mount_acl(9)tomoyo_update_mount_acl(9)tomoyo_write_file(9)
mwah π β sourced from ./security/tomoyo, dated October 2026, and this iconic page is tomoyo_path2_perm(9). byeee π«Ά
π¦ 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