apparmor_bpr...eds_for_exec(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… apparmor_bpr...eds_for_exec(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” yes we're reading kernel docs together, this is our little study date ✨


🌸 NAME 🌸

apparmor_bprm_creds_for_exec β€” literally just updates the new creds on the bprm struct, that's the whole vibe πŸ’–


✨ SYNOPSIS ✨

int apparmor_bprm_creds_for_exec (struct linux_binprm *bprm );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • bprm β€” the binprm for the exec. and like… it is NOT NULL, okay?? do not come for her with a NULL, she will not survive it πŸ™ˆ

🌈 RETURN 🌈

Returns 0, or an error on failure. that's it, that's the whole story 🫢


πŸ‘‘ DESCRIPTION πŸ‘‘

TODO: once the other paths are done see if we can't refactor into a fn

yep 😭 that's genuinely it. our girl said "I'll deal with this later" and honestly? relatable. main character energy is knowing when to leave a note for future you πŸ’€


🧚 SEE ALSO 🧚

Kernel file ./security/apparmor/domain.c β€” and all her besties:


ngl the fanciest thing on this whole page is the amount of (9) sections she's associated with. iconique. no cap πŸ”₯

and that's the page!! mwah πŸ’‹ it lives in ./security/apparmor, dated October 2026, and it's filed under apparmor_bpr...eds_for_exec(9) β€” so if you need her again, you know exactly where to look, bestie πŸ“πŸ’œ

πŸ“¦ where this page comes from