apparmor_bp...mitted_creds(9)
πΈ apparmor_bprm_committed_creds(9) πΈ
okay so bestie, welcome to the Kernel API Manual π
β this little page is all about apparmor_bprm_committed_creds(9), which lives in the kernel API docs and is genuinely just a tidy-up era moment. it's giving "the party's over, time to clean up" β¨
β¨ NAME β¨
apparmor_bprm_committed_creds β do cleanup after new creds committed π§Ήπ
like literally, that's the whole job. new creds got committed, and now somebody's gotta handle the cleanup. that somebody is this function. no cap.
π¦ SYNOPSIS π¦
void apparmor_bprm_committed_creds (const struct linux_binprm *bprm );
that's it. that's the whole signature. short, sweet, and to the point β main character energy fr fr π
π ARGUMENTS π
bprmβ binprm for the exec (NOT NULL) π¨
okay so listen: that NOT NULL is not a suggestion, it's a vibe check you must pass. you cannot slide a NULL in here, bestie. just don't. π the bprm you pass is the binprm for the exec, and it has to actually exist. periodt.
π SEE ALSO π
omg the friend group π«Ά β here's everyone else hanging out in Kernel file ./security/apparmor/lsm.c and honestly the whole squad showed up:
common_perm(9)common_perm_cond(9)common_perm_dir_dentry(9)common_perm_rm(9)common_perm_create(9)apparmor_uring_override_creds(9)apparmor_uring_sqpoll(9)apparmor_bprm_committing_creds(9)apparmor_sk_clone_security(9)apparmor_unix_stream_connect(9)apparmor_unix_may_send(9)apparmor_socket_post_create(9)apparmor_socket_bind(9)apparmor_socket_getpeersec_stream(9)apparmor_socket_getpeersec_dgram(9)apparmor_sock_graft(9)apparmor_socket_sock_rcv_skb(9)set_init_ctx(9)
iykyk π go read them, they're iconic too.
lowkey a note from me to you: this page is short because the function is short. don't go looking for extra options or flags β there are none, and inventing them would be a crime against the manual π
and that's a wrap, bestie!! π this masterpiece comes to you from ./security/apparmor, dated October 2026, and you can find it filed under apparmor_bp...mitted_creds(9) πβ¨ slay, go forth, and commit those creds responsibly π¦π
π¦ 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