From owner-cvs-src-old@FreeBSD.ORG Thu Nov 5 16:17:50 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5805B106566C for ; Thu, 5 Nov 2009 16:17:50 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 45BE78FC21 for ; Thu, 5 Nov 2009 16:17:50 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nA5GHoob040960 for ; Thu, 5 Nov 2009 16:17:50 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nA5GHo9m040959 for cvs-src-old@freebsd.org; Thu, 5 Nov 2009 16:17:50 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200911051617.nA5GHo9m040959@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 5 Nov 2009 16:16:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8_0 Subject: cvs commit: src/sys/amd64/linux32 linux32_machdep.c src/sys/i386/linux linux_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 16:17:50 -0000 jhb 2009-11-05 16:16:56 UTC FreeBSD src repository Modified files: (Branch: RELENG_8_0) sys/amd64/linux32 linux32_machdep.c sys/i386/linux linux_machdep.c Log: SVN rev 198951 on 2009-11-05 16:16:56Z by jhb MFC 198554: Fix some problems with effective mmap() offsets > 32 bits. This was partially fixed on amd64 earlier. Rather than forcing linux_mmap_common() to use a 32-bit offset, have it accept a 64-bit file offset. This offset is then passed to the real mmap() call. Rather than inventing a structure to hold the normal linux_mmap args that has a 64-bit offset, just pass each of the arguments individually to linux_mmap_common() since that more closes matches the existing style of various kern_foo() functions. Approved by: re (kib) Revision Changes Path 1.53.2.1.2.2 +30 -36 src/sys/amd64/linux32/linux32_machdep.c 1.83.2.1.2.2 +31 -34 src/sys/i386/linux/linux_machdep.c