Messages in this thread | | | Date | Tue, 22 Nov 2022 09:15:42 -0800 | From | Kees Cook <> | Subject | Re: [PATCH 0/1] *** Fix kill(-1,s) returning 0 on 0 kills *** |
| |
On Tue, Nov 22, 2022 at 05:12:40PM +0100, Petr Skocik wrote: > Hi. I've never sent a kernel patch before but this one seemed trivial, > so I thought I'd give it a shot. > > My issue: kill(-1,s) on Linux doesn't return -ESCHR when it has nothing > to kill.
It looks like LTP already tests for this, and gets -ESRCH? https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/containers/pidns/pidns10.c
Does it still pass with your change?
-- Kees Cook
| |