From owner-cvs-src@FreeBSD.ORG Sat Dec 8 08:48:09 2007 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BED1616A419; Sat, 8 Dec 2007 08:48:09 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AC64713C458; Sat, 8 Dec 2007 08:48:09 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lB88m9M7035762; Sat, 8 Dec 2007 08:48:09 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lB88m9vE035761; Sat, 8 Dec 2007 08:48:09 GMT (envelope-from dwmalone) Message-Id: <200712080848.lB88m9vE035761@repoman.freebsd.org> From: David Malone Date: Sat, 8 Dec 2007 08:48:08 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: 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 linux_syscall.h linux_sysent.c syscalls.master X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Dec 2007 08:48:09 -0000 dwmalone 2007-12-08 08:48:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) 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 linux_syscall.h linux_sysent.c 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. Approved by: re (kensmith) Revision Changes Path 1.1.8.4 +13 -0 src/sys/amd64/linux32/linux.h 1.5.2.5 +1 -0 src/sys/amd64/linux32/linux32_proto.h 1.5.2.5 +0 -0 src/sys/amd64/linux32/linux32_syscall.h 1.5.2.5 +0 -0 src/sys/amd64/linux32/linux32_sysent.c 1.4.2.5 +1 -0 src/sys/amd64/linux32/syscalls.master 1.72.2.7 +3 -13 src/sys/compat/linux/linux_stats.c 1.64.2.5 +13 -0 src/sys/i386/linux/linux.h 1.64.2.5 +1 -0 src/sys/i386/linux/linux_proto.h 1.58.2.5 +0 -0 src/sys/i386/linux/linux_syscall.h 1.65.2.5 +0 -0 src/sys/i386/linux/linux_sysent.c 1.61.2.5 +1 -0 src/sys/i386/linux/syscalls.master