[PATCH] sanitize when kernel starts init without any fd opened

Mike Frysinger vapier at gentoo.org
Tue Jun 12 02:29:21 UTC 2007


On Monday 11 June 2007, Maxime Bizon wrote:
> On Mon, 2007-06-11 at 19:25 -0400, Mike Frysinger wrote:
> > i think daemons not working means those daemons are broken, not init ...
>
> So you mean any code using libc daemon(3) is broken ?

how is that function relevant to the discussion ?  it can be safely used 
regardless of the state of stdin/stdout/stderr before it is called
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070611/46d403cd/attachment-0002.pgp 


More information about the busybox mailing list