Date: Tue, 18 Sep 2007 19:50:34 +0000 (UTC) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/linux32 linux.h linux32_proto.h linux32_syscall.h linux32_sysent.c syscalls.master src/sys/compat/linux linux_stats.c src/sys/i386/linux linux.h linux_proto.h syscalls.master Message-ID: <200709181950.l8IJoYqn095353@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2007-09-18 19:50:34 UTC
FreeBSD src repository
Modified files:
sys/amd64/linux32 linux.h linux32_proto.h linux32_syscall.h
linux32_sysent.c syscalls.master
sys/compat/linux linux_stats.c
sys/i386/linux linux.h linux_proto.h syscalls.master
Log:
The kernel version of Linux statfs64 is actually supposed to take
3 arguments, but we had forgotten the second argument. Also make the
Linux statfs64 struct depend on the architecture because it has an
extra 4 bytes padding on amd64 compared to i386.
The three argument fix is from David Taylor, the struct statfs64
stuff is my fault. With this patch I can install i386 Linux matlab
on an amd64 machine.
Submitted by: David Taylor <davidt_at_yadt.co.uk>
Approved by: re (kensmith)
Revision Changes Path
1.16 +13 -0 src/sys/amd64/linux32/linux.h
1.33 +1 -0 src/sys/amd64/linux32/linux32_proto.h
1.33 +0 -0 src/sys/amd64/linux32/linux32_syscall.h
1.33 +0 -0 src/sys/amd64/linux32/linux32_sysent.c
1.30 +1 -1 src/sys/amd64/linux32/syscalls.master
1.88 +3 -13 src/sys/compat/linux/linux_stats.c
1.78 +13 -0 src/sys/i386/linux/linux.h
1.94 +1 -0 src/sys/i386/linux/linux_proto.h
1.89 +1 -1 src/sys/i386/linux/syscalls.master
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709181950.l8IJoYqn095353>
