Skip to content
Commit 96a59899 authored by Rich Felker's avatar Rich Felker
Browse files

sh: fix debug trap failure to process signals before return to user



When responding to a debug trap (breakpoint) in userspace, the
kernel's trap handler raised SIGTRAP but returned from the trap via a
code path that ignored pending signals, resulting in an infinite loop
re-executing the trapping instruction.

Signed-off-by: default avatarRich Felker <dalias@libc.org>
parent eb6b6930
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment