PERFORCE change 15257 for review
Robert Watson
rwatson at freebsd.org
Wed Jul 31 00:59:37 GMT 2002
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15257
Change 15257 by rwatson at rwatson_tislabs on 2002/07/30 17:59:25
Remove code dup'd in integ.
Affected files ...
.. //depot/projects/trustedbsd/mac/sys/kern/init_main.c#25 edit
Differences ...
==== //depot/projects/trustedbsd/mac/sys/kern/init_main.c#25 (text+ko) ====
@@ -362,11 +362,6 @@
/* Create credentials. */
p->p_ucred = crget();
p->p_ucred->cr_ngroups = 1; /* group 0 */
-
-#ifdef MAC
- mac_create_proc0(p->p_ucred);
-#endif
-
p->p_ucred->cr_uidinfo = uifind(0);
p->p_ucred->cr_ruidinfo = uifind(0);
p->p_ucred->cr_prison = NULL; /* Don't jail it. */
@@ -681,9 +676,6 @@
initproc->p_sflag |= PS_INMEM;
mtx_unlock_spin(&sched_lock);
cpu_set_fork_handler(FIRST_THREAD_IN_PROC(initproc), start_init, NULL);
-#ifdef MAC
- mac_create_proc1(initproc->p_ucred);
-#endif
}
SYSINIT(init, SI_SUB_CREATE_INIT, SI_ORDER_FIRST, create_init, NULL)
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list