Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Oct 2006 14:54:03 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 108177 for review
Message-ID:  <200610201454.k9KEs36i059868@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108177

Change 108177 by rdivacky@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610201454.k9KEs36i059868>