]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove mac_create_root_mount() and mpo_create_root_mount(), which
authorrwatson <rwatson@FreeBSD.org>
Mon, 19 Sep 2005 13:59:57 +0000 (13:59 +0000)
committerrwatson <rwatson@FreeBSD.org>
Mon, 19 Sep 2005 13:59:57 +0000 (13:59 +0000)
commit583b25a64f2aaa24c8694f63278278ffbf4c05d2
tree3f830a9f3d977036784e2666767b6ee9d05b44bb
parent67624ed0f75907065578f29229d87b84e7a071fc
Remove mac_create_root_mount() and mpo_create_root_mount(), which
provided access to the root file system before the start of the
init process.  This was used briefly by SEBSD before it knew about
preloading data in the loader, and using that method to gain
access to data earlier results in fewer inconsistencies in the
approach.  Policy modules still have access to the root file system
creation event through the mac_create_mount() entry point.

Removed now, and will be removed from RELENG_6, in order to gain
third party policy dependencies on the entry point for the lifetime
of the 6.x branch.

MFC after: 3 days
Submitted by: Chris Vance <Christopher dot Vance at SPARTA dot com>
Sponsored by: SPARTA
sys/kern/init_main.c
sys/security/mac/mac_vfs.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_stub/mac_stub.c
sys/security/mac_test/mac_test.c