[PATCH] Cygwin: kill(1): skip kill(2) call if '-f -s -' is used

Takashi Yano takashi.yano@nifty.ne.jp
Tue Apr 15 07:40:29 GMT 2025


Hi Christian,

On Fri, 11 Apr 2025 16:46:07 +0200
Christian Franke wrote:
> In rare cases, '/bin/kill -f PID' hangs because kill(2) is always tried 
> first. With this patch, this could be prevented with '/bin/kill -f -s - 
> PID'.

I wonder why kill(2) hangs. Do you have any idea?
If kill(2) hangs in some cases, shouldn't we fix that
rather than patching to kill(1)?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>


More information about the Cygwin-patches mailing list