[PATCH] syslogd +realpath
Denis Vlasenko
vda.linux at googlemail.com
Thu Feb 8 11:12:38 PST 2007
On Thursday 08 February 2007 10:09, Marc Leeman wrote:
> > Yet another question is why syslogd even bothers to do this
> > remove/recreate cycle? What will happen if it will just
> > bind to /dev/log? (the code will be smaller too)
>
> Probably there is some reason that they did it like this in the past. It
> could be that changing this breaks several crosscompilation
> (buildroot/uclibc) systems. But this is just guessing on my part.
I tried. /dev/log is created by bind() of AF_UNIX.
If it exists, bind() will fail, even if no other process did bind().
That's why removing /dev/log is really needed.
--
vda
More information about the busybox
mailing list