diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-09-19 13:59:57 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-09-19 13:59:57 +0000 |
commit | 583b25a64f2aaa24c8694f63278278ffbf4c05d2 (patch) | |
tree | 3f830a9f3d977036784e2666767b6ee9d05b44bb /sys/kern/init_main.c | |
parent | 67624ed0f75907065578f29229d87b84e7a071fc (diff) | |
download | FreeBSD-src-583b25a64f2aaa24c8694f63278278ffbf4c05d2.zip FreeBSD-src-583b25a64f2aaa24c8694f63278278ffbf4c05d2.tar.gz |
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
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index fd8ae7a..7e2396d 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -533,10 +533,6 @@ start_init(void *dummy) vfs_mountroot(); -#ifdef MAC - mac_create_root_mount(td->td_ucred, TAILQ_FIRST(&mountlist)); -#endif - /* * Need just enough stack to hold the faked-up "execve()" arguments. */ |