PERFORCE change 108177 for review
Roman Divacky
rdivacky at FreeBSD.org
Fri Oct 20 07:54:05 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=108177
Change 108177 by rdivacky at rdivacky_witten on 2006/10/20 14:53:17
Make it actually work (args->rlim -> rlim.rlim_max). :(
Affected files ...
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#15 edit
Differences ...
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#15 (text+ko) ====
@@ -1115,7 +1115,7 @@
* the 1024*1024 is a hardcoded constant of max files
* per proc in linux
*/
- if (which == RLIMIT_NOFILE && args->rlim > (1024*1024))
+ if (which == RLIMIT_NOFILE && rlim.rlim_max > (1024*1024))
return (EPERM);
bsd_rlim.rlim_cur = (rlim_t)rlim.rlim_cur;
More information about the p4-projects
mailing list