vsftpd was Re: Upgrade to Linux-2.6.18

Dan Nicholson dbn.lists at gmail.com
Thu Oct 19 23:22:37 PDT 2006


On 10/19/06, Jim Gifford <lfs at jg555.com> wrote:
> I actually talked with the Linux MIPS guys and they gave me some ideas,
> I came up with this patch and so far it seems to do the job.
>
> http://svn.cross-lfs.org/svn/repos/patches/vsftpd/vsftpd-2.0.5-syscall-1.patch

Interesting. I did a bit of googling, and it seems the real fix is to
use the syscall() interface from glibc. Here are a couple examples
from LKML a while back:

http://lkml.org/lkml/2001/2/20/195
http://lkml.org/lkml/2006/9/20/169

Testing out my minimal C skills, I came up with the attached patch. It
built for me, but I don't have a system with the new headers to test
against. YMMV.

--
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsftpd-2.0.5-syscall-1.patch
Type: text/x-patch
Size: 1346 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20061019/3475ceb9/attachment.bin>


More information about the lfs-dev mailing list