From owner-cvs-all Sat Oct 5 11:40:13 2002 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 D2AF537B401; Sat, 5 Oct 2002 11:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95DC043E6E; Sat, 5 Oct 2002 11:40:11 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g95IeBCo025148; Sat, 5 Oct 2002 11:40:11 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g95IeBnm025147; Sat, 5 Oct 2002 11:40:11 -0700 (PDT) Message-Id: <200210051840.g95IeBnm025147@freefall.freebsd.org> From: Robert Watson Date: Sat, 5 Oct 2002 11:40:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_vnops.c src/sys/kern kern_mac.c src/sys/sys mac.h mac_policy.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG rwatson 2002/10/05 11:40:11 PDT Modified files: sys/fs/devfs devfs_vnops.c sys/kern kern_mac.c sys/sys mac.h mac_policy.h Log: Integrate a devfs/MAC fix from the MAC tree: avoid a race condition during devfs VOP symlink creation by introducing a new entry point to determine the label of the devfs_dirent prior to allocation of a vnode for the symlink. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.50 +3 -4 src/sys/fs/devfs/devfs_vnops.c 1.38 +13 -0 src/sys/kern/kern_mac.c 1.11 +2 -0 src/sys/sys/mac.h 1.13 +4 -0 src/sys/sys/mac_policy.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message