[LTP] [PATCH 2/4] syscalls/kill03, 04: Cleanup && Convert to new library

Li Wang liwang@redhat.com
Fri Aug 21 05:43:50 CEST 2020


On Fri, Aug 21, 2020 at 11:34 AM Yang Xu <xuyang2018.jy@cn.fujitsu.com>
wrote:

> ...
> Yes. I think using current process id instead of 0 is more easier
> because the invalid signal can't kill process forever.
>
> static void setup(void)
> {
>          real_pid = getpid();
>

Agreed!


-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20200821/1cb95f23/attachment.htm>


More information about the ltp mailing list