From owner-cvs-src@FreeBSD.ORG Sat May 31 20:21:14 2003 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 1FE8237B401; Sat, 31 May 2003 20:21:14 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C46A743F3F; Sat, 31 May 2003 20:21:13 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h513LD0U081223; Sat, 31 May 2003 20:21:13 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h513LDrN081222; Sat, 31 May 2003 20:21:13 -0700 (PDT) Message-Id: <200306010321.h513LDrN081222@repoman.freebsd.org> From: Robert Watson Date: Sat, 31 May 2003 20:21:13 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_5_1 Subject: cvs commit: src/sys/ufs/ffs ffs_vnops.c 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: Sun, 01 Jun 2003 03:21:14 -0000 rwatson 2003/05/31 20:21:13 PDT FreeBSD src repository Modified files: (Branch: RELENG_5_1) sys/ufs/ffs ffs_vnops.c Log: Merge from HEAD to RELENG_5_1: Return EOPNOTSUPP for attempted EA operations on VCHR vnodes in UFS2; if we permit them to occur, the kernel panics due to our performing EA operations using VOP_STRATEGY on the vnode. This went unnoticed previously because there are very for users of device nodes on UFS2 due to the introduction of devfs. However, this can come up with the Linux compat directories and its hard-coded dev nodes (which will need to go away as we move away from hard-coded device numbers). This can come up if you use EA-intensive features such as ACLs and MAC. The proper fix is pretty complicated, but this band-aid would be an excellent MFC candidate for the release. Revision Changes Path 1.112 +14 -0 src/sys/ufs/ffs/ffs_vnops.c Approved by: re (scottl) Revision Changes Path 1.109.2.1 +14 -0 src/sys/ufs/ffs/ffs_vnops.c