Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 17:59:37 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15257 for review
Message-ID:  <200207310059.g6V0xbh4009672@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15257

Change 15257 by rwatson@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@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207310059.g6V0xbh4009672>