PERFORCE change 45387 for review

Robert Watson rwatson at
Thu Jan 15 15:36:14 GMT 2004

Change 45387 by rwatson at rwatson_tislabs on 2004/01/15 07:35:23

	When aborting fork(), make sure to free p_label.

Affected files ...

.. //depot/projects/trustedbsd/mac/sys/kern/kern_fork.c#38 edit

Differences ...

==== //depot/projects/trustedbsd/mac/sys/kern/kern_fork.c#38 (text+ko) ====

@@ -738,6 +738,9 @@
 		printf("maxproc limit exceeded by uid %i, please see tuning(7) and login.conf(5).\n",
+#ifdef MAC
+	mac_destroy_proc(newproc);
 	uma_zfree(proc_zone, newproc);
 	if (p1->p_flag & P_SA) {
To Unsubscribe: send mail to majordomo at
with "unsubscribe trustedbsd-cvs" in the body of the message

More information about the trustedbsd-cvs mailing list