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
David Malone
dwmalone at FreeBSD.org
Tue Sep 18 12:50:35 PDT 2007
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
More information about the cvs-all
mailing list