Linux-kernel mailing list archive 1999-36,: Re: resource limits bug

# Re: resource limits bug

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Woodhouse: "Re: WIP Patch: Cleanup of knfsd export handling."
- Previous message: tad-m2n@omoikane.co.jp: "Re: Fixing the SCSI layer"
- Next in thread: Matthew Wilcox: "Re: resource limits bug"
- Reply: Matthew Wilcox: "Re: resource limits bug"
- Reply: Raymond Nijssen: "Re: resource limits bug"
- Reply: Raymond Nijssen: "DE-fragmenting the virtual memory map"

> 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/

- Next message: David Woodhouse: "Re: WIP Patch: Cleanup of knfsd export handling."
- Previous message: tad-m2n@omoikane.co.jp: "Re: Fixing the SCSI layer"
- Next in thread: Matthew Wilcox: "Re: resource limits bug"
- Reply: Matthew Wilcox: "Re: resource limits bug"
- Reply: Raymond Nijssen: "Re: resource limits bug"
- Reply: Raymond Nijssen: "DE-fragmenting the virtual memory map"