summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorAvi Weiss <thnkslprpt@gmail.com>2026-10-20 21:11:01 +0300
committerChristian Brauner <brauner@kernel.org>2026-10-22 18:50:20 +0200
commit4bd3a0e8e53decd614853fbb487a268f139f679e (patch)
treed8dddf1c2017d1d9b99c1a5ac0f878662358c534 /tools/lib/python/kdoc
parent716d2968c8fdf786c4fb4e1820820a6f54b89b6d (diff)
signal: skip blocked signals in dequeue_synchronous_signal()
dequeue_synchronous_signal() checks whether an unblocked synchronous signal is pending, but its queue scan can select a different blocked entry with a positive si_code. This can deliver a signal while it is still blocked. Check the blocked mask for each queued entry. Forced faults are unblocked when necessary by force_sig_info_to_task(), and the existing pending bookkeeping is unchanged. Fixes: 7146db3317c6 ("signal: Better detection of synchronous signals") Signed-off-by: Avi Weiss <thnkslprpt@gmail.com> Link: https://patch.msgid.link/20261020181101.1605736-1-thnkslprpt@gmail.com Acked-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions