Skip to content

Fix __unix_signal#139

Open
jserv wants to merge 1 commit intotaviso:mainfrom
jserv:fix-signal
Open

Fix __unix_signal#139
jserv wants to merge 1 commit intotaviso:mainfrom
jserv:fix-signal

Conversation

@jserv
Copy link
Contributor

@jserv jserv commented Feb 20, 2026

  • Reject out-of-bounds signal numbers (< 0 or >= 35) with EINVAL
  • Reject untranslatable signals mapped to -1 instead of passing -1 to signal()
  • Propagate host errno to __unix_errno when signal() fails
  • Fix SIGUSR2: SVR4 signal 17 now correctly maps to Linux SIGUSR2 (12)
  • Fix comment: signal 34 is SIGFREEZE, not SIGAIO

- Reject out-of-bounds signal numbers (< 0 or >= 35) with EINVAL
- Reject untranslatable signals mapped to -1 instead of passing -1 to signal()
- Propagate host errno to __unix_errno when signal() fails
- Fix SIGUSR2: SVR4 signal 17 now correctly maps to Linux SIGUSR2 (12)
- Fix comment: signal 34 is SIGFREEZE, not SIGAIO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant