apparmor_bpr...itting_creds(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

hey bestie πŸ’– you've landed on apparmor_bpr...itting_creds(9) from the Kernel API Manual, section 9. yeah the title's truncated like that β€” that's just the header being dramatic πŸ’… the function it's actually about is apparmor_bprm_committing_creds.

and what's the vibe? literally one line: do task cleanup on committing new creds. that's it, that's the whole pitch ✨ short, iconic, no notes.


πŸ¦‹ SYNOPSIS πŸ¦‹

void apparmor_bprm_committing_creds (const struct linux_binprm *bprm );

that's your whole call signature, copy it exactly, don't get creative with it 🫢


πŸ’œ ARGUMENTS πŸ’œ

  • bprm β€” binprm for the exec (NOT NULL). yes the manpage literally spells it "binprm" in the description while the synopsis says bprm β€” we are NOT fixing it, we are respecting it πŸ™ˆ it's the const struct linux_binprm * you saw up in the synopsis.
ok real talk for a sec: the argument is marked NOT NULL, meaning you do not pass a null pointer here. that's not a cute little suggestion, that's the spec. don't test it 😭

🌈 SEE ALSO 🌈

all of this lives in the kernel file ./security/apparmor/lsm.c, and here's the full friend group β€” every single one, no leaving anyone out 🫢

the way that list just keeps going 😭 that's a whole friend group chat right there, go read them all, iykyk πŸ’…


🌸 okay that's the page, bestie! this diva comes to you from ./security/apparmor, dated October 2026, and it's filed as apparmor_bpr...itting_creds(9). go be normal about kernel creds πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from