[Toybox] [PATCH] setsid(1): call setsid(2) before setpgrp(2).

Yi-yo Chiang yochiang at google.com
Tue Apr 20 01:23:42 PDT 2021


Why do we need setsid in the new cpio testcase though?

On Tue, Apr 20, 2021 at 3:50 AM enh via Toybox <toybox at lists.landley.net>
wrote:

> The new cpio test that uses setsid fails if you're using the toybox
> setsid. Move the setpgrp() call before the vfork() but after the
> setsid().
> ---
>  toys/other/setsid.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>


-- 

Yi-yo Chiang
Software Engineer
yochiang at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210420/18cd511b/attachment-0001.htm>


More information about the Toybox mailing list