apparmor_bpr...eds_for_exec(9)
π 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β thebinprmfor 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:
may_change_ptraced_domain(9)label_compound_match(9)label_components_match(9)label_match(9)change_profile_perms(9)aa_xattrs_match(9)find_attach(9)x_table_lookup(9)x_to_label(9)aa_change_hat(9)aa_change_profile(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms