PERFORCE change 188783 for review
Edward Tomasz Napierala
trasz at FreeBSD.org
Sun Feb 13 14:25:43 UTC 2011
http://p4web.freebsd.org/@@188783?ac=10
Change 188783 by trasz at trasz_victim on 2011/02/13 14:25:10
Return proper error code (rusage_add() returns EDOOFUS).
Affected files ...
.. //depot/projects/soc2009/trasz_limits/sys/kern/kern_fork.c#33 edit
Differences ...
==== //depot/projects/soc2009/trasz_limits/sys/kern/kern_fork.c#33 (text+ko) ====
@@ -740,7 +740,7 @@
error = rusage_add(p1, RUSAGE_NPROC, 1);
PROC_UNLOCK(p1);
if (error != 0)
- return (error);
+ return (EAGAIN);
mem_charged = 0;
vm2 = NULL;
More information about the p4-projects
mailing list