signal_delivered(9)
πΈ 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:
task_set_jobctl_pending(9)task_clear_jobctl_trapping(9)task_clear_jobctl_pending(9)task_participate_group_stop(9)ptrace_trap_notify(9)force_sig_seccomp(9)do_notify_parent_cldstop(9)do_signal_stop(9)do_jobctl_trap(9)do_freezer_trap(9)sys_restart_syscall(9)set_current_blocked(9)sys_rt_sigprocmask(9)sys_rt_sigpending(9)copy_siginfo_to_external32(9)do_sigtimedwait(9)sys_rt_sigtimedwait(9)sys_kill(9)sys_pidfd_send_signal(9)sys_tgkill(9)sys_tkill(9)sys_rt_sigqueueinfo(9)sys_sigpending(9)sys_sigprocmask(9)sys_rt_sigaction(9)sys_rt_sigsuspend(9)
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
- 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