Date: Sun, 8 Dec 2002 19:44:28 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> 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 ... Message-ID: <200212090344.gB93iSPb093681@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212090344.gB93iSPb093681>