From owner-svn-src-all@freebsd.org Sun Dec 27 20:25:37 2015 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 4A629A52916 for ; Sun, 27 Dec 2015 20:25:37 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B9D01F6C for ; Sun, 27 Dec 2015 20:25:36 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sun, 27 Dec 2015 20:24:52 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id tBRKOSYV012518; Sun, 27 Dec 2015 13:24:28 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1451247868.1369.16.camel@freebsd.org> Subject: Re: svn commit: r292777 - in head: lib/libc/sys sys/kern From: Ian Lepore To: NGie Cooper , Slawa Olhovchenkov Cc: Dmitry Chagin , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Sun, 27 Dec 2015 13:24:28 -0700 In-Reply-To: <8D7D617E-FF9E-4D74-87CB-1F3EE65D108A@gmail.com> References: <201512271537.tBRFb7nN095297@repo.freebsd.org> <1451236237.1369.9.camel@freebsd.org> <20151227184101.GG70867@zxy.spb.ru> <1451243810.1369.10.camel@freebsd.org> <20151227193046.GE4535@zxy.spb.ru> <8D7D617E-FF9E-4D74-87CB-1F3EE65D108A@gmail.com> Content-Type: text/plain; charset="windows-1251" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 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: Sun, 27 Dec 2015 20:25:37 -0000 On Sun, 2015-12-27 at 12:05 -0800, NGie Cooper wrote: > > On Dec 27, 2015, at 11:30, Slawa Olhovchenkov > > wrote: > > … > > > > I have no idea what you mean by that -- I didn't say anything at > > > all > > > about panic. > > > > As I understund commit log -- this is prevent kernel panic at some > > call (with illegal arguments). This accpetable irrelevant to bugs > > in > > calling code. > > This also makes us POSIX compliant and more compatible with > Linux: > http://pubs.opengroup.org/onlinepubs/007908799/xsh/clock_settime.html > (search for “negative”). > Thanks kib! > -NGie This thread just keeps becoming more and more surrealistic. First someone tries to reply to the original commit (I guess?) by replying with a complete non sequitur to my reply. Now you cite a document that says nothing directly related to the commit at all. The only reference to "negative" in what you cited is part of specifying how to truncate/round fractional values that fall between two representable values given the resolution of the clock you're setting. Later in that document they specifically require EINVAL for negative fractional second values. If they intended to to prohibit negative whole-second values, that would certainly have been the place to mention it, and they don't. -- Ian