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

Collapse All | Expand All

(-)b/sys/kern/kern_descrip.c (-2 / +3 lines)
Lines 1667-1674 falloc_noinstall(struct thread *td, struct file **resultfp) Link Here
1667
	    priv_check(td, PRIV_MAXFILES) != 0) ||
1667
	    priv_check(td, PRIV_MAXFILES) != 0) ||
1668
	    openfiles >= maxfiles) {
1668
	    openfiles >= maxfiles) {
1669
		if (ppsratecheck(&lastfail, &curfail, 1)) {
1669
		if (ppsratecheck(&lastfail, &curfail, 1)) {
1670
			printf("kern.maxfiles limit exceeded by uid %i, "
1670
			printf("kern.maxfiles limit exceeded by uid %i "
1671
			    "please see tuning(7).\n", td->td_ucred->cr_ruid);
1671
			    "td_name %s, please see tuning(7).\n",
1672
			    td->td_ucred->cr_ruid, td->td_name);
1672
		}
1673
		}
1673
		return (ENFILE);
1674
		return (ENFILE);
1674
	}
1675
	}

Return to bug 176579