From owner-svn-src-all@freebsd.org Fri Oct 21 23:31:30 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 55648C1CB02 for ; Fri, 21 Oct 2016 23:31:30 +0000 (UTC) (envelope-from 01000157e995ad01-46d7143d-ba55-4226-9d12-e56d201fa37d-000000@amazonses.com) Received: from a8-176.smtp-out.amazonses.com (a8-176.smtp-out.amazonses.com [54.240.8.176]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19E91BB6 for ; Fri, 21 Oct 2016 23:31:29 +0000 (UTC) (envelope-from 01000157e995ad01-46d7143d-ba55-4226-9d12-e56d201fa37d-000000@amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=vnqrkfnvu6csdl6mwgk5t6ix3nnepx57; d=tarsnap.com; t=1477092683; h=Subject:To:References:Cc:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=aPoBZC9U7x7h8zqQVQ3BdwPhdwjit/L7/BxV4+5wj5Q=; b=eQUuBSo3a11k3R5UJmueXakQeuA5C1ELC2U5dQnGwcJz+OfsGqm2uauhVEHVCwUn 2HJbS8woY3wjnWDLwn81tRZd4w1fy/uzdwzWx7S+Lisc/tnwaFi2JM7bJJ9x0alKELG 5cxGbLBVvgIAlQ3fXkYB/ZQQAm87dg07WwpsIyhk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1477092683; h=Subject:To:References:Cc:From:Message-ID:Date:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding:Feedback-ID; bh=aPoBZC9U7x7h8zqQVQ3BdwPhdwjit/L7/BxV4+5wj5Q=; b=IFcs0HRD5fpjdXkGbvLY5kqDJJVPgtPtq+z0NSpUea7MzitTJRy4IDiXFw8cPLJh bMNfsdIVoclE/Lk/Pr07mPEXhBmtuhCQvHGSxzFa+pWfmrTYaA39Er8W/g1+si+DhbH oNyvEztkSPXEoqXNhbCbV54gImDXrnHVD4BDAPVk= Subject: Re: cvs commit: src/sys/sys _types.h resource.h To: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= References: <200411081805.iA8I5hVK038813@repoman.freebsd.org> <01000157e3ac7982-b19e61c1-1619-44b1-88b5-3080d85e8d6d-000000@email.amazonses.com> <86wph1o8ec.fsf@desk.des.no> <01000157e9447f3f-f307bb1a-7179-48f8-9e6a-fca3cf0de5f5-000000@email.amazonses.com> <86shrpnwzk.fsf@desk.des.no> Cc: src-committers@FreeBSD.org, "svn-src-all@freebsd.org" From: Colin Percival Message-ID: <01000157e995ad01-46d7143d-ba55-4226-9d12-e56d201fa37d-000000@email.amazonses.com> Date: Fri, 21 Oct 2016 23:31:23 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <86shrpnwzk.fsf@desk.des.no> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SES-Outgoing: 2016.10.21-54.240.8.176 Feedback-ID: 1.us-east-1.Lv9FVjaNvvR5llaqfLoOVbo2VxOELl7cjN0AOyXnPlk=:AmazonSES X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 23:31:30 -0000 On 10/21/16 15:44, Dag-Erling Smørgrav wrote: > Colin Percival writes: >> I wasn't talking about the value of RLIM_INFINITY, but rather about whether >> rlim_t should be signed or unsigned. Right now it is signed; but POSIX says >> it should be unsigned, and most other OSes follow POSIX's mandate here. > > Yeah, I was a little bit confused about what my commit actually did It added a comment providing a reason for not conforming to POSIX, but did not change the underlying behaviour. > (it's been 12 years!) but my point is that a) by all means, signedness > doesn't really matter for compatibility, but b) if we're changing the > type, we might as well change the value of RLIM_INFINITY to (rlim_t)-1 > to match other OSes, and we can do it without significant breakage. Should we get a ports experimental run for this? -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid