Date: Thu, 15 Jan 2004 07:36:14 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 45387 for review Message-ID: <200401151536.i0FFaEEU087783@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=45387 Change 45387 by rwatson@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", uid); sx_xunlock(&allproc_lock); +#ifdef MAC + mac_destroy_proc(newproc); +#endif uma_zfree(proc_zone, newproc); if (p1->p_flag & P_SA) { PROC_LOCK(p1);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401151536.i0FFaEEU087783>