set_current_blocked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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:


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