svn commit: r311762 - head/usr.bin/netstat

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 07:36:31 2017 New Revision: 311762 URL: https://svnweb.freebsd.org/changeset/base/311762 Log: Fix typo. MFC after:3 days Modified: head/usr.bin/netstat/route.c Modified: head/usr.bin/netstat/route.c ===

svn commit: r311761 - head/usr.sbin/bsnmpd/modules/snmp_netgraph

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 06:36:17 2017 New Revision: 311761 URL: https://svnweb.freebsd.org/changeset/base/311761 Log: Add a REVISION section to track changes for the BEGEMOT-NETGRAPH MIB file This change also documents the modification harti made to a handful of objects in r122758 (

svn commit: r311760 - head/contrib/bsnmp/snmpd

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 06:27:30 2017 New Revision: 311760 URL: https://svnweb.freebsd.org/changeset/base/311760 Log: Add a REVISION section to track changes for the BEGEMOT-MIB MIB file There haven't been any changes to the MIB definition, so the REVISION remains static at the vers

svn commit: r311759 - head/contrib/bsnmp/snmpd

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 06:24:28 2017 New Revision: 311759 URL: https://svnweb.freebsd.org/changeset/base/311759 Log: Add a REVISION section to track changes for the FOKUS-MIB MIB file There haven't been any changes to the MIB definition, so the REVISION remains static at the versio

svn commit: r311758 - head/usr.sbin/bsnmpd/modules/snmp_atm

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 06:19:20 2017 New Revision: 311758 URL: https://svnweb.freebsd.org/changeset/base/311758 Log: Add a REVISION section to track changes for the BEGEMOT-ATM-FREEBSD-MIB MIB file There haven't been any changes to the MIB definition, so the REVISION remains stati

svn commit: r311757 - head/contrib/bsnmp/gensnmpdef

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 06:13:27 2017 New Revision: 311757 URL: https://svnweb.freebsd.org/changeset/base/311757 Log: Similar to r311750, check for the result from smiGetModule to avoid a segfault when dereferencing a NULL pointer later on. Choose to just check for the NULL pointer

svn commit: r311756 - stable/10/usr.sbin/jail

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 06:07:44 2017 New Revision: 311756 URL: https://svnweb.freebsd.org/changeset/base/311756 Log: MFC r310614: Don't assign rtjp twice. Modified: stable/10/usr.sbin/jail/jail.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/jail

svn commit: r311755 - stable/11/usr.sbin/jail

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 06:05:57 2017 New Revision: 311755 URL: https://svnweb.freebsd.org/changeset/base/311755 Log: MFC r310614: Don't assign rtjp twice. Modified: stable/11/usr.sbin/jail/jail.c Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.sbin/jail

svn commit: r311754 - head/contrib/bsnmp/gensnmpdef

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 06:03:49 2017 New Revision: 311754 URL: https://svnweb.freebsd.org/changeset/base/311754 Log: Use calloc instead of malloc + memset(.., 0, ..) MFC after:5 days Modified: head/contrib/bsnmp/gensnmpdef/gensnmpdef.c Modified: head/contrib/bsnmp/gensnmpdef/

svn commit: r311753 - stable/10/usr.sbin/pstat

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 05:58:48 2017 New Revision: 311753 URL: https://svnweb.freebsd.org/changeset/base/311753 Log: MFC r310611: - pstat(8) does not accept any arguments other than getopt() args, so don't bother to adjust argc/argv after getopt() loop. - Make a string po

svn commit: r311752 - stable/11/usr.sbin/pstat

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 05:57:31 2017 New Revision: 311752 URL: https://svnweb.freebsd.org/changeset/base/311752 Log: MFC r310611: - pstat(8) does not accept any arguments other than getopt() args, so don't bother to adjust argc/argv after getopt() loop. - Make a string po

svn commit: r311751 - stable/10/libexec/talkd

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 05:52:30 2017 New Revision: 311751 URL: https://svnweb.freebsd.org/changeset/base/311751 Log: MFC r310609: Don't use high precision clock for expiration as only second portion is used. Modified: stable/10/libexec/talkd/table.c Directory Properties: stable/

