Re: svn commit: r316393 - head/sys/compat/linux

2017-04-03 Thread Konstantin Belousov
On Sun, Apr 02, 2017 at 09:23:41PM +0300, Chagin Dmitry wrote: > On Mon, Apr 03, 2017 at 03:57:29AM +1000, Bruce Evans wrote: > > On Sun, 2 Apr 2017, Chagin Dmitry wrote: > > > > > On Sun, Apr 02, 2017 at 04:36:51PM +0300, Konstantin Belousov wrote: > > >> On Sun, Apr 02, 2017 at 07:46:13AM +,

Re: svn commit: r316393 - head/sys/compat/linux

2017-04-02 Thread Chagin Dmitry
On Mon, Apr 03, 2017 at 03:57:29AM +1000, Bruce Evans wrote: > On Sun, 2 Apr 2017, Chagin Dmitry wrote: > > > On Sun, Apr 02, 2017 at 04:36:51PM +0300, Konstantin Belousov wrote: > >> On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: > >>> Author: dchagin > >>> Date: Sun Apr 2 07:46:

Re: svn commit: r316393 - head/sys/compat/linux

2017-04-02 Thread Allan Jude
On 2017-04-02 09:36, Konstantin Belousov wrote: > On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: >> Author: dchagin >> Date: Sun Apr 2 07:46:13 2017 >> New Revision: 316393 >> URL: https://svnweb.freebsd.org/changeset/base/316393 >> >> Log: >> As noted by bde@ negative tv_sec val

Re: svn commit: r316393 - head/sys/compat/linux

2017-04-02 Thread Bruce Evans
On Sun, 2 Apr 2017, Chagin Dmitry wrote: On Sun, Apr 02, 2017 at 04:36:51PM +0300, Konstantin Belousov wrote: On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: Author: dchagin Date: Sun Apr 2 07:46:13 2017 New Revision: 316393 URL: https://svnweb.freebsd.org/changeset/base/316393

Re: svn commit: r316393 - head/sys/compat/linux

2017-04-02 Thread Chagin Dmitry
On Sun, Apr 02, 2017 at 04:36:51PM +0300, Konstantin Belousov wrote: > On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: > > Author: dchagin > > Date: Sun Apr 2 07:46:13 2017 > > New Revision: 316393 > > URL: https://svnweb.freebsd.org/changeset/base/316393 > > > > Log: > > As note

Re: svn commit: r316393 - head/sys/compat/linux

2017-04-02 Thread Konstantin Belousov
On Sun, Apr 02, 2017 at 07:46:13AM +, Dmitry Chagin wrote: > Author: dchagin > Date: Sun Apr 2 07:46:13 2017 > New Revision: 316393 > URL: https://svnweb.freebsd.org/changeset/base/316393 > > Log: > As noted by bde@ negative tv_sec values are not checked for overflow, > so overflow can st

svn commit: r316393 - head/sys/compat/linux

2017-04-02 Thread Dmitry Chagin
Author: dchagin Date: Sun Apr 2 07:46:13 2017 New Revision: 316393 URL: https://svnweb.freebsd.org/changeset/base/316393 Log: As noted by bde@ negative tv_sec values are not checked for overflow, so overflow can still occur. Fix that. Also remove the extra check for tv_sec size as under COM