bprm_at_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bprm_at_flags(9) β€” the kernel API manual, but make it cute

okay bestie, so this is bprm_at_flags from section 9 of the Kernel API Manual, and honestly? she's short but she matters. like, the tiny function with main character energy πŸŽ€


✨ NAME ✨

bprm_at_flags β€” literally just: the AT_FLAGS this invocation implies. that's it. that's the whole vibe check. πŸ¦‹


🌸 SYNOPSIS 🌸

unsigned long bprm_at_flags (const struct linux_binprm *bprm );

copy it exactly, don't get creative with the spacing, she's particular πŸ’…


🧚 ARGUMENTS 🧚

  • bprm β€” the binary that is being executed. yeah, the actual exec-in-progress situation. that's the one 🫢

πŸ’– DESCRIPTION πŸ’–

so what does she do? she tells the program on the receiving end which dispatch contract it got. like passing a little note in class: "hey, here's what you signed up for." no cap, that's the whole job. ✨


⭐ RETURN ⭐

she returns the AT_FLAGS value for this exec. that's the gift. that's what you get. 🎁


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./include/linux/binfmts.h β€” go read her, she's iconic πŸ”₯

okay that's the page!! short and slay, just how the kernel likes it πŸ’œ

source/version: ./include/linux Β· date: October 2026 β€” mwah, signing off, hope this helped bestie πŸ“πŸ§š

πŸ“¦ where this page comes from