Re: resource limits bug

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 5 Sep 1999 12:21:43 +0100 (BST)


> BTW, why are most "unlimited" kernel limits set to 2G (that is, LONG_MAX in
> include/asm-*/resource.h) while 3G or so would be more correct?

Because the ulimit values are signed. 2.2.12 has most of the checks fixed,
2.3.x someone need sto shift to using an unsigned rlimit_t.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/