svn commit: r301459 - stable/10/lib/libc/stdlib

2016-06-05 Thread Andrey A. Chernov
Author: ache Date: Sun Jun 5 18:11:52 2016 New Revision: 301459 URL: https://svnweb.freebsd.org/changeset/base/301459 Log: MFC: r301115 Don't use fixup for C99 and up, the compiler result is already correct. Suggested by: bde Modified: stable/10/lib/libc/stdlib/div.c stable/10/li

svn commit: r301454 - stable/10/lib/libc/stdlib

2016-06-05 Thread Andrey A. Chernov
Author: ache Date: Sun Jun 5 16:21:53 2016 New Revision: 301454 URL: https://svnweb.freebsd.org/changeset/base/301454 Log: MFC: r301448 Reflect error indication according to POSIX and what those functions currently do. Modified: stable/10/lib/libc/stdlib/random.3 Directory Properties:

svn commit: r301446 - stable/10/sys/dev/usb/net

2016-06-05 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jun 5 15:03:55 2016 New Revision: 301446 URL: https://svnweb.freebsd.org/changeset/base/301446 Log: MFC r301206: usb/uhso: Don't bail out on first USB error. CID: 1305680 Submitted by: hselasky MFC after:3 days Modified: stable/10/sys/dev/usb/net

svn commit: r301445 - stable/10/lib/libc/stdlib

2016-06-05 Thread Andrey A. Chernov
Author: ache Date: Sun Jun 5 14:31:36 2016 New Revision: 301445 URL: https://svnweb.freebsd.org/changeset/base/301445 Log: MFC: r300956 1) Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes reading hard. 2) Instead of doing range transformation in each and every

svn commit: r301444 - stable/10/lib/libc/stdlib

2016-06-05 Thread Andrey A. Chernov
Author: ache Date: Sun Jun 5 14:04:54 2016 New Revision: 301444 URL: https://svnweb.freebsd.org/changeset/base/301444 Log: Prepare for merge of r300956. One year old r288030 which fix prototypes can't be merged without conflicts and require merging of other versions too and I don't want to

svn commit: r301443 - stable/10/lib/libc/stdlib

2016-06-05 Thread Andrey A. Chernov
Author: ache Date: Sun Jun 5 13:39:31 2016 New Revision: 301443 URL: https://svnweb.freebsd.org/changeset/base/301443 Log: MFC: r300953 1) Unifdef USE_WEAK_SEEDING it is too obsolete to support and makes reading harder. 2) ACM paper require seed to be in [1, 2^31-2] range, so use th

svn commit: r301441 - stable/10/sys/sys

2016-06-05 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 5 10:48:27 2016 New Revision: 301441 URL: https://svnweb.freebsd.org/changeset/base/301441 Log: MFC r300429: Remove a now unused global declaration of some sysentvec struct. Modified: stable/10/sys/sys/sysent.h Directory Properties: stable/10/ (props ch

svn commit: r301436 - stable/10/sys/vm

2016-06-05 Thread Konstantin Belousov
Author: kib Date: Sun Jun 5 08:42:33 2016 New Revision: 301436 URL: https://svnweb.freebsd.org/changeset/base/301436 Log: MFC r300959: Do not leak the vm object lock when swap reservation failed, in vm_object_coalesce(). Modified: stable/10/sys/vm/vm_object.c Directory Properties: stab

svn commit: r301431 - stable/10/sys/compat/linux

2016-06-05 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 5 07:43:20 2016 New Revision: 301431 URL: https://svnweb.freebsd.org/changeset/base/301431 Log: MFC r300431: Convert proto family in both directions. The linux and native values for local and inet are identical, but for inet6 values differ. PR:

svn commit: r301430 - stable/10/sys/compat/linux

2016-06-05 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 5 07:40:12 2016 New Revision: 301430 URL: https://svnweb.freebsd.org/changeset/base/301430 Log: MFC r300569: Don't leak fp in case where fo_ioctl() returns an error. Reported by: C Turt Modified: stable/10/sys/compat/linux/linux_ioctl.c Directory Pro

svn commit: r301429 - stable/10/sys/compat/linux

2016-06-05 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 5 07:38:56 2016 New Revision: 301429 URL: https://svnweb.freebsd.org/changeset/base/301429 Log: MFC r300416: Add a missing errno translation for SO_ERROR optname. PR: 135458 Reported by: Stefan Schmidt Modified: stable/10/sys/compat/linux/

svn commit: r301428 - in stable/10/sys: amd64/amd64 i386/i386 powerpc/powerpc sparc64/sparc64 sys

2016-06-05 Thread Dmitry Chagin
Author: dchagin Date: Sun Jun 5 07:34:10 2016 New Revision: 301428 URL: https://svnweb.freebsd.org/changeset/base/301428 Log: MFC r300415: Add macro to convert errno and use it when appropriate. Modified: stable/10/sys/amd64/amd64/vm_machdep.c stable/10/sys/i386/i386/vm_machdep.c st