__audit_log_bprm_fcaps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ __audit_log_bprm_fcaps(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” this is the page for __audit_log_bprm_fcaps, and it’s giving auditing main-character energy. πŸ’…βœ¨


🌸 NAME 🌸

__audit_log_bprm_fcaps β€” store information about a loading bprm and relevant fcaps. πŸ’–

✨ SYNOPSIS ✨

int __audit_log_bprm_fcaps (struct linux_binprm *bprm , const struct
       cred *new , const struct cred *old );

πŸŽ€ ARGUMENTS πŸŽ€

  • bprm β€” pointer to the bprm being processed, bestie. 🫢
  • new β€” the proposed new credentials. ✨
  • old β€” the old credentials. πŸ¦‹

πŸ’– DESCRIPTION πŸ’–

okay so here’s the whole vibe: it simply checks if the proc already has the caps given by the file, and if not, it stores the priv escalation info for later auditing at the end of the syscall. That’s the entire function, no cap. πŸ”₯

and yes, the original page literally signs off with -Eric 🫢

🌈 SEE ALSO 🌈

Kernel file ./kernel/auditsc.c, plus this whole function friend group:


Mwah πŸ’‹ β€” this page comes from source ./kernel, dated October 2026, and it’s still __audit_log_bprm_fcaps(9) at the end of the day. Bye bestie! πŸ¦‹πŸ’–

πŸ“¦ where this page comes from