From owner-cvs-all Sun Dec 8 19:49: 9 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 AC12C37B401; Sun, 8 Dec 2002 19:49:07 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C9D343ED8; Sun, 8 Dec 2002 19:49:07 -0800 (PST) (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 gB93iSmV093682; Sun, 8 Dec 2002 19:44:28 -0800 (PST) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gB93iSPb093681; Sun, 8 Dec 2002 19:44:28 -0800 (PST) Message-Id: <200212090344.gB93iSPb093681@repoman.freebsd.org> From: Robert Watson Date: Sun, 8 Dec 2002 19:44:28 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs.h devfs_devs.c devfs_vfsops.c devfs_vnops.c src/sys/kern kern_mac.c src/sys/security/mac_biba mac_biba.c src/sys/security/mac_lomac mac_lomac.c src/sys/security/mac_mls mac_mls.c src/sys/security/mac_none ... 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/12/08 19:44:28 PST Modified files: sys/fs/devfs devfs.h devfs_devs.c devfs_vfsops.c devfs_vnops.c sys/kern kern_mac.c sys/security/mac_biba mac_biba.c sys/security/mac_lomac mac_lomac.c sys/security/mac_mls mac_mls.c sys/security/mac_none mac_none.c sys/security/mac_test mac_test.c sys/sys mac.h mac_policy.h Log: Remove dm_root entry from struct devfs_mount. It's never set, and is unused. Replace it with a dm_mount back-pointer to the struct mount that the devfs_mount is associated with. Export that pointer to MAC Framework entry points, where all current policies don't use the pointer. This permits the SEBSD port of SELinux's FLASK/TE to compile out-of-the-box on 5.0-CURRENT with full file system labeling support. Approved by: re (murray) Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.17 +1 -1 src/sys/fs/devfs/devfs.h 1.23 +3 -3 src/sys/fs/devfs/devfs_devs.c 1.26 +2 -1 src/sys/fs/devfs/devfs_vfsops.c 1.55 +2 -2 src/sys/fs/devfs/devfs_vnops.c 1.71 +11 -9 src/sys/kern/kern_mac.c 1.48 +10 -8 src/sys/security/mac_biba/mac_biba.c 1.5 +10 -8 src/sys/security/mac_lomac/mac_lomac.c 1.36 +10 -8 src/sys/security/mac_mls/mac_mls.c 1.24 +10 -8 src/sys/security/mac_none/mac_none.c 1.21 +10 -8 src/sys/security/mac_test/mac_test.c 1.34 +7 -5 src/sys/sys/mac.h 1.34 +9 -6 src/sys/sys/mac_policy.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message