Re: siginfo pid not populated from ptrace?

From: Tycho Andersen
Date: Tue Nov 27 2018 - 18:21:33 EST


On Mon, Nov 12, 2018 at 12:24:43PM -0700, Tycho Andersen wrote:
> On Mon, Nov 12, 2018 at 11:55:38AM -0700, Tycho Andersen wrote:
> > I haven't manage to reproduce it on stock v4.20-rc2, unfortunately.
>
> Ok, now I have,
>
> seccomp_bpf.c:2736:global.syscall_restart:Expected getpid() (1493) == info._sifields._kill.si_pid (0)
> global.syscall_restart: Test failed at step #22

Seems like this is still happening on v4.20-rc4,

[ RUN ] global.syscall_restart
seccomp_bpf.c:2736:global.syscall_restart:Expected getpid() (1901) == info._sifields._kill.si_pid (0)
global.syscall_restart: Test failed at step #22

Tycho