From owner-cvs-all Wed Jul 31 8:46:16 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 E7B4837B405; Wed, 31 Jul 2002 08:46:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDC9443E77; Wed, 31 Jul 2002 08:45:34 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6VFjIJU086871; Wed, 31 Jul 2002 08:45:18 -0700 (PDT) (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6VFjIQX086834; Wed, 31 Jul 2002 08:45:18 -0700 (PDT) Message-Id: <200207311545.g6VFjIQX086834@freefall.freebsd.org> From: Robert Watson Date: Wed, 31 Jul 2002 08:45:17 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_devs.c devfs_vfsops.c devfs_vnops.c 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/07/31 08:45:17 PDT Modified files: sys/fs/devfs devfs_devs.c devfs_vfsops.c devfs_vnops.c Log: Introduce support for Mandatory Access Control and extensible kernel access control. Instrument devfs to support per-dirent MAC labels. In particular, invoke MAC framework when devfs directory entries are instantiated due to make_dev() and related calls, and invoke the MAC framework when vnodes are instantiated from these directory entries. Implement vop_setlabel() for devfs, which pushes the label update into the devfs directory entry for semi-persistant store. This permits the MAC framework to assign labels to devices and directories as they are instantiated, and export access control information via devfs vnodes. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Revision Changes Path 1.21 +15 -0 src/sys/fs/devfs/devfs_devs.c 1.22 +8 -0 src/sys/fs/devfs/devfs_vfsops.c 1.42 +67 -0 src/sys/fs/devfs/devfs_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message