Kernel 2.4.6: Why doesn't mprotect () check ulimit/rlim?

From: Rolf Fokkens (FokkensR@vertis.nl)
Date: Thu Jul 12 2001 - 17:07:03 EST


While trying to restrict Oracle's memory claims I tried a strace while
making Oracle claim huge amounts of memory. It appears that Oracle claims
all it's memory by calling mprotect, which (unlike brk ()) doesn't check
rlim.
 
I don't know the details of this, but it seems a little buggy to me. If not
buggy, then what's the use of rlim?
 
Cheers,
 
Rolf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 15 2001 - 21:00:18 EST