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

Rolf Fokkens (FokkensR@vertis.nl)
Fri, 13 Jul 2001 00:07:03 +0200


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/