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

enh enh at google.com
Mon Apr 19 12:50:07 PDT 2021


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(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210419/13ae2c28/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-setsid-1-call-setsid-2-before-setpgrp-2.patch
Type: text/x-patch
Size: 1161 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210419/13ae2c28/attachment-0002.bin>


More information about the Toybox mailing list