From owner-cvs-src@FreeBSD.ORG Fri Jun 4 19:18:58 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A80716A4CE; Fri, 4 Jun 2004 19:18:58 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6439743D3F; Fri, 4 Jun 2004 19:18:58 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i552ITe8057590; Fri, 4 Jun 2004 19:18:29 -0700 (PDT) (envelope-from tjr@repoman.freebsd.org) Received: (from tjr@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i552ISvl057589; Fri, 4 Jun 2004 19:18:28 -0700 (PDT) (envelope-from tjr) Message-Id: <200406050218.i552ISvl057589@repoman.freebsd.org> From: "Tim J. Robbins" Date: Fri, 4 Jun 2004 19:18:28 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/pecoff imgact_pecoff.csrc/sys/i386/linux linux_sysvec.c src/sys/kern imgact_aout.c imgact_elf.c vfs_vnops.c src/sys/sys vnode.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 05 Jun 2004 02:18:58 -0000 tjr 2004/06/04 19:18:28 PDT FreeBSD src repository Modified files: sys/compat/pecoff imgact_pecoff.c sys/i386/linux linux_sysvec.c sys/kern imgact_aout.c imgact_elf.c vfs_vnops.c sys/sys vnode.h Log: Change the types of vn_rdwr_inchunks()'s len and aresid arguments to size_t and size_t *, respectively. Update callers for the new interface. This is a better fix for overflows that occurred when dumping segments larger than 2GB to core files. Revision Changes Path 1.33 +2 -2 src/sys/compat/pecoff/imgact_pecoff.c 1.131 +1 -1 src/sys/i386/linux/linux_sysvec.c 1.94 +1 -1 src/sys/kern/imgact_aout.c 1.151 +1 -1 src/sys/kern/imgact_elf.c 1.202 +6 -4 src/sys/kern/vfs_vnops.c 1.237 +2 -2 src/sys/sys/vnode.h