tomoyo_mkdev_perm(9)
π«Ά tomoyo_mkdev_perm(9) π«Ά
okay so this is a Kernel API Manual page β yes, the tomoyo_mkdev_perm(9) one β and we're keeping every single detail, no cap. π
πΈ NAME πΈ
tomoyo_mkdev_perm β Check permission for "mkblock" and "mkchar".
β¨ SYNOPSIS β¨
int tomoyo_mkdev_perm (const u8 operation , const struct path *path ,
const unsigned int mode , unsigned int dev );
π ARGUMENTS π
operationβ Type of operation. It's eitherTOMOYO_TYPE_MKCHARorTOMOYO_TYPE_MKBLOCK.pathβ Pointer tostruct path.modeβ Create mode.devβ Device number.
π¦ DESCRIPTION π¦
Returns 0 on success, negative value otherwise. That's the whole return-value vibe, bestie. π
π₯ SEE ALSO π₯
Kernel file ./security/tomoyo/file.c β plus the full icon squad:
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_path2_perm(9)tomoyo_same_mount_acl(9)tomoyo_update_mount_acl(9)tomoyo_write_file(9)
okay bye bestie π β source/version: ./security/tomoyo, date: October 2026, page: tomoyo_mkdev_perm(9) β mwah πβ¨
π¦ 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