Skip to content

[kernel] Fix sys_kill to send to process group when pid < 0#2519

Merged
ghaerr merged 1 commit intomasterfrom
syskill
Dec 12, 2025
Merged

[kernel] Fix sys_kill to send to process group when pid < 0#2519
ghaerr merged 1 commit intomasterfrom
syskill

Conversation

@ghaerr
Copy link
Copy Markdown
Owner

@ghaerr ghaerr commented Dec 12, 2025

The kill system call didn't work when passed a negative pid, effectively ignoring the call. Proper behavior is to send the specified signal to the process group specified by the positive value of the passed negative pid.

Updates kill(1) and kill(2) man pages.

Heavy cleanup of DEBUG_SIG display, with much more uniform and readable messages.

@ghaerr ghaerr merged commit 9cb7f0e into master Dec 12, 2025
1 check passed
@ghaerr ghaerr deleted the syskill branch December 12, 2025 03:42
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