lkml.org 
[lkml]   [1999]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: inconsistent resource limit checking
>>>>> On Fri, 10 Sep 1999 00:57:01 +0100 (BST), Alan Cox <alan@lxorguk.ukuu.org.uk> said:

>> Perhaps it's unfortunate that the resource interface uses signed
>> longs but I think it would be a mistake to change that now. So
>> instead of changing the interface, I think it would be better to
>> consistently use the kind of checking as implemented by
>> sys_brk().

Alan> SUS requires we use an rlimit_t - and we should change it. The
Alan> bugs it causes are worse than the cure

Ah, yes indeed. And it's an "unsigned" type, too. Is anyone working
on fixing this for 2.3 then? Any idea of what kind of breakage to
expect when changing RLIM_INIFINITY from LONG_MAX to ULONG_MAX?

--david

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

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.028 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site