Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2015 17:34:47 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r278634 - head/lib/libc/gen
Message-ID:  <54DD2A87.2050008@FreeBSD.org>
In-Reply-To: <BF5F2941-52F5-41A4-8723-E316919718EE@FreeBSD.org>
References:  <201502122107.t1CL7gaO004041@svn.freebsd.org> <BF5F2941-52F5-41A4-8723-E316919718EE@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02/12/15 17:27, Bjoern A. Zeeb wrote:
>> On 12 Feb 2015, at 21:07 , Pedro F. Giffuni <pfg@FreeBSD.org> wrote:
>>
>> Author: pfg
>> Date: Thu Feb 12 21:07:42 2015
>> New Revision: 278634
>> URL: https://svnweb.freebsd.org/changeset/base/278634
>>
>> Log:
>>   ulimit(3): Fix broken check.
>>
>>   The existing implementation had a broken comparison that could overflow.
>>   Replace this with a check that avoids the overflow before it happens.
>>
>>   Consistently return a maximum value also on the case of negative
>>   arguments since negative is considered an overflow and means
>>   infinity for our current setrlimit().
>>
>>   Discussed with:	bde (rather extensively)
>>
> Did this compile?
>

Yes! Any log message to share?

Pedro.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54DD2A87.2050008>