capable_noaudit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… capable_noaudit β€” the kernel API manual, bestie edition πŸ’…

okay so you're reading the section 9 page for capable_noaudit, and honestly? she's that girl. let's get into it πŸŽ€


✨ NAME ✨

capable_noaudit β€” figure out whether the current task has a superior capability in effect, by checking the process's effective capabilities, and do it all unaudited 🫢


✨ SYNOPSIS ✨

bool capable_noaudit (int cap );

✨ ARGUMENTS ✨

  • cap β€” the capability you're testing for, bestie. that's the one. πŸ¦‹

✨ DESCRIPTION ✨

okay so lowkey this is the exact same thing as capable, except it passes CAP_OPT_NOAUDIT so it doesn't go around issuing spurious audit messages. no spam in the audit log, we respect that πŸ’…

and here's the icon behaviour: it sets PF_SUPERPRIV on the task if the capability is available β€” on the assumption that it's about to be used. like, she's manifesting. main character energy πŸ”₯


✨ SEE ALSO ✨

kernel file ./kernel/capability.c β€” go read her, she's iconic πŸ“–


mwah πŸ’œ that's the whole page. source is ./kernel, dated October 2026 β€” catch you in the next man page, bestie, slay βœ¨πŸŽ€

πŸ“¦ where this page comes from