devcgroup_l...k_permission(9)
Okay bestie, welcome to the Kernel API Manual β the header title for this one is devcgroup_l...k_permission(9), and the full-name glow-up is waiting in NAME below. π
β¨
πΈ NAME πΈ
devcgroup_legacy_check_permission β checks if an inode operation is permitted. Periodt.
β¨ SYNOPSIS β¨
int devcgroup_legacy_check_permission (short type , u32 major , u32 minor , short access );
π ARGUMENTS π
typeβ device type.majorβ device major number.minorβ device minor number.accessβ combination ofDEVCG_ACC_WRITE,DEVCG_ACC_READandDEVCG_ACC_MKNOD.
π DESCRIPTION π
It returns 0 on success, and -EPERM in the case that the operation is not permitted. Thatβs the whole vibe check: success = 0, not allowed = -EPERM. πβ¨
π¦ SEE ALSO π¦
Kernel file: ./security/device_cgroup.c
dev_exception_clean(9)devcgroup_online(9)match_exception(9)match_exception_partial(9)verify_new_ex(9)parent_allows_removal(9)may_allow_all(9)revalidate_active_exceptions(9)propagate_exception(9)
Cute little sign-off, bestie: this pageβs source/version is ./security, and itβs dated October 2026. The footer also has devcgroup_l...k_permission(9) in the corner β 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