signal_delivered(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 signal_delivered(9) β€” like, the kernel API manual, bestie 🌸

okay so real talk, this is signal_delivered from the kernel API manual, and honestly? she's a little finish-line function and I'm obsessed with her 🫢


✨ NAME ✨

signal_delivered β€” the one that gets called after signal delivery, to update all the blocked signals. periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void signal_delivered (struct ksignal *ksig , int stepping );

look at her. two args. no notes. πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • ksig β€” the kernel signal struct. that's her whole personality.
  • stepping β€” nonzero if a debugger single-step or block-step is in use. lowkey just a little flag telling you the debugger's mid-stroll πŸšΆβ€β™€οΈ

πŸ”₯ DESCRIPTION πŸ”₯

okay so the vibe check here: you call this function when a signal has successfully been delivered. that's the whole condition, no cap.

once you're in, she updates the blocked signals accordingly β€” meaning ksig->ka.sa.sa_mask is always blocked, no exceptions, main character mask energy πŸ‘‘

and the signal itself? also blocked β€” unless SA_NODEFER is set in ksig->ka.sa.sa_flags. so like, if SA_NODEFER is there, that signal gets to skip the blocked era. iykyk ✨

oh and one more thing: tracing is notified. she tells tracing. she's a communicator. we love that for her πŸ’œ


🌈 SEE ALSO 🌈

not me dropping the entire group chat 😭 start with the kernel file ./kernel/signal.c and then literally all of these besties:


and that's the whole page πŸŽ€ this little gem lives over in ./kernel, dated October 2026 β€” mwah, talk later bestie, stay blocked (affectionate) πŸ’‹πŸ’–

πŸ“¦ where this page comes from