svn commit: r311750 - head/contrib/bsnmp/gensnmpdef

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 05:51:38 2017 New Revision: 311750 URL: https://svnweb.freebsd.org/changeset/base/311750 Log: Check result from smiGetFirstNode and smiGetNodeByOID This avoids a segfault with malformed or unanticipated files, like IPV6-TC.txt (a file containing just TEXTUAL-

svn commit: r311749 - stable/11/libexec/talkd

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 05:50:52 2017 New Revision: 311749 URL: https://svnweb.freebsd.org/changeset/base/311749 Log: MFC r310609: Don't use high precision clock for expiration as only second portion is used. Modified: stable/11/libexec/talkd/table.c Directory Properties: stable/

svn commit: r311748 - head/tools/tools/gensnmpdef

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 05:46:41 2017 New Revision: 311748 URL: https://svnweb.freebsd.org/changeset/base/311748 Log: Bump WARNS up from 0 to 6 MFC after:5 days Modified: head/tools/tools/gensnmpdef/Makefile Modified: head/tools/tools/gensnmpdef/Makefile ==

svn commit: r311747 - stable/10/libexec/talkd

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 05:44:19 2017 New Revision: 311747 URL: https://svnweb.freebsd.org/changeset/base/311747 Log: MFC r310608: Avoid use after free. Modified: stable/10/libexec/talkd/table.c Directory Properties: stable/10/ (props changed) Modified: stable/10/libexec/talkd/t

svn commit: r311746 - stable/11/libexec/talkd

2017-01-08 Thread Xin LI
Author: delphij Date: Mon Jan 9 05:41:47 2017 New Revision: 311746 URL: https://svnweb.freebsd.org/changeset/base/311746 Log: MFC r310608: Avoid use after free. Modified: stable/11/libexec/talkd/table.c Directory Properties: stable/11/ (props changed) Modified: stable/11/libexec/talkd/t

svn commit: r311744 - head/share/mk

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 04:35:55 2017 New Revision: 311744 URL: https://svnweb.freebsd.org/changeset/base/311744 Log: Document bsd.snmpmod.mk from a high-level MFC after:2 weeks Modified: head/share/mk/bsd.README Modified: head/share/mk/bsd.README =

svn commit: r311743 - in head/sys/dev/hyperv: include utilities vmbus vmbus/amd64

2017-01-08 Thread Sepherosa Ziehau
Author: sephe Date: Mon Jan 9 03:38:41 2017 New Revision: 311743 URL: https://svnweb.freebsd.org/changeset/base/311743 Log: hyperv: Add method to read 64bit Hyper-V specific time value. MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.o

svn commit: r311742 - head/contrib/bsnmp/snmp_mibII

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 03:21:21 2017 New Revision: 311742 URL: https://svnweb.freebsd.org/changeset/base/311742 Log: Add a REVISION section to track changes for the BEGEMOT-IP-MIB MIB file There haven't been any changes to the MIB definition, so the REVISION remains static at the v

svn commit: r311741 - head/usr.sbin/bsnmpd/modules/snmp_hostres

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 03:18:19 2017 New Revision: 311741 URL: https://svnweb.freebsd.org/changeset/base/311741 Log: Add a REVISION section to track changes for the hostres module There haven't been any changes to the MIB definition, so the REVISION remains static at the version it

svn commit: r311740 - in head/usr.sbin/bsnmpd/modules: snmp_hostres snmp_mibII

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 03:14:04 2017 New Revision: 311740 URL: https://svnweb.freebsd.org/changeset/base/311740 Log: Improve the smilint target in the hostres and mibII modules - Mark the smilint target .PHONY so it's always executed when requested - Leverage .PATH for BMIBS instea

svn commit: r311739 - in head/usr.sbin/bsnmpd/modules: snmp_atm snmp_hast snmp_hostres snmp_mibII snmp_target snmp_usm snmp_vacm

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 03:08:21 2017 New Revision: 311739 URL: https://svnweb.freebsd.org/changeset/base/311739 Log: Use SRCTOP instead of spelling out the full path with .CURDIR This helps condense the output for CFLAGS and .PATH MFC after:3 days Modified: head/usr.sbin/

Re: svn commit: r311667 - in head/sys/contrib/dev/acpica: components/namespace components/tables include

