View | Details | Raw Unified | Return to bug 176579 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/kern/kern_fork.c (-2 / +3 lines)
Lines 929-936 fork1(struct thread *td, int flags, int pages, struct proc **procp, Link Here
929
fail:
929
fail:
930
	sx_sunlock(&proctree_lock);
930
	sx_sunlock(&proctree_lock);
931
	if (ppsratecheck(&lastfail, &curfail, 1))
931
	if (ppsratecheck(&lastfail, &curfail, 1))
932
		printf("maxproc limit exceeded by uid %i, please see tuning(7) and login.conf(5).\n",
932
		printf("maxproc limit exceeded by uid %i td_name %s, "
933
		    td->td_ucred->cr_ruid);
933
		    "please see tuning(7) and login.conf(5).\n",
934
		    td->td_ucred->cr_ruid, td->td_name);
934
	sx_xunlock(&allproc_lock);
935
	sx_xunlock(&allproc_lock);
935
#ifdef MAC
936
#ifdef MAC
936
	mac_proc_destroy(newproc);
937
	mac_proc_destroy(newproc);

Return to bug 176579