set_current_blocked(9)
β¨ set_current_blocked(9) β¨
okay bestie, welcome to the set_current_blocked(9) page from the Kernel API Manual β yes, the manual name is folded in right here like a little name tag π«Ά. This one is short and iconic, so letβs go.
πΈ NAME πΈ
set_current_blocked β change current->blocked mask. thatβs the whole name vibe, fr fr.
π¦ SYNOPSIS π¦
the signature is giving βone function, no capβ:
void set_current_blocked (sigset_t *newset );
π ARGUMENTS π
newsetβ the new mask, periodt.
π DESCRIPTION π
bestie, do not change ->blocked directly β that is wrong. This helper is the one you use instead, so the process canβt miss a shared signal that we are going to block. no cap, thatβs the whole point.
π¨ lowkey important: direct ->blocked edits are wrong; use this helper to keep the process from missing a shared signal weβre about to block.
π₯ SEE ALSO π₯
Kernel file: ./kernel/signal.c. Then the whole squad, iykyk:
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)signal_delivered(9)sys_restart_syscall(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 page, bestie π the source/version tag is ./kernel, the date is October 2026, and the page is set_current_blocked(9) β mwah π
π¦ 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