ftpd authentication [PATCH] ftpd: NOMMU/chroot fix

Denys Vlasenko vda.linux at googlemail.com
Fri Jun 27 10:29:03 UTC 2014


On Fri, Jun 27, 2014 at 8:59 AM, Morten Kvistgaard
<MK at pch-engineering.dk> wrote:
>>> The point is, we *do not* refer to "/".
>>> We exec "proc/self/exe", NOT "/proc/self/exe".
>>>
>>> It does work on my machine.
>>>
>>> How come it doesn't work on your machine?
>>
>>If proc/self/exe make be relative to the working directory, but /lib/ld-whatever.so from proc/self/exe's PT_INTERP header is certainly not relative. This is the cause of the ENOENT.
>>
>>Rich
>
> Maybe.
>
> It doesn't explain why the standard setup isn't working the same way on our Ubuntu/uClinux and whatever Denys are using.

I use static busybox.

Please try attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9.patch
Type: text/x-patch
Size: 3673 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140627/888f99a2/attachment.bin>


More information about the busybox mailing list