Re: svn commit: r313704 - head/sys/sys

2017-02-13 Thread Ngie Cooper (yaneurabeya)
> On Feb 13, 2017, at 22:19, Ed Schouten wrote: > > Hi there, > > 2017-02-13 20:53 GMT+01:00 Ngie Cooper : >> Thanks! Should kqueue(2)/kevent(2) be updated? > > I'm really not sure what's best here. On one hand the header no longer > depends on , but the man page does refer to types and > iden

Re: svn commit: r313704 - head/sys/sys

2017-02-13 Thread Ed Schouten
Hi there, 2017-02-13 20:53 GMT+01:00 Ngie Cooper : > Thanks! Should kqueue(2)/kevent(2) be updated? I'm really not sure what's best here. On one hand the header no longer depends on , but the man page does refer to types and identifiers that are no longer declared by simply including this header.

svn commit: r313726 - in stable/10: sys/netpfil/ipfw usr.sbin/syslogd

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:52:24 2017 New Revision: 313726 URL: https://svnweb.freebsd.org/changeset/base/313726 Log: MFC r313356: Fix typos in comments (returing -> returning) Modified: stable/10/sys/netpfil/ipfw/dn_heap.h stable/10/usr.sbin/syslogd/syslogd.c Directory Propertie

svn commit: r313725 - in stable/11: sys/netpfil/ipfw usr.sbin/syslogd

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:52:16 2017 New Revision: 313725 URL: https://svnweb.freebsd.org/changeset/base/313725 Log: MFC r313356: Fix typos in comments (returing -> returning) Modified: stable/11/sys/netpfil/ipfw/dn_heap.h stable/11/usr.sbin/syslogd/syslogd.c Directory Propertie

svn commit: r313724 - stable/11/lib/libc/stdlib

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:51:21 2017 New Revision: 313724 URL: https://svnweb.freebsd.org/changeset/base/313724 Log: MFC r313374: hcreate(3): fix the ERRORS section and bump .Dd - Add missing comma between functions that trigger ENOMEM error. - Fix the description for ESRCH. T

svn commit: r313722 - stable/11/lib/libc/tests/stdio

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:49:06 2017 New Revision: 313722 URL: https://svnweb.freebsd.org/changeset/base/313722 Log: MFC r313378,r313379: r313378: Wrap strcmp/wcscmp calls with ATF_CHECK_MSG and drop atf_tc_fail use The reasoning here was the same as what was done in r31337

svn commit: r313723 - stable/10/lib/libc/tests/stdio

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:49:24 2017 New Revision: 313723 URL: https://svnweb.freebsd.org/changeset/base/313723 Log: MFC r313378,r313379: r313378: Wrap strcmp/wcscmp calls with ATF_CHECK_MSG and drop atf_tc_fail use The reasoning here was the same as what was done in r31337

svn commit: r313721 - stable/11/lib/libc/tests/stdio

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:47:13 2017 New Revision: 313721 URL: https://svnweb.freebsd.org/changeset/base/313721 Log: MFC r313376: Fix :hexadecimal_floating_point on i386 Don't exclude i386 from LDBL_MANT_DIG == 64; it works properly in that case. While here, replace strcm

svn commit: r313720 - stable/10/lib/libc/tests/stdio

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:46:19 2017 New Revision: 313720 URL: https://svnweb.freebsd.org/changeset/base/313720 Log: MFC r313376: Fix :hexadecimal_floating_point on i386 Don't exclude i386 from LDBL_MANT_DIG == 64; it works properly in that case. While here, replace strcm

svn commit: r313719 - stable/11/contrib/netbsd-tests/lib/libc/gen

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:43:03 2017 New Revision: 313719 URL: https://svnweb.freebsd.org/changeset/base/313719 Log: MFC r313377: Expect :floatunditf to fail on FreeBSD/i386 The precision error on FreeBSD/i386 doesn't match the expected output in long double form. Modified:

svn commit: r313718 - stable/10/contrib/netbsd-tests/lib/libc/gen

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:42:47 2017 New Revision: 313718 URL: https://svnweb.freebsd.org/changeset/base/313718 Log: MFC r313377: Expect :floatunditf to fail on FreeBSD/i386 The precision error on FreeBSD/i386 doesn't match the expected output in long double form. Modified:

