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

2015-12-28 Thread Konstantin Belousov
On Mon, Dec 28, 2015 at 09:35:11AM +1100, Bruce Evans wrote: > If this causes a panic, then it is from a sanity check detecting the > invalid conversion later. A negative value in days breaks the loop > logic but seems to give premature exit from the loops instead of many > iterations. It causes t

Re: svn commit: r292788 - in head/sys: geom/part sys

2015-12-28 Thread Andrey V. Elsukov
On 27.12.15 21:12, Allan Jude wrote: > Author: allanjude > Date: Sun Dec 27 18:12:13 2015 > New Revision: 292788 > URL: https://svnweb.freebsd.org/changeset/base/292788 > > Log: > Add some additional GPT partition types > > 4 ChromeOS GPT types > 2 Microsoft partition types > the new Op

svn commit: r292829 - head/usr.sbin/fstyp

2015-12-28 Thread Xin LI
Author: delphij Date: Mon Dec 28 08:53:31 2015 New Revision: 292829 URL: https://svnweb.freebsd.org/changeset/base/292829 Log: Eliminate unneeded includes. Reviewed by: allanjude Differential Revision:https://reviews.freebsd.org/D4716 Modified: head/usr.sbin/fstyp/fsty

svn commit: r292831 - in head: sbin/ifconfig sys/net

2015-12-28 Thread Alexander V. Chernikov
Author: melifaro Date: Mon Dec 28 09:26:07 2015 New Revision: 292831 URL: https://svnweb.freebsd.org/changeset/base/292831 Log: Add SFF-8024 Extended Specification Compliance Submitted by: markb_mellanox.com MFC after:2 weeks Differential Revision:https://rev

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

2015-12-28 Thread Bruce Evans
On Mon, 28 Dec 2015, Konstantin Belousov wrote: On Mon, Dec 28, 2015 at 09:35:11AM +1100, Bruce Evans wrote: If this causes a panic, then it is from a sanity check detecting the invalid conversion later. A negative value in days breaks the loop logic but seems to give premature exit from the l

Re: svn commit: r292788 - in head/sys: geom/part sys