2017-01-08 Thread Ngie Cooper (yaneurabeya)
> On Jan 8, 2017, at 18:24, Jan Beich wrote: > > "Conrad E. Meyer" writes: > >> +++ head/sys/contrib/dev/acpica/components/tables/tbxface.c Sun Jan 8 >> 06:26:33 2017(r311667) >> @@ -314,11 +314,12 @@ ACPI_EXPORT_SYMBOL (AcpiGetTableHeader) >> >> /**

Re: svn commit: r311667 - in head/sys/contrib/dev/acpica: components/namespace components/tables include

2017-01-08 Thread Jan Beich
"Conrad E. Meyer" writes: > +++ head/sys/contrib/dev/acpica/components/tables/tbxface.c Sun Jan 8 > 06:26:33 2017(r311667) > @@ -314,11 +314,12 @@ ACPI_EXPORT_SYMBOL (AcpiGetTableHeader) > > > /*** > * >

svn commit: r311736 - head/sys/dev/sdhci

2017-01-08 Thread Ian Lepore
Author: ian Date: Mon Jan 9 02:04:54 2017 New Revision: 311736 URL: https://svnweb.freebsd.org/changeset/base/311736 Log: Use the new sdhci_fdt_gpio helper functions to add full support for FDT gpio pins for detecting card insert/remove and write protect. Modified: head/sys/dev/sdhci/fsl_s

svn commit: r311735 - head/sys/arm/ti

2017-01-08 Thread Ian Lepore
Author: ian Date: Mon Jan 9 01:57:51 2017 New Revision: 311735 URL: https://svnweb.freebsd.org/changeset/base/311735 Log: Use the new sdhci_fdt_gpio helper functions to add full support for FDT gpio pins for detecting card insert/remove and write protect. Modified: head/sys/arm/ti/ti_sdhci

svn commit: r311734 - in head/sys: conf dev/sdhci

2017-01-08 Thread Ian Lepore
Author: ian Date: Mon Jan 9 01:54:36 2017 New Revision: 311734 URL: https://svnweb.freebsd.org/changeset/base/311734 Log: Add new helper routines for sdhci bridge drivers that use gpio pins for card presence and write protect switch detection. A bridge driver just needs to call the setup

svn commit: r311733 - head/contrib/bsnmp/snmp_mibII

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:47:00 2017 New Revision: 311733 URL: https://svnweb.freebsd.org/changeset/base/311733 Log: Use nitems(mib) instead of hardcoding mib's length when calling sysctl(3) MFC after:3 days Modified: head/contrib/bsnmp/snmp_mibII/mibII.c Modified: head/contr

svn commit: r311731 - stable/11/kerberos5/libexec

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:31:16 2017 New Revision: 311731 URL: https://svnweb.freebsd.org/changeset/base/311731 Log: MFC r34: Build libexec/kadmind when MK_GSSAPI != no because it requires gssapi Modified: stable/11/kerberos5/libexec/Makefile Directory Properties: stable/11/

svn commit: r311730 - stable/10/kerberos5/libexec

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:31:12 2017 New Revision: 311730 URL: https://svnweb.freebsd.org/changeset/base/311730 Log: MFC r34: Build libexec/kadmind when MK_GSSAPI != no because it requires gssapi Modified: stable/10/kerberos5/libexec/Makefile Directory Properties: stable/10/

svn commit: r311729 - in stable/10/kerberos5: . lib

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:29:20 2017 New Revision: 311729 URL: https://svnweb.freebsd.org/changeset/base/311729 Log: MFC r32,r35: r32: libgssapi_{krb5,ntlm,spnego} requires MK_GSSAPI != no; conditionalize their building on the knob r35: Conditionalize

svn commit: r311728 - in stable/11/kerberos5: . lib

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:22:46 2017 New Revision: 311728 URL: https://svnweb.freebsd.org/changeset/base/311728 Log: MFC r32,r35: r32: libgssapi_{krb5,ntlm,spnego} requires MK_GSSAPI != no; conditionalize their building on the knob r35: Conditionalize

svn commit: r311727 - head/sys/dev/sdhci

2017-01-08 Thread Ian Lepore
Author: ian Date: Mon Jan 9 01:15:18 2017 New Revision: 311727 URL: https://svnweb.freebsd.org/changeset/base/311727 Log: Add support for non-removable media, and a quirk to use polling to detect card insert/remove events on controllers that don't implement the insert and remove interrupts.

svn commit: r311726 - stable/11/contrib/bsnmp/snmp_mibII

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:12:34 2017 New Revision: 311726 URL: https://svnweb.freebsd.org/changeset/base/311726 Log: MFC r311505: Remove unnecessary __unused attribute attached to `ctx` in op_begemot_mibII(..) Modified: stable/11/contrib/bsnmp/snmp_mibII/mibII_begemot.c Directory

svn commit: r311725 - stable/10/contrib/bsnmp/snmp_mibII

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:12:32 2017 New Revision: 311725 URL: https://svnweb.freebsd.org/changeset/base/311725 Log: MFC r311505: Remove unnecessary __unused attribute attached to `ctx` in op_begemot_mibII(..) Modified: stable/10/contrib/bsnmp/snmp_mibII/mibII_begemot.c Directory

svn commit: r311724 - stable/11/contrib/bsnmp/snmp_usm

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:11:42 2017 New Revision: 311724 URL: https://svnweb.freebsd.org/changeset/base/311724 Log: MFC r311384: op_usm_users: fix indentation in SNMP_OP_SET block Modified: stable/11/contrib/bsnmp/snmp_usm/usm_snmp.c Directory Properties: stable/11/ (props ch

svn commit: r311723 - stable/10/contrib/bsnmp/snmp_usm

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:11:38 2017 New Revision: 311723 URL: https://svnweb.freebsd.org/changeset/base/311723 Log: MFC r311384: op_usm_users: fix indentation in SNMP_OP_SET block Modified: stable/10/contrib/bsnmp/snmp_usm/usm_snmp.c Directory Properties: stable/10/ (props ch

svn commit: r311722 - stable/11/contrib/bsnmp/snmpd

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:09:00 2017 New Revision: 311722 URL: https://svnweb.freebsd.org/changeset/base/311722 Log: MFC r311382: Use calloc instead of malloc + memset(.., 0, ..) Modified: stable/11/contrib/bsnmp/snmpd/trans_lsock.c Directory Properties: stable/11/ (props chan

svn commit: r311721 - stable/10/contrib/bsnmp/snmpd

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:08:43 2017 New Revision: 311721 URL: https://svnweb.freebsd.org/changeset/base/311721 Log: MFC r311382: Use calloc instead of malloc + memset(.., 0, ..) Modified: stable/10/contrib/bsnmp/snmpd/trans_lsock.c Directory Properties: stable/10/ (props chan

svn commit: r311720 - stable/10/usr.sbin/bsnmpd/modules/snmp_hostres

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:07:16 2017 New Revision: 311720 URL: https://svnweb.freebsd.org/changeset/base/311720 Log: MFC r311393: OS_getSystemUptime: use nitems for calculating the number of elements in a sysctl mib instead of hardcoding the number 2 Modified: stable/10/usr.sbin

svn commit: r311719 - stable/11/usr.sbin/bsnmpd/modules/snmp_hostres

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:05:44 2017 New Revision: 311719 URL: https://svnweb.freebsd.org/changeset/base/311719 Log: MFC r311393: OS_getSystemUptime: use nitems for calculating the number of elements in a sysctl mib instead of hardcoding the number 2 Modified: stable/11/usr.sbin

svn commit: r311718 - stable/10/lib/libc/net

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:05:02 2017 New Revision: 311718 URL: https://svnweb.freebsd.org/changeset/base/311718 Log: MFC r310984,r311102: r310984: Use calloc instead of malloc + memset(.., 0, ..) r311102 (by pfg): Cleanup inelegant calloc(3) introduced in r310984. Mod

svn commit: r311717 - stable/11/lib/libc/net

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 01:02:16 2017 New Revision: 311717 URL: https://svnweb.freebsd.org/changeset/base/311717 Log: MFC r310984,r311102: r310984: Use calloc instead of malloc + memset(.., 0, ..) r311102 (by pfg): Cleanup inelegant calloc(3) introduced in r310984. Mod

Re: svn commit: r311715 - head/lib/libprocstat

2017-01-08 Thread Ngie Cooper (yaneurabeya)
> On Jan 8, 2017, at 16:54, Ngie Cooper wrote: > > Author: ngie > Date: Mon Jan 9 00:54:18 2017 > New Revision: 311715 > URL: https://svnweb.freebsd.org/changeset/base/311715 > > Log: > Use nitems({mib,name}) instead of hardcoding their value *value -> length signature.asc Description: Mes

svn commit: r311715 - head/lib/libprocstat

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:54:18 2017 New Revision: 311715 URL: https://svnweb.freebsd.org/changeset/base/311715 Log: Use nitems({mib,name}) instead of hardcoding their value MFC after:3 days Modified: head/lib/libprocstat/libprocstat.c Modified: head/lib/libprocstat/libprocst

svn commit: r311714 - head/lib/libutil

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:47:23 2017 New Revision: 311714 URL: https://svnweb.freebsd.org/changeset/base/311714 Log: lib/libutil/kinfo_*: style cleanup - Use nitems(mib) instead of hardcoding mib's length - Sort sys/ #includes MFC after:3 days Modified: head/lib/libutil

svn commit: r311713 - head/usr.sbin/route6d

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:38:19 2017 New Revision: 311713 URL: https://svnweb.freebsd.org/changeset/base/311713 Log: Use nitems(mib) instead of hardcoding mib's length MFC after:3 days Modified: head/usr.sbin/route6d/route6d.c Modified: head/usr.sbin/route6d/route6d.c ===

svn commit: r311712 - head/usr.sbin/route6d

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:37:09 2017 New Revision: 311712 URL: https://svnweb.freebsd.org/changeset/base/311712 Log: Sort #includes MFC after:3 days Modified: head/usr.sbin/route6d/route6d.c Modified: head/usr.sbin/route6d/route6d.c ===

svn commit: r311711 - head/usr.sbin/route6d

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:33:27 2017 New Revision: 311711 URL: https://svnweb.freebsd.org/changeset/base/311711 Log: Clean up trailing whitespace MFC after:3 days Modified: head/usr.sbin/route6d/route6d.c Modified: head/usr.sbin/route6d/route6d.c =

svn commit: r311710 - head/usr.bin/top

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:29:23 2017 New Revision: 311710 URL: https://svnweb.freebsd.org/changeset/base/311710 Log: Style fixes - Delete trailing whitespace - Use nitems(mib) instead of hardcoding the mib length MFC after:3 days Modified: head/usr.bin/top/machine.c Mo

svn commit: r311709 - head/usr.sbin/rwhod

2017-01-08 Thread Ngie Cooper
Author: ngie Date: Mon Jan 9 00:25:33 2017 New Revision: 311709 URL: https://svnweb.freebsd.org/changeset/base/311709 Log: Style(9) fixes - Sort sys/ #includes - Use nitems instead of hardcoding the length of `mib` MFC after:3 days Modified: head/usr.sbin/rwhod/rwhod.c Modif

svn commit: r311708 - in stable: 10/sys/sys 10/usr.bin/kdump 11/sys/sys 11/usr.bin/kdump

2017-01-08 Thread John Baldwin
Author: jhb Date: Mon Jan 9 00:09:19 2017 New Revision: 311708 URL: https://svnweb.freebsd.org/changeset/base/311708 Log: MFC 306564: Expose kernel-only errno values if _WANT_KERNEL_ERRNO is defined. The kernel uses a few negative errno values for internal conditions such as requesting a

svn commit: r311708 - in stable: 10/sys/sys 10/usr.bin/kdump 11/sys/sys 11/usr.bin/kdump

2017-01-08 Thread John Baldwin
Author: jhb Date: Mon Jan 9 00:09:19 2017 New Revision: 311708 URL: https://svnweb.freebsd.org/changeset/base/311708 Log: MFC 306564: Expose kernel-only errno values if _WANT_KERNEL_ERRNO is defined. The kernel uses a few negative errno values for internal conditions such as requesting a

svn commit: r311707 - in head/sys/dev/rtwn: . usb

2017-01-08 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 8 23:41:17 2017 New Revision: 311707 URL: https://svnweb.freebsd.org/changeset/base/311707 Log: rtwn_usb(4): fix Rx buffer size calculation. Use device-specific Rx buffer size to ensure that data will not be truncated + add a warning if truncation was detected

svn commit: r311706 - head/share/misc

2017-01-08 Thread Baptiste Daroussin
Author: bapt Date: Sun Jan 8 23:25:46 2017 New Revision: 311706 URL: https://svnweb.freebsd.org/changeset/base/311706 Log: Update pciids to 2017.01.08 MFC after:1 day Modified: head/share/misc/pci_vendors Modified: head/share/misc/pci_vendors ===

Re: svn commit: r311659 - head/lib/libstand

2017-01-08 Thread Kamil Czekirda
Thanks. 2017-01-08 0:42 GMT+01:00 Baptiste Daroussin : > Author: bapt > Date: Sat Jan 7 23:42:17 2017 > New Revision: 311659 > URL: https://svnweb.freebsd.org/changeset/base/311659 > > Log: > remove network mask calculation for Classful network > > Nowadays it's not necessary to compute netw

svn commit: r311703 - head/sys/powerpc/include

2017-01-08 Thread Justin Hibbits
Author: jhibbits Date: Sun Jan 8 21:12:46 2017 New Revision: 311703 URL: https://svnweb.freebsd.org/changeset/base/311703 Log: Knock a page off VM_MAX_KERNEL_ADDRESS There are places where checks are made against VM_MAX_KERNEL_ADDRESS, or virtual_end (set to VM_MAX_KERNEL_ADDRESS). With

svn commit: r311702 - head/usr.sbin/bhyve

2017-01-08 Thread Peter Grehan
Author: grehan Date: Sun Jan 8 20:58:58 2017 New Revision: 311702 URL: https://svnweb.freebsd.org/changeset/base/311702 Log: Use correct PCI device id for virtio-rng. This prevented the device from attaching with a Windows guest (most other guests use the device type for matching) PR

Re: svn commit: r311225 - head/sys/netinet

2017-01-08 Thread Mark Johnston
On Sat, Jan 07, 2017 at 02:31:28PM -0500, George Neville-Neil wrote: > > > On 7 Jan 2017, at 14:23, George Neville-Neil wrote: > > > On 4 Jan 2017, at 13:26, Mark Johnston wrote: > > > >> On Wed, Jan 04, 2017 at 02:19:13AM +, George V. Neville-Neil > >> wrote: > >>> Author: gnn > >>> Date:

svn commit: r311701 - head/sys/dev/gpio

2017-01-08 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 8 20:41:32 2017 New Revision: 311701 URL: https://svnweb.freebsd.org/changeset/base/311701 Log: Convert gpioc to use the make_dev_s(9) KPI. This fix a possible race where si_drv1 can be accessed before it gets set. This is inspired on r311700. MFC after:

svn commit: r311700 - head/sys/dev/etherswitch

2017-01-08 Thread Luiz Otavio O Souza
Author: loos Date: Sun Jan 8 20:37:41 2017 New Revision: 311700 URL: https://svnweb.freebsd.org/changeset/base/311700 Log: Convert etherswitch to use the make_dev_s(9) KPI. This fix a possible race where si_drv1 can be accessed before it gets set. MFC after:3 days Suggested by: ki

svn commit: r311699 - head/usr.sbin/bhyve

2017-01-08 Thread Peter Grehan
Author: grehan Date: Sun Jan 8 20:29:35 2017 New Revision: 311699 URL: https://svnweb.freebsd.org/changeset/base/311699 Log: Make sure the 'Always-one' bit is always set to one, in the first byte of the 3-byte mouse data report. Plan9/9front requires this. Switch over to using #defines

svn commit: r311695 - head/sys/netinet6

2017-01-08 Thread Mark Johnston
Author: markj Date: Sun Jan 8 18:46:00 2017 New Revision: 311695 URL: https://svnweb.freebsd.org/changeset/base/311695 Log: Release the ND6 list lock before making a prefix off-link in nd6_timer(). Reported by: Jim X-MFC With: r306829 Modified: head/sys/netinet6/nd6.c Modified: h

svn commit: r311694 - stable/11/sys/dev/usb/wlan

2017-01-08 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 8 18:33:13 2017 New Revision: 311694 URL: https://svnweb.freebsd.org/changeset/base/311694 Log: MFC r311105: rsu: restore 40Mhz channel support. Modified: stable/11/sys/dev/usb/wlan/if_rsu.c Directory Properties: stable/11/ (props changed) Modified: stable/1

svn commit: r311693 - head/sys/dev/sdhci

2017-01-08 Thread Ian Lepore
Author: ian Date: Sun Jan 8 18:28:06 2017 New Revision: 311693 URL: https://svnweb.freebsd.org/changeset/base/311693 Log: Now that the PRESENT_STATE register is only used for the inhibit bits loop in this function, eliminate the state variable and restructure the loop to read the register j

svn commit: r311690 - stable/11/usr.sbin/bsdinstall/scripts

2017-01-08 Thread Devin Teske
Author: dteske Date: Sun Jan 8 18:14:22 2017 New Revision: 311690 URL: https://svnweb.freebsd.org/changeset/base/311690 Log: MFC improvements to bsdinstall's wlanconfig module MFC [85] revisions 309719-309720, 309901-309902, 309904-309911, 309913-309920, 309922-309924, 309926, 309928, 30

svn commit: r311689 - stable/11/sbin/sysctl

2017-01-08 Thread Andriy Voskoboinyk
Author: avos Date: Sun Jan 8 18:03:52 2017 New Revision: 311689 URL: https://svnweb.freebsd.org/changeset/base/311689 Log: MFC r310961: sysctl(8): fix typename for uint32_t Modified: stable/11/sbin/sysctl/sysctl.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sb

svn commit: r311688 - head/sys/geom/vinum

2017-01-08 Thread Dimitry Andric
Author: dim Date: Sun Jan 8 17:56:54 2017 New Revision: 311688 URL: https://svnweb.freebsd.org/changeset/base/311688 Log: Fix logic error in gvinum's gv_set_sd_state() With clang 4.0.0, I'm getting the following warnings: sys/geom/vinum/geom_vinum_state.c:186:7: error: logical not

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

2017-01-08 Thread Konstantin Belousov
Author: kib Date: Sun Jan 8 16:59:07 2017 New Revision: 311687 URL: https://svnweb.freebsd.org/changeset/base/311687 Log: MFC r267546 (by alc): Tidy up the early parts of vm_map_insert(). MFC r267645 (by alc): When MAP_STACK_GROWS_{DOWN,UP} are passed to vm_map_insert() set the corre

svn commit: r311686 - stable/11/usr.sbin/bsdinstall/scripts

2017-01-08 Thread Devin Teske
Author: dteske Date: Sun Jan 8 16:55:59 2017 New Revision: 311686 URL: https://svnweb.freebsd.org/changeset/base/311686 Log: MFC r309716: Add support for "hidden" Wi-Fi networks PR: bin/214933 Submitted by: Maxim Filimonov Reviewed by: dteske, allanjude, adrian Modified:

svn commit: r311683 - stable/11/cddl/lib/libdtrace

2017-01-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 8 13:38:17 2017 New Revision: 311683 URL: https://svnweb.freebsd.org/changeset/base/311683 Log: MFC r310785: Convert ipv4_flags and ipv4_offset fields into host byte order. Also save only high bits in the ipv4_flags, because it is defined as uint8_t. So now

svn commit: r311682 - stable/11/sys/netinet

2017-01-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 8 13:35:10 2017 New Revision: 311682 URL: https://svnweb.freebsd.org/changeset/base/311682 Log: MFC r310783: When we are sending IP fragments, update ip pointers in IP_PROBE() for each fragment. Modified: stable/11/sys/netinet/ip_fastfwd.c stable/11/sys/net

svn commit: r311681 - in stable/11/sys: conf netinet6

2017-01-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 8 13:31:24 2017 New Revision: 311681 URL: https://svnweb.freebsd.org/changeset/base/311681 Log: MFC r309883: Add ip6_tryforward() - a run to completion forwarding implementation for IPv6. It gets performance benefits from reduced number of checks. It does

svn commit: r311680 - head/sys/cam/ctl

2017-01-08 Thread Alexander Motin
Author: mav Date: Sun Jan 8 13:26:34 2017 New Revision: 311680 URL: https://svnweb.freebsd.org/changeset/base/311680 Log: Make CTL_GETSTATS ioctl return partial data if buffer is small. MFC after:2 weeks Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c

svn commit: r311679 - head/sys/netipsec

2017-01-08 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 8 12:40:07 2017 New Revision: 311679 URL: https://svnweb.freebsd.org/changeset/base/311679 Log: Add direction argument to ipsec_setspidx_inpcb() function. This function is used only by ipsec_getpolicybysock() to fill security policy index selector for locally gen

svn commit: r311678 - head/sys/net80211

2017-01-08 Thread Adrian Chadd
Author: adrian Date: Sun Jan 8 10:13:05 2017 New Revision: 311678 URL: https://svnweb.freebsd.org/changeset/base/311678 Log: [net80211] add roaming parameters for 11ac. These are mostly placeholders for now. Modified: head/sys/net80211/ieee80211_scan.c Modified: head/sys/net80211/ieee8

svn commit: r311677 - head/sys/net80211

2017-01-08 Thread Adrian Chadd
Author: adrian Date: Sun Jan 8 10:07:54 2017 New Revision: 311677 URL: https://svnweb.freebsd.org/changeset/base/311677 Log: [net80211] use the correct freq2 field when populating VHT operation element. Whilst here, leave a TODO comment so I revisit this routine in the context of hostap

svn commit: r311676 - stable/11/sys/vm

2017-01-08 Thread Konstantin Belousov
Author: kib Date: Sun Jan 8 09:18:08 2017 New Revision: 311676 URL: https://svnweb.freebsd.org/changeset/base/311676 Log: MFC r311014: Style fixes for vm_map_insert(). Modified: stable/11/sys/vm/vm_map.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/vm/vm_ma

Re: svn commit: r311665 - head/sys/fs/cd9660

2017-01-08 Thread Konstantin Belousov
On Sun, Jan 08, 2017 at 06:21:49AM +, Conrad E. Meyer wrote: > +/* > + * When ino_t becomes 64-bit, we can remove this definition in favor of > ino_t. > + */ > +#define cd_ino_t uint64_t > + Why the type is defined and not typedef-ed ? Also, I do not think that it is good idea to rely on

