Re-wrap long line after r341827.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
284a8f6f12
commit
be8dd1428e
@ -882,7 +882,9 @@ fork1(struct thread *td, struct fork_req *fr)
|
||||
* processes; don't let root exceed the limit.
|
||||
*/
|
||||
nprocs_new = atomic_fetchadd_int(&nprocs, 1) + 1;
|
||||
if ((nprocs_new >= maxproc - 10 && priv_check_cred(td->td_ucred, PRIV_MAXPROC) != 0) || nprocs_new >= maxproc) {
|
||||
if ((nprocs_new >= maxproc - 10 &&
|
||||
priv_check_cred(td->td_ucred, PRIV_MAXPROC) != 0) ||
|
||||
nprocs_new >= maxproc) {
|
||||
error = EAGAIN;
|
||||
sx_xlock(&allproc_lock);
|
||||
if (ppsratecheck(&lastfail, &curfail, 1)) {
|
||||
|
Loading…
Reference in New Issue
Block a user