Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Bruce Evans
On Sat, 3 Feb 2018, Conrad Meyer wrote: On Sat, Feb 3, 2018 at 6:46 AM, Bruce Evans wrote: On Tue, 2 Jan 2018, Conrad Meyer wrote: ... Today I learned from the POSIX list that the pselect() function is designed to avoid this bug. It takes a signal mask arg (like

Re: svn commit: r328489 - head/sys/conf

2018-02-04 Thread David Wolfskill
On Sun, Feb 04, 2018 at 01:33:10PM +0100, O. Hartmann wrote: > Am Mon, 29 Jan 2018 05:00:22 -0800 > David Wolfskill schrieb: > > On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: > > > > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in > > > >

Re: svn commit: r328489 - head/sys/conf

2018-02-04 Thread O. Hartmann
Am Mon, 29 Jan 2018 05:00:22 -0800 David Wolfskill schrieb: > On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: > > > > > > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in > > > /etc/src.conf: > > > > > > [...] > > > --- kernel-install ---

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

2018-02-04 Thread Allan Jude
Author: allanjude Date: Sun Feb 4 12:16:36 2018 New Revision: 328839 URL: https://svnweb.freebsd.org/changeset/base/328839 Log: Add the ThinkPad X1 (sandybridge) to the bsdinstall blacklist MFC after:2 weeks Sponsored by: FOSDEM IllumOS Table Modified:

svn commit: r328849 - in head: sbin/geom/class/cache sbin/geom/class/concat sbin/geom/class/journal sbin/geom/class/label sbin/geom/class/mirror sbin/geom/class/raid3 sbin/geom/class/shsec sbin/geo...

2018-02-04 Thread Alan Somers
Author: asomers Date: Sun Feb 4 14:49:55 2018 New Revision: 328849 URL: https://svnweb.freebsd.org/changeset/base/328849 Log: geom: don't write stack garbage in disk labels Most consumers of g_metadata_store were passing in partially unallocated memory, resulting in stack garbage being

svn commit: r328851 - head/sys/powerpc/conf

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 15:39:15 2018 New Revision: 328851 URL: https://svnweb.freebsd.org/changeset/base/328851 Log: Add sdhci to MPC85XX build Modified: head/sys/powerpc/conf/MPC85XX Modified: head/sys/powerpc/conf/MPC85XX

svn commit: r328852 - head/sys/powerpc/conf

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 15:40:48 2018 New Revision: 328852 URL: https://svnweb.freebsd.org/changeset/base/328852 Log: Start building modules for MPC85XX and MPC85XXSPE These kernels aren't restricted to development boards anymore, they are closer in behavior to GENERIC, so

svn commit: r328850 - head/sys/dev/mpr

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 15:37:58 2018 New Revision: 328850 URL: https://svnweb.freebsd.org/changeset/base/328850 Log: Minimal changes for MPR to build on architectures with physical addresses larger than virtual Summary: Some architectures use large (36-bit) physical

svn commit: r328846 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 13:58:31 2018 New Revision: 328846 URL: https://svnweb.freebsd.org/changeset/base/328846 Log: Initialize all the fields. This is one of the steps required to bump WARNS. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r328838 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Sun Feb 4 08:22:11 2018 New Revision: 328838 URL: https://svnweb.freebsd.org/changeset/base/328838 Log: [arswitch] fix up issues on the AR8327. This correctly dumps the ethernet bridge contents on an AR8327 switch. Tested: * AP135 - QCA9550 + AR8327 ethernet

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Konstantin Belousov
On Sun, Feb 04, 2018 at 04:15:16PM +1100, Bruce Evans wrote: > sig_atomic_t is no better than plain int. This behaviour now makes complete > sense. It is just like the undefined behaviour with the ctype functions, > except since we own terminate_wfd we can guarantee that it doesn't change >

svn commit: r328841 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 13:54:05 2018 New Revision: 328841 URL: https://svnweb.freebsd.org/changeset/base/328841 Log: Remove unused variable. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/extern.h Modified: head/libexec/getty/extern.h

svn commit: r328848 - head/sys/powerpc/conf

2018-02-04 Thread Steve Wills
Author: swills (ports committer) Date: Sun Feb 4 14:27:12 2018 New Revision: 328848 URL: https://svnweb.freebsd.org/changeset/base/328848 Log: Create GENERIC64-NODEBUG for powerpc64 Approved by: jhibbits Differential Revision:https://reviews.freebsd.org/D14192 Added:

svn commit: r328843 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 13:55:20 2018 New Revision: 328843 URL: https://svnweb.freebsd.org/changeset/base/328843 Log: Reduce code duplication; no functional changes. Obtained from:NetBSD MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

svn commit: r328853 - head/stand/efi/fdt

2018-02-04 Thread Kyle Evans
Author: kevans Date: Sun Feb 4 17:31:50 2018 New Revision: 328853 URL: https://svnweb.freebsd.org/changeset/base/328853 Log: Remove now-unused variable after r328809 Fixed already in stable/11 by r328836 (emaste); remove now-unused variable. Modified: head/stand/efi/fdt/efi_fdt.c

Re: svn commit: r328489 - head/sys/conf

2018-02-04 Thread Jason Harmening
On 02/04/18 04:33, O. Hartmann wrote: Am Mon, 29 Jan 2018 05:00:22 -0800 David Wolfskill schrieb: On Mon, Jan 29, 2018 at 02:10:04AM -0800, Jason Harmening wrote: This happens now if PORTS_MODULE=x11/nvidia-driver is defined in /etc/src.conf: [...] ---

svn commit: r328863 - head/lib/clang

2018-02-04 Thread Dimitry Andric
Author: dim Date: Sun Feb 4 20:33:47 2018 New Revision: 328863 URL: https://svnweb.freebsd.org/changeset/base/328863 Log: Bump clang's __FreeBSD_cc_version, to cope with r328816, which removed -Wno-error=tautological-constant-compare again (this flag is now out of -Wextra after upstream

svn commit: r328861 - head/contrib/blacklist/libexec

2018-02-04 Thread Kurt Lidl
Author: lidl Date: Sun Feb 4 19:43:51 2018 New Revision: 328861 URL: https://svnweb.freebsd.org/changeset/base/328861 Log: Update blacklist-helper to not emit messages from pf during operation. Use 'pfctl -k' when blocking a site to kill active tcp connections from the blocked address.

svn commit: r328855 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 18:36:24 2018 New Revision: 328855 URL: https://svnweb.freebsd.org/changeset/base/328855 Log: Don't cast away the const, it's not been needed since r92925. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/subr.c

svn commit: r328857 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 18:40:36 2018 New Revision: 328857 URL: https://svnweb.freebsd.org/changeset/base/328857 Log: Add missing initializer. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/subr.c Modified: head/libexec/getty/subr.c

svn commit: r328862 - head/sys/powerpc/mpc85xx

2018-02-04 Thread Justin Hibbits
Author: jhibbits Date: Sun Feb 4 20:07:08 2018 New Revision: 328862 URL: https://svnweb.freebsd.org/changeset/base/328862 Log: Only look for L2 cache controllers for mpc85xx_cache The L3 cache controller (Corenet Platform Cache) is listed with one of its compatible strings as "cache",

svn commit: r328856 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 18:39:58 2018 New Revision: 328856 URL: https://svnweb.freebsd.org/changeset/base/328856 Log: Rename getty's getline() to get_line(), to avoid clash with getline(3). Obtained from:DragonFlyBSD MFC after:2 weeks Sponsored by: The FreeBSD

svn commit: r328858 - head/libexec/getty

2018-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 4 19:05:13 2018 New Revision: 328858 URL: https://svnweb.freebsd.org/changeset/base/328858 Log: Sprinkle static; avoid nested externs. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/libexec/getty/extern.h

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Bruce Evans
On Sun, 4 Feb 2018, Konstantin Belousov wrote: On Sun, Feb 04, 2018 at 04:15:16PM +1100, Bruce Evans wrote: sig_atomic_t is no better than plain int. This behaviour now makes complete sense. It is just like the undefined behaviour with the ctype functions, except since we own terminate_wfd

Re: svn commit: r327495 - head/usr.sbin/rpcbind

2018-02-04 Thread Konstantin Belousov
On Mon, Feb 05, 2018 at 07:53:03AM +1100, Bruce Evans wrote: > On Sun, 4 Feb 2018, Konstantin Belousov wrote: > > > On Sun, Feb 04, 2018 at 04:15:16PM +1100, Bruce Evans wrote: > >> sig_atomic_t is no better than plain int. This behaviour now makes > >> complete > >> sense. It is just like the

svn commit: r328864 - head/sys/dev/atkbdc

2018-02-04 Thread Vladimir Kondratyev
Author: wulf Date: Sun Feb 4 23:01:48 2018 New Revision: 328864 URL: https://svnweb.freebsd.org/changeset/base/328864 Log: psm(4): Fix panic occuring soon after PS/2 packet has been rejected by synaptics or elantech sanity checker. After packet has been rejected contents of packet

svn commit: r328865 - head/tools/boot

2018-02-04 Thread Marius Strobl
Author: marius Date: Mon Feb 5 00:18:21 2018 New Revision: 328865 URL: https://svnweb.freebsd.org/changeset/base/328865 Log: Flesh out the creation of sparc64 UFS images. This has only been verified to yield working images in a native build as rootgen.sh generally doesn't support

svn commit: r328872 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 07:03:45 2018 New Revision: 328872 URL: https://svnweb.freebsd.org/changeset/base/328872 Log: [arswitch] fix mac address field definition. Whilst here, add some further fields for future experimenting. Tested: * AR9340 switch * AR9330 switch *

svn commit: r328873 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 07:05:28 2018 New Revision: 328873 URL: https://svnweb.freebsd.org/changeset/base/328873 Log: [arswitch] Enable ATU dump support for the AR9340. This indeed uses the same registers as the AR8216 and later chips. There seems to be an issue with ARP

svn commit: r328869 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:48:41 2018 New Revision: 328869 URL: https://svnweb.freebsd.org/changeset/base/328869 Log: [ar71xx] Fix DB120 AHB device hints in the new world order. This allows the on-chip (AHB bus) device to attach correctly as a module. Tested: * DB120,

svn commit: r328871 - head/sys/dev/etherswitch/arswitch

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 05:51:37 2018 New Revision: 328871 URL: https://svnweb.freebsd.org/changeset/base/328871 Log: [arswitch] Break out of the loop upon any error, not just -1. This fixes the AR9340 "unimplemented" thingy for now. Modified:

svn commit: r328867 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:46:36 2018 New Revision: 328867 URL: https://svnweb.freebsd.org/changeset/base/328867 Log: [ar71xx] New world order - don't reference ath_pci here, it's a module now Modified: head/sys/mips/conf/DB120 Modified: head/sys/mips/conf/DB120

svn commit: r328868 - head/sys/mips/conf

2018-02-04 Thread Adrian Chadd
Author: adrian Date: Mon Feb 5 04:47:13 2018 New Revision: 328868 URL: https://svnweb.freebsd.org/changeset/base/328868 Log: [ar71xx] AR934x is a MIPS74k board - use the right hwpmc module Modified: head/sys/mips/conf/std.AR934X Modified: head/sys/mips/conf/std.AR934X