svn commit: r311675 - head/sys/fs/cd9660

2017-01-08 Thread Conrad E. Meyer
Author: cem Date: Sun Jan 8 09:16:07 2017 New Revision: 311675 URL: https://svnweb.freebsd.org/changeset/base/311675 Log: iso_rrip.h: Hide kernel definitions from makefs(8) Reported by: O. Hartmann Modified: head/sys/fs/cd9660/iso_rrip.h Modified: head/sys/fs/cd9660/iso_rrip.h ==

svn commit: r311674 - stable/11/usr.bin/netstat

2017-01-08 Thread Hajimu UMEMOTO
Author: ume Date: Sun Jan 8 08:53:34 2017 New Revision: 311674 URL: https://svnweb.freebsd.org/changeset/base/311674 Log: MFC r311426: When displaying netstat details with libxo in JSON or XML modes, the value conversion for tcp6 and udp6 port numbers drops last digit. PR:

svn commit: r311673 - stable/10/sys/cam/ctl

2017-01-08 Thread Alexander Motin
Author: mav Date: Sun Jan 8 08:52:53 2017 New Revision: 311673 URL: https://svnweb.freebsd.org/changeset/base/311673 Log: MFC r311446: Fix bootverbose affecting code logic in r294558. Reported by:Jilles Tjoelker Modified: stable/10/sys/cam/ctl/ctl_ha.c Directory Properties: stabl

