devcgroup_l...k_permission(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 of DEVCG_ACC_WRITE, DEVCG_ACC_READ and DEVCG_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


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