svn commit: r313716 - stable/10/usr.sbin/syslogd

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:38:37 2017 New Revision: 313716 URL: https://svnweb.freebsd.org/changeset/base/313716 Log: MFC r313358,r313360: r313358: Sort sys/ #includes and zap an unnecessary trailing space nearby r313360: Sort sys/ #includes some more Modified: stabl

svn commit: r313717 - stable/11/usr.sbin/syslogd

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 04:38:39 2017 New Revision: 313717 URL: https://svnweb.freebsd.org/changeset/base/313717 Log: MFC r313358,r313360: r313358: Sort sys/ #includes and zap an unnecessary trailing space nearby r313360: Sort sys/ #includes some more Modified: stabl

svn commit: r313715 - head/sys/sys

2017-02-13 Thread Konstantin Belousov
Author: kib Date: Tue Feb 14 03:32:37 2017 New Revision: 313715 URL: https://svnweb.freebsd.org/changeset/base/313715 Log: Order alphabetically. Noted by: alc MFC after:3 days Modified: head/sys/sys/syscallsubr.h Modified: head/sys/sys/syscallsubr.h ===

svn commit: r313714 - head/sys/vm

2017-02-13 Thread Bjoern A. Zeeb
Author: bz Date: Tue Feb 14 01:20:03 2017 New Revision: 313714 URL: https://svnweb.freebsd.org/changeset/base/313714 Log: Use %s __func__ to print the actual function name (been looking at the wrong one for too often lately at first), and also use %#lx to get the 0x prefix for the address.

svn commit: r313713 - head/lib/msun/tests

2017-02-13 Thread Ngie Cooper
Author: ngie Date: Tue Feb 14 00:54:48 2017 New Revision: 313713 URL: https://svnweb.freebsd.org/changeset/base/313713 Log: Handle clang 4.x+ with the compile-time exception added in r312213 It also fails the assertions noted in bug 208703 PR: 208703 PR: 217084 Submitted by: jb

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

2017-02-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Feb 14 00:04:36 2017 New Revision: 313712 URL: https://svnweb.freebsd.org/changeset/base/313712 Log: [sdhci_acpi] Add support for Bay Trail SDHC SD card slot Add ACPI device 80860F14 with _UID 3 to the list of known devices. It make SD card available on NUCs and Mi

svn commit: r313711 - head/sys/dev/virtio/network

2017-02-13 Thread Philip Paeps
Author: philip Date: Mon Feb 13 21:44:29 2017 New Revision: 313711 URL: https://svnweb.freebsd.org/changeset/base/313711 Log: vtnet: don't update VLAN filter when parent is not running Submitted by: Gerrie Roos Reviewed by: gnn Sponsored by: XipLink, Inc. Differential Revision:

svn commit: r313710 - head/sys/boot/efi/libefi

2017-02-13 Thread Toomas Soome
Author: tsoome Date: Mon Feb 13 21:33:50 2017 New Revision: 313710 URL: https://svnweb.freebsd.org/changeset/base/313710 Log: loader: cstyle fixes and DIOCGMEDIASIZE should use uint64_t Cleaned up some spaces where tabs should be. efipart_ioctl() DIOCGMEDIASIZE needs to use uint64_t, not

svn commit: r313709 - head/usr.bin/dtc

2017-02-13 Thread Dimitry Andric
Author: dim Date: Mon Feb 13 20:56:53 2017 New Revision: 313709 URL: https://svnweb.freebsd.org/changeset/base/313709 Log: Fix build of BSD dtc when NDEBUG is defined (MK_ASSERT_DEBUG=no): * Initialize correct parent in binary_operator's constructor. * Include explicitly, otherwise errno is

svn commit: r313708 - head/sys/arm/arm

2017-02-13 Thread Olivier Houchard
Author: cognet Date: Mon Feb 13 20:51:08 2017 New Revision: 313708 URL: https://svnweb.freebsd.org/changeset/base/313708 Log: Remove debugging code that was probably unused since before the arm code was initially committed. Reported by: Alexandre Martins Modified: head/sys/arm/arm/cp

svn commit: r313707 - head/sys/dev/iscsi