svn commit: r311672 - stable/11/sys/cam/ctl

2017-01-08 Thread Alexander Motin
Author: mav Date: Sun Jan 8 08:52:16 2017 New Revision: 311672 URL: https://svnweb.freebsd.org/changeset/base/311672 Log: MFC r311446: Fix bootverbose affecting code logic in r294558. Reported by: Jilles Tjoelker Modified: stable/11/sys/cam/ctl/ctl_ha.c Directory Properties: stable/

svn commit: r311671 - head/lib/libprocstat

2017-01-08 Thread Conrad E. Meyer
Author: cem Date: Sun Jan 8 08:36:37 2017 New Revision: 311671 URL: https://svnweb.freebsd.org/changeset/base/311671 Log: libprocstat: Include cd9660 headers in the same order as the kernel Fix userspace build after r311665. Modified: head/lib/libprocstat/cd9660.c Modified: head/lib/li

Re: svn commit: r311665 - head/sys/fs/cd9660

2017-01-08 Thread Ngie Cooper
> On Jan 7, 2017, at 22:21, Conrad E. Meyer wrote: > > Author: cem > Date: Sun Jan 8 06:21:49 2017 > New Revision: 311665 > URL: https://svnweb.freebsd.org/changeset/base/311665 > > Log: > cd9660: Expand internal inum size to 64 bits > > Inums in cd9660 refer to byte offsets on the media.