On Saturday 29 March 2008 16:19, Mike Frysinger wrote:
> On Saturday 29 March 2008, Vladimir Dronnikov wrote:
> > +1 octet is not very big price for increased usability. Or it _is_, Mike?
> >
> > do compare the lengths:
> >
> > xchdir("/dev"); ... xfopen("/etc/mdev.conf")
> > xchdir("dev"); ... xfopen("../etc/mdev.conf")
> 
> does it increase in size ?  if the answer is yes, then the change is not 
> interesting.  by forcing a chdir to /dev, you also dont have to worry about 
> the starting directory of the process.  who says you have to execute mdev 
> from the root directory ?

Huh?

Chrooted mdev works just fine in testcase in current svn.

It would break if built dynamically. Some additional shell magic
can be written to parse "ldd busybox" output and copy libs
into chroot jail too.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to