2015-12-28 Thread Konstantin Belousov
On Mon, Dec 28, 2015 at 11:32:29AM +0300, Andrey V. Elsukov wrote: > On 27.12.15 21:12, Allan Jude wrote: > > enum g_part_alias { > > G_PART_ALIAS_APPLE_BOOT,/* An Apple boot partition entry. */ > > + G_PART_ALIAS_APPLE_CORE_STORAGE,/* An Apple Core Storage partition. */ > > G_PA

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

2015-12-28 Thread Slawa Olhovchenkov
On Mon, Dec 28, 2015 at 09:17:50PM +1100, Bruce Evans wrote: > On Mon, 28 Dec 2015, Konstantin Belousov wrote: > > > On Mon, Dec 28, 2015 at 09:35:11AM +1100, Bruce Evans wrote: > >> If this causes a panic, then it is from a sanity check detecting the > >> invalid conversion later. A negative va

svn commit: r292832 - head/usr.sbin/bsdinstall/scripts

2015-12-28 Thread Devin Teske
Author: dteske Date: Mon Dec 28 17:27:20 2015 New Revision: 292832 URL: https://svnweb.freebsd.org/changeset/base/292832 Log: Explicitly set permissions on entropy files Differential Revision:https://reviews.freebsd.org/D3933 Submitted by: jmg Reviewed by: delphij, markm Appr

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

2015-12-28 Thread Garrett Cooper
> On Dec 28, 2015, at 02:17, Bruce Evans wrote: ... > It is not unreasonable to panic when such tests fail, just like for other > settings of unreasonable values. Only the superuser can make them, and > the superuser should know better than to run them on production systems. On a development

svn commit: r292834 - in head/sys/compat/linuxkpi/common: include/linux src

2015-12-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 28 18:20:05 2015 New Revision: 292834 URL: https://svnweb.freebsd.org/changeset/base/292834 Log: Reduce memory consumption when allocating kobject strings in the LinuxKPI. Compute string length before allocating memory instead of using fixed size allocations. M

svn commit: r292835 - head/sys/dev/mlx5/mlx5_en

2015-12-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 28 18:28:18 2015 New Revision: 292835 URL: https://svnweb.freebsd.org/changeset/base/292835 Log: Make the eeprom dump function more readable and rename variables for better clarity. MFC after:1 week Submitted by: Daria Genzel Differential Revision:

svn commit: r292836 - head/sys/netinet6

2015-12-28 Thread Garrett Wollman
Author: wollman Date: Mon Dec 28 18:29:47 2015 New Revision: 292836 URL: https://svnweb.freebsd.org/changeset/base/292836 Log: in6_if2idlen: treat bridge(4) interfaces like other Ethernet interfaces bridge(4) interfaces have an if_type of IFT_BRIDGE, rather than IFT_ETHER, even though the

svn commit: r292837 - head/sys/dev/mlx5/mlx5_en

2015-12-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 28 18:36:00 2015 New Revision: 292837 URL: https://svnweb.freebsd.org/changeset/base/292837 Log: Add support for sysctl tunables to 10-stable and older. Pushed through head first to simplify driver maintenance. MFC after:1 week Submitted by: Drew Galla

svn commit: r292838 - in head/sys/dev/mlx5: . mlx5_en

2015-12-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 28 18:50:18 2015 New Revision: 292838 URL: https://svnweb.freebsd.org/changeset/base/292838 Log: Add support for CQE zipping. CQE zipping reduces PCI overhead by coalescing and zipping multiple CQEs into a single merged CQE. The feature is enabled by default an

svn commit: r292839 - head

2015-12-28 Thread Devin Teske
Author: dteske Date: Mon Dec 28 19:29:05 2015 New Revision: 292839 URL: https://svnweb.freebsd.org/changeset/base/292839 Log: Add interests/maintainerships + notes Modified: head/MAINTAINERS Modified: head/MAINTAINERS ==

Re: svn commit: r292809 - head/lib/libc/stdio

2015-12-28 Thread John Baldwin
On Sunday, December 27, 2015 11:04:12 PM Warner Losh wrote: > Author: imp > Date: Sun Dec 27 23:04:11 2015 > New Revision: 292809 > URL: https://svnweb.freebsd.org/changeset/base/292809 > > Log: > The FILE structure has a mbstate_t in it. This structure needs to be > aligned on a int64_t bound

Re: svn commit: r292809 - head/lib/libc/stdio

2015-12-28 Thread Warner Losh
I'll look at that, but I don't think posix_memalign is the right way to go. The alignment of FILE is more strict than posix_memalign will return. Ian's idea of __alignof__ is the way to go. We allocate them in one block on purpose for performance, and posix_memalign would be a one at a time affair.

svn commit: r292840 - head/sys/dev/puc

2015-12-28 Thread Marius Strobl
Author: marius Date: Mon Dec 28 20:24:08 2015 New Revision: 292840 URL: https://svnweb.freebsd.org/changeset/base/292840 Log: - Add an entry for the SIIG Cyber 2SP1 PCIe adapter, which is based on an Oxford Semiconductor OX16PCI954 but uses only two ports and a non-default clock rate.

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

2015-12-28 Thread Bruce Evans
On Mon, 28 Dec 2015, Garrett Cooper wrote: On Dec 28, 2015, at 02:17, Bruce Evans wrote: ... It is not unreasonable to panic when such tests fail, just like for other settings of unreasonable values. Only the superuser can make them, and the superuser should know better than to run them

svn commit: r292846 - head/usr.sbin/pw

2015-12-28 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 28 23:57:22 2015 New Revision: 292846 URL: https://svnweb.freebsd.org/changeset/base/292846 Log: Restore dryrun support for pw groupmod Modified: head/usr.sbin/pw/pw_group.c Modified: head/usr.sbin/pw/pw_group.c =

svn commit: r292847 - head/usr.sbin/pw

2015-12-28 Thread Baptiste Daroussin
Author: bapt Date: Tue Dec 29 00:02:08 2015 New Revision: 292847 URL: https://svnweb.freebsd.org/changeset/base/292847 Log: Remove useless assignement of linelen Modified: head/usr.sbin/pw/pw_vpw.c Modified: head/usr.sbin/pw/pw_vpw.c ==

svn commit: r292849 - head/usr.sbin/pw

2015-12-28 Thread Baptiste Daroussin
Author: bapt Date: Tue Dec 29 00:08:32 2015 New Revision: 292849 URL: https://svnweb.freebsd.org/changeset/base/292849 Log: Simplify code for parsing extra groups Modified: head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/pw/pw_conf.c ===

svn commit: r292858 - head/sys/powerpc/powerpc

2015-12-28 Thread Justin Hibbits
Author: jhibbits Date: Tue Dec 29 03:31:06 2015 New Revision: 292858 URL: https://svnweb.freebsd.org/changeset/base/292858 Log: Update capabilities of e500mc, e5500, e6500. Modified: head/sys/powerpc/powerpc/cpu.c Modified: head/sys/powerpc/powerpc/cpu.c =

svn commit: r292859 - in head/sys/dev/hyperv: include vmbus

2015-12-28 Thread Xin LI
Author: delphij Date: Tue Dec 29 07:54:55 2015 New Revision: 292859 URL: https://svnweb.freebsd.org/changeset/base/292859 Log: hyperv: vmbus: remove the per-channel control_work_queue Now vmbus_channel_on_offer() -> vmbus_channel_process_offer() can safely run on the global hv_vmbus_g_con