From owner-cvs-all@FreeBSD.ORG Tue Sep 18 19:50:35 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C564D16A420; Tue, 18 Sep 2007 19:50:35 +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 B83A113C483; Tue, 18 Sep 2007 19:50:35 +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 l8IJoZs1095355; Tue, 18 Sep 2007 19:50:35 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l8IJoYqn095353; Tue, 18 Sep 2007 19:50:34 GMT (envelope-from dwmalone) Message-Id: <200709181950.l8IJoYqn095353@repoman.freebsd.org> From: David Malone Date: Tue, 18 Sep 2007 19:50:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD 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 syscalls.master X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 19:50:35 -0000 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 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