From owner-cvs-all@FreeBSD.ORG Sun Apr 4 21:54:22 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C098A16A4CE; Sun, 4 Apr 2004 21:54:22 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A550243D1F; Sun, 4 Apr 2004 21:54:22 -0700 (PDT) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i354sMGe062598; Sun, 4 Apr 2004 21:54:22 -0700 (PDT) (envelope-from kan@repoman.freebsd.org) Received: (from kan@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i354sMEd062597; Sun, 4 Apr 2004 21:54:22 -0700 (PDT) (envelope-from kan) Message-Id: <200404050454.i354sMEd062597@repoman.freebsd.org> From: Alexander Kabaev Date: Sun, 4 Apr 2004 21:54:22 -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/vm vm_mmap.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 05 Apr 2004 04:54:22 -0000 kan 2004/04/04 21:54:22 PDT FreeBSD src repository Modified files: sys/vm vm_mmap.c Log: Delay permission checks for VCHR vnodes until after vnode is locked in vm_mmap_vnode function, where we can safely check for a special /dev/zero case. Rev. 1.180 has reordered checks and introduced a regression. Submitted by: alc Was broken by: kan Revision Changes Path 1.187 +7 -2 src/sys/vm/vm_mmap.c