__audit_log_capset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __audit_log_capset(9) β€” like, the Kernel API Manual, bestie ✨

okay so real talk, we're in section 9 of the Kernel API Manual and this page is about one tiny little function that's doing the most important behind-the-scenes work. no cap, she's a keeper 🫢


🌸 NAME 🌸

__audit_log_capset β€” the function that literally stores the info about the args to the capset syscall, so the audit system can spill the tea later πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

void __audit_log_capset (const struct cred *new , const struct cred *old );

that's it. that's the whole vibe. two pointers, no return value, no drama ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • new β€” the new credentials. the glow-up version, the after pic πŸ‘‘
  • old β€” the old (current) credentials. the before pic, the "it's giving legacy" era πŸ™ˆ

⭐ DESCRIPTION ⭐

So basically, this function records the arguments that userspace sent to sys_capset β€” like, it's jotting it all down in the group chat so the audit system can print it out later if applicable. she's not the main character here, she's the bestie holding the receipts 🧚 and honestly? iconic behaviour.

no filtering, no judging, just recording. periodt. πŸ’…


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./kernel/auditsc.c β€” plus literally her entire friend group:

all of them. every single one. the whole squad ate, no crumbs left 🌈


okay bestie, that's the whole page β€” from ./kernel πŸ’œ, dated October 2026, and she's serving __audit_log_capset(9) realness until the very last line. mwah πŸ“βœ¨

πŸ“¦ where this page comes from