2017-02-13 Thread Alexander Motin
Author: mav Date: Mon Feb 13 20:36:28 2017 New Revision: 313707 URL: https://svnweb.freebsd.org/changeset/base/313707 Log: Remove M_PKTHDR from m_getm2() in icl_pdu_append_data(). ip_data_mbuf is always appended to ip_bhs_mbuf, so it does not need own packet header. This change first avo

svn commit: r313705 - in head/sys: conf dev/bhnd dev/bhnd/bcma dev/bhnd/siba mips/broadcom

2017-02-13 Thread Landon J. Fuller
Author: landonf Date: Mon Feb 13 19:58:55 2017 New Revision: 313705 URL: https://svnweb.freebsd.org/changeset/base/313705 Log: [mips/broadcom] Move MIPS-specific bhnd(4) nexus drivers to sys/mips/broadcom, and add MIPS/BCM4706-specific workaround to bhnd_nexus_is_hw_disabled() -- the BCM4706

Re: svn commit: r313704 - head/sys/sys

2017-02-13 Thread Ngie Cooper
On Mon, Feb 13, 2017 at 11:00 AM, Ed Schouten wrote: > Author: ed > Date: Mon Feb 13 19:00:09 2017 > New Revision: 313704 > URL: https://svnweb.freebsd.org/changeset/base/313704 > > Log: > Make work on its own. > > Right now this header file doesn't want to build when included on its > own,

Re: svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn

2017-02-13 Thread Ngie Cooper
On Sat, Feb 11, 2017 at 1:12 AM, Ed Schouten wrote: > 2017-02-11 8:35 GMT+01:00 Ngie Cooper : >> Note that sys/types.h is required on FreeBSD for kqueue(2), unlike NetBSD > > Which is a bug on its own in my opinion. What do you think of this patch? I don't mind the intent of your proposed chang

Re: svn commit: r313696 - in head/sys: compat/cloudabi compat/freebsd32 compat/linux kern sys vm

2017-02-13 Thread John Baldwin
On Monday, February 13, 2017 09:04:38 AM Konstantin Belousov wrote: > Author: kib > Date: Mon Feb 13 09:04:38 2017 > New Revision: 313696 > URL: https://svnweb.freebsd.org/changeset/base/313696 > > Log: > Rework r313352. > > Rename kern_vm_* functions to kern_*. Move the prototypes to >

svn commit: r313704 - head/sys/sys

2017-02-13 Thread Ed Schouten
Author: ed Date: Mon Feb 13 19:00:09 2017 New Revision: 313704 URL: https://svnweb.freebsd.org/changeset/base/313704 Log: Make work on its own. Right now this header file doesn't want to build when included on its own, as it depends on some integer types that are only declared internal

svn commit: r313703 - head/sys/dev/md

2017-02-13 Thread Stephen J. Kiernan
Author: stevek Date: Mon Feb 13 18:52:26 2017 New Revision: 313703 URL: https://svnweb.freebsd.org/changeset/base/313703 Log: Fix typo where opening brace was needed. Reported by: Michael Butler Reviewed by: sjg Approved by: sjg (mentor) Modified: head/sys/dev/md/md.c Modified: h

svn commit: r313702 - in stable/11/contrib/compiler-rt/lib: asan lsan sanitizer_common

2017-02-13 Thread Dimitry Andric
Author: dim Date: Mon Feb 13 18:39:21 2017 New Revision: 313702 URL: https://svnweb.freebsd.org/changeset/base/313702 Log: MFC r313052: Pull in r293536 from upstream compiler-rt trunk: Recommit: Stop intercepting some malloc-related functions on FreeBSD and macOS Summary:

Re: svn commit: r313701 - in head: sbin/mdconfig sys/dev/md

2017-02-13 Thread O. Hartmann
Am Mon, 13 Feb 2017 17:44:07 + (UTC) "Stephen J. Kiernan" schrieb: > Author: stevek > Date: Mon Feb 13 17:44:07 2017 > New Revision: 313701 > URL: https://svnweb.freebsd.org/changeset/base/313701 > > Log: > For MD_PRELOAD type md(4) devices, if there is a file name in the preloaded > met

svn commit: r313701 - in head: sbin/mdconfig sys/dev/md

