svn commit: r292777 - in head: lib/libc/sys sys/kern

Ian Lepore ian at freebsd.org
Sun Dec 27 20:25:37 UTC 2015


On Sun, 2015-12-27 at 12:05 -0800, NGie Cooper wrote:
> > On Dec 27, 2015, at 11:30, Slawa Olhovchenkov <slw at zxy.spb.ru>
> > 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



More information about the svn-src-all mailing list