From owner-svn-src-head@FreeBSD.ORG Thu Feb 12 22:41:10 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF31FDFA for ; Thu, 12 Feb 2015 22:41:10 +0000 (UTC) Received: from nm35-vm3.bullet.mail.bf1.yahoo.com (nm35-vm3.bullet.mail.bf1.yahoo.com [72.30.238.75]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0370C85A for ; Thu, 12 Feb 2015 22:41:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1423780477; bh=27PcWVplcwiHSJBN0fn7sBBIWZ2Vjvgk8ZYfv3sMzUg=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=L3z/Won4b+EtyEok2u3ZbNHDOOCjTaclKEOcyK7NMuuj7F+oOyeVH666psA2T0YxPwEJofzrWItMLnV0qQFaiGmKEwZhlJy2rsYLzle2m8w63TIzZvzekWkIPJtIpR7hIyOA99ORcAeU7qR4VFLAZg8a80+3i6P9PPZe7dLDRlpK8Fp3y1WqTytQceZuReMw1bn+rECVDOA58scrK0kVyH04+kxeGaySJkNjDea5aathbIYg9RggUws8fvFU2xKo0oDKvzpnXyGsEQ/tQul3PqyPkBg2DSukqNPLbc3CC0v1+x5soHIddgbLkcvOxMIMyOZYi7z9WTaY6WH0eOz+OA== Received: from [66.196.81.174] by nm35.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2015 22:34:37 -0000 Received: from [68.142.230.65] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 12 Feb 2015 22:34:37 -0000 Received: from [127.0.0.1] by smtp222.mail.bf1.yahoo.com with NNFMP; 12 Feb 2015 22:34:37 -0000 X-Yahoo-Newman-Id: 765987.7100.bm@smtp222.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: cjZ4zaEVM1mRcM1DFQ.ilBd8GX7v0.LW6BNayqKB6HDcB_I Pcvnv2cXdTL1.x05FEAFm6sAz3vIJea7BerqmHTWWepUjNKyJbskrKtXnKE3 288XY77VBQXXNyB4C0TYTb.cczWVQX7XeGs5lYKJ990LFdbnajkHKUWkYToH fbhFTr0vi2PgHCkBUy9yb6KceRoRVjmhJmVI59Z8hH7Cyx300ju_TJId5vK5 lVHvihYo5PbBFlu8tWCDGIst1CoBV4Yzbzq.nZGqCmiGmnqvWXSr7AsNU02k 7W0NlvlMbfxrCv0CLr2T6H5NGGSKliiuBsRoQNq5kVsgQYxadVOzUkIaQxvO itbulE0OJLakPfbuT9I31KTUslv6tQR_jG7dNQ2kvE2GcdK6ADVDxuaWIS6p GtLBfgnQ4ud2svFNxXm87OOxb16E7qehKTguMZDJ2T5TQDg6z91ShMcejUji hERXS.v2cmpRJPJbj4tWhTTGrerBuLRtoLX.0CbwU2ZdDW7LIMrMLJuGdxYa gutHmiOaRblWaRZm7Cfs1ZazX1g-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Message-ID: <54DD2A87.2050008@FreeBSD.org> Date: Thu, 12 Feb 2015 17:34:47 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "Bjoern A. Zeeb" Subject: Re: svn commit: r278634 - head/lib/libc/gen References: <201502122107.t1CL7gaO004041@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2015 22:41:11 -0000 On 02/12/15 17:27, Bjoern A. Zeeb wrote: >> On 12 Feb 2015, at 21:07 , Pedro F. Giffuni 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.