2017-02-13 Thread Stephen J. Kiernan
Author: stevek Date: Mon Feb 13 17:44:07 2017 New Revision: 313701 URL: https://svnweb.freebsd.org/changeset/base/313701 Log: For MD_PRELOAD type md(4) devices, if there is a file name in the preloaded meta-data, copy it into the softc structure. When returning md(4) device details to the

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

2017-02-13 Thread Eric van Gyzen
On 02/11/2017 11:02, Adrian Chadd wrote: Can we do the same with ether_ntoa too? ether_ntoa doesn't exist in the kernel. Eric ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mai

svn commit: r313699 - stable/11/sys/dev/isp

2017-02-13 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 13 16:06:38 2017 New Revision: 313699 URL: https://svnweb.freebsd.org/changeset/base/313699 Log: MFC r313568: r313568 | ken | 2017-02-10 15:02:45 -0700 (Fri, 10 Feb 2017) | 68 lines

svn commit: r313700 - stable/10/sys/dev/isp

2017-02-13 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 13 16:11:37 2017 New Revision: 313700 URL: https://svnweb.freebsd.org/changeset/base/313700 Log: MFC r313568: r313568 | ken | 2017-02-10 15:02:45 -0700 (Fri, 10 Feb 2017) | 68 lines

Re: svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn

2017-02-13 Thread Eric van Gyzen
On 02/13/2017 02:22, Ed Schouten wrote: 2017-02-11 15:28 GMT+01:00 Eric van Gyzen : I would be concerned that app developers would read this definition, ignore the one in the man page, and use the __-prefixed types in their apps. I think that's a concern that's not specific to the change at ha

svn commit: r313698 - stable/11/sys/geom/part

2017-02-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 13 12:07:08 2017 New Revision: 313698 URL: https://svnweb.freebsd.org/changeset/base/313698 Log: MFC r313185: Check that primary GPT header is valid before wiping partitioning. This allows safely destroy corrupted GPT when primary header was rewritten by s

Re: svn commit: r313675 - in head/sys: netinet netinet6

2017-02-13 Thread Dmitry Morozovsky
On Sun, 12 Feb 2017, Glen Barber wrote: [snip previous] > > I didn't read this when I hit send on my email. Hopefully nobody takes > > offense. I was upset and still am. > > > > I still think that the revision numbers of any backout should have been > > documented in the commit log. > > > >

svn commit: r313697 - in head/sys: netinet netinet6

2017-02-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 13 11:37:52 2017 New Revision: 313697 URL: https://svnweb.freebsd.org/changeset/base/313697 Log: Remove IPsec related PCB code from SCTP. The inpcb structure has inp_sp pointer that is initialized by ipsec_init_pcbpolicy() function. This pointer keeps strorage for

svn commit: r313696 - in head/sys: compat/cloudabi compat/freebsd32 compat/linux kern sys vm

2017-02-13 Thread Konstantin Belousov
Author: kib Date: Mon Feb 13 09:04:38 2017 New Revision: 313696 URL: https://svnweb.freebsd.org/changeset/base/313696 Log: Rework r313352. Rename kern_vm_* functions to kern_*. Move the prototypes to syscallsubr.h. Also change Mach VM types to uintptr_t/size_t as needed, to avoid head

svn commit: r313695 - in head: contrib/libpcap contrib/libpcap/bpf/net contrib/libpcap/config contrib/libpcap/lbl contrib/libpcap/missing contrib/libpcap/pcap contrib/libpcap/tests lib/libpcap sbin...

2017-02-13 Thread Xin LI
Author: delphij Date: Mon Feb 13 08:23:39 2017 New Revision: 313695 URL: https://svnweb.freebsd.org/changeset/base/313695 Log: MFV r313676: libpcap 1.8.1 MFC after:1 month Added: head/contrib/libpcap/config/ - copied from r313676, vendor/libpcap/dist/config/ head/contrib/libpc

Re: svn commit: r313632 - in stable/10/contrib/netbsd-tests/lib/libc/gen: . posix_spawn

2017-02-13 Thread Ed Schouten
2017-02-11 15:28 GMT+01:00 Eric van Gyzen : > I would be concerned that app developers would read this definition, ignore > the one in the man page, and use the __-prefixed types in their apps. I think that's a concern that's not specific to the change at hand, as that's simply how BSD header file