verify_new_ex(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

verify_new_ex(9) from the Kernel API Manual is the function that verifies if a new exception is allowed by parent cgroup's permissions. πŸ’–


πŸ’… SYNOPSIS πŸ’…

bool verify_new_ex (struct dev_cgroup *dev_cgroup , struct
       dev_exception_item *refex , enum devcg_behavior behavior );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev_cgroup β€” the dev cgroup to be tested against, bestie. 🫢
  • refex β€” the new exception, aka the thing getting checked. ✨
  • behavior β€” the behavior of the exception's dev_cgroup. πŸ‘‘

🌸 DESCRIPTION 🌸

This is used to make sure a child cgroup won't have more privileges than its parent. Literally the permission vibe check. πŸ”₯


🌈 SEE ALSO 🌈

Kernel file: ./security/device_cgroup.c πŸ’…


Signed off from the ./security source/version corner, dated October 2026, for verify_new_ex(9) πŸ’…βœ¨

πŸ“¦ where this page comes from