Re: svn commit: r313878 - head/sys/kern

2017-02-20 Thread Andriy Gapon
On 21/02/2017 02:42, Pedro Giffuni wrote: > FWIW, > > > On 2/20/2017 7:24 PM, Bryan Drewery wrote: >> On 2/17/2017 7:40 AM, Mateusz Guzik wrote: >>> Author: mjg >>> Date: Fri Feb 17 15:40:24 2017 >>> New Revision: 313878 >>> URL: https://svnweb.freebsd.org/changeset/base/313878 >>> >>> Log: >>>

svn commit: r314028 - in stable/10/lib/libnetbsd: . sys

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 07:02:51 2017 New Revision: 314028 URL: https://svnweb.freebsd.org/changeset/base/314028 Log: Revert r314020 The test build I ran unfortunately didn't catch the fact that the sha384.h compat header is missing on ^/stable/10 due to some code not being MFCed

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

2017-02-20 Thread Alexander Motin
Author: mav Date: Tue Feb 21 06:10:11 2017 New Revision: 314027 URL: https://svnweb.freebsd.org/changeset/base/314027 Log: Do not blindly free completed ATIOs/INOTs on invalidation. When LUN is disabled, SIM starts returning queued ATIOs/INOTs. But at the same time there can be some

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

2017-02-20 Thread Alexander Motin
Author: mav Date: Tue Feb 21 05:13:16 2017 New Revision: 314026 URL: https://svnweb.freebsd.org/changeset/base/314026 Log: MFC r313736: Fix panic on shutdown of ramdisk LU with zero capacity. Modified: stable/10/sys/cam/ctl/ctl_backend_ramdisk.c Directory Properties: stable/10/ (props

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

2017-02-20 Thread Alexander Motin
Author: mav Date: Tue Feb 21 05:12:42 2017 New Revision: 314025 URL: https://svnweb.freebsd.org/changeset/base/314025 Log: MFC r313736: Fix panic on shutdown of ramdisk LU with zero capacity. Modified: stable/11/sys/cam/ctl/ctl_backend_ramdisk.c Directory Properties: stable/11/ (props

svn commit: r314024 - head/sys/powerpc/booke

2017-02-20 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 21 05:08:07 2017 New Revision: 314024 URL: https://svnweb.freebsd.org/changeset/base/314024 Log: Correct the return value for pmap_change_attr() pmap_change_attr() returns an error code, not a paddr. This function is currently unused for powerpc. MFC

svn commit: r314023 - stable/10/lib/msun/tests

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 03:50:57 2017 New Revision: 314023 URL: https://svnweb.freebsd.org/changeset/base/314023 Log: MFC r312213,r313713: r312213: Turn COMPILER_VERSION/COMPILER_TYPE make check into a compile-time check of the clang version This works around breakage on

svn commit: r314022 - stable/11/lib/msun/tests

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 03:49:52 2017 New Revision: 314022 URL: https://svnweb.freebsd.org/changeset/base/314022 Log: MFC r313713: 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

svn commit: r314020 - in stable/10/lib/libnetbsd: . sys

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 03:46:37 2017 New Revision: 314020 URL: https://svnweb.freebsd.org/changeset/base/314020 Log: MFC r313404: Improve libnetbsd compatibility with NetBSD This change is being made to diff reduce/reduce duplication in contrib/netbsd-tests and to facilitate

svn commit: r314021 - in stable/11/lib/libnetbsd: . sys

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 03:46:43 2017 New Revision: 314021 URL: https://svnweb.freebsd.org/changeset/base/314021 Log: MFC r313404: Improve libnetbsd compatibility with NetBSD This change is being made to diff reduce/reduce duplication in contrib/netbsd-tests and to facilitate

svn commit: r314019 - in stable/10: share/man/man4 sys/dev/alc sys/dev/pci

2017-02-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 21 03:27:59 2017 New Revision: 314019 URL: https://svnweb.freebsd.org/changeset/base/314019 Log: MFC 312250 alc: Add Killer E2500 support Reviewed by:jhb, yongari Sponsored by: Microsoft Differential Revision:

svn commit: r314018 - in stable/10/sys/dev/hyperv: include utilities vmbus vmbus/amd64

2017-02-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 21 03:14:05 2017 New Revision: 314018 URL: https://svnweb.freebsd.org/changeset/base/314018 Log: MFC 311743 hyperv: Add method to read 64bit Hyper-V specific time value. Sponsored by: Microsoft Differential Revision:

svn commit: r314017 - stable/10/sys/net

2017-02-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 21 03:00:33 2017 New Revision: 314017 URL: https://svnweb.freebsd.org/changeset/base/314017 Log: MFC 311475 if: Defer the if_up until the ifnet.if_ioctl is called. This ensures the interface is initialized by the interface driver before it can

svn commit: r314016 - stable/10/usr.bin/bsdcat

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:38:14 2017 New Revision: 314016 URL: https://svnweb.freebsd.org/changeset/base/314016 Log: MFC r313652: Use SRCTOP instead of .CURDIR relative paths with ".." This simplifies pathing in make/displayed output Modified:

svn commit: r314014 - stable/10/usr.bin/awk

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:34:59 2017 New Revision: 314014 URL: https://svnweb.freebsd.org/changeset/base/314014 Log: MFC r313654: Use SRCTOP to refer to awk source in contrib/awk and remove unnecessary AWKSRC prefix for maketab.c The former simplifies pathing in

svn commit: r314015 - stable/11/usr.bin/bsdcat

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:35:16 2017 New Revision: 314015 URL: https://svnweb.freebsd.org/changeset/base/314015 Log: MFC r313652: Use SRCTOP instead of .CURDIR relative paths with ".." This simplifies pathing in make/displayed output Modified:

svn commit: r314013 - in stable/10/usr.bin/svn: . svn svnadmin svnbench svndumpfilter svnfsfs svnlook svnmucc svnrdump svnserve svnsync svnversion

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:33:41 2017 New Revision: 314013 URL: https://svnweb.freebsd.org/changeset/base/314013 Log: MFC r313679: Use SRCTOP/OBJTOP relative paths where possible; use :H manipulation in lieu of ../ elsewhere This simplifies pathing in make/displayed output

svn commit: r314012 - stable/11/usr.bin/awk

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:33:28 2017 New Revision: 314012 URL: https://svnweb.freebsd.org/changeset/base/314012 Log: MFC r313654: Use SRCTOP to refer to awk source in contrib/awk and remove unnecessary AWKSRC prefix for maketab.c The former simplifies pathing in

svn commit: r314011 - in stable/11/usr.bin/svn: . svn svnadmin svnbench svndumpfilter svnfsfs svnlook svnmucc svnrdump svnserve svnsync svnversion

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:30:26 2017 New Revision: 314011 URL: https://svnweb.freebsd.org/changeset/base/314011 Log: MFC r313679: Use SRCTOP/OBJTOP relative paths where possible; use :H manipulation in lieu of ../ elsewhere This simplifies pathing in make/displayed output

svn commit: r314010 - stable/11/gnu/usr.bin/gdb

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:26:57 2017 New Revision: 314010 URL: https://svnweb.freebsd.org/changeset/base/314010 Log: MFC r313650: Use SRCTOP/OBJTOP and simplify output using :H instead of "../" for directory entries This simplifies pathing in make/displayed output Modified:

svn commit: r314009 - stable/11/usr.bin/atm/sscop

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:24:45 2017 New Revision: 314009 URL: https://svnweb.freebsd.org/changeset/base/314009 Log: MFC r313653: Use SRCTOP instead of .CURDIR relative paths with ".." This simplifies pathing in make/displayed output Modified:

svn commit: r314008 - stable/10/usr.bin/atm/sscop

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:24:31 2017 New Revision: 314008 URL: https://svnweb.freebsd.org/changeset/base/314008 Log: MFC r313653: Use SRCTOP instead of .CURDIR relative paths with ".." This simplifies pathing in make/displayed output Modified:

svn commit: r314007 - stable/11/usr.bin/bluetooth

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:23:57 2017 New Revision: 314007 URL: https://svnweb.freebsd.org/changeset/base/314007 Log: MFC r313656: Use SRCTOP to define .include with usr.bin/Makefile.inc Modified: stable/11/usr.bin/bluetooth/Makefile.inc Directory Properties: stable/11/ (props

svn commit: r314006 - stable/10/usr.bin/bluetooth

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:23:27 2017 New Revision: 314006 URL: https://svnweb.freebsd.org/changeset/base/314006 Log: MFC r313656: Use SRCTOP to define .include with usr.bin/Makefile.inc Modified: stable/10/usr.bin/bluetooth/Makefile.inc Directory Properties: stable/10/ (props

svn commit: r314005 - in stable/11: share/man/man4 sys/dev/alc sys/dev/pci

2017-02-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 21 02:19:19 2017 New Revision: 314005 URL: https://svnweb.freebsd.org/changeset/base/314005 Log: MFC 312250 alc: Add Killer E2500 support Reviewed by:jhb, yongari Sponsored by: Microsoft Differential Revision:

svn commit: r314004 - in stable/10: contrib/netbsd-tests/usr.bin/sed usr.bin/sed/tests

2017-02-20 Thread Ngie Cooper
Author: ngie Date: Tue Feb 21 02:18:45 2017 New Revision: 314004 URL: https://svnweb.freebsd.org/changeset/base/314004 Log: MFC r312520: Integrate contrib/netbsd-tests/usr.bin/sed/t_sed.sh into the FreeBSD test suite as usr.bin/sed/sed_test Don't expect :emptybackref to fail -- it

svn commit: r314003 - in stable/11/sys/dev/hyperv: include utilities vmbus vmbus/amd64

2017-02-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 21 02:15:58 2017 New Revision: 314003 URL: https://svnweb.freebsd.org/changeset/base/314003 Log: MFC 311743 hyperv: Add method to read 64bit Hyper-V specific time value. Sponsored by: Microsoft Differential Revision:

svn commit: r314002 - stable/11/sys/net

2017-02-20 Thread Sepherosa Ziehau
Author: sephe Date: Tue Feb 21 02:10:02 2017 New Revision: 314002 URL: https://svnweb.freebsd.org/changeset/base/314002 Log: MFC 311475 if: Defer the if_up until the ifnet.if_ioctl is called. This ensures the interface is initialized by the interface driver before it can

Re: svn commit: r313859 - in head/sys: kern sys

2017-02-20 Thread Mateusz Guzik
On Fri, Feb 17, 2017 at 09:15:00PM +1100, Bruce Evans wrote: > On Fri, 17 Feb 2017, Hans Petter Selasky wrote: > > >>Log: > >> Introduce SCHEDULER_STOPPED_TD for use when the thread pointer > >>was already read > >> > >> Sprinkle in few places. > >> > >>Modified: > >>

svn commit: r314001 - head/usr.bin/timeout

2017-02-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 21 01:11:18 2017 New Revision: 314001 URL: https://svnweb.freebsd.org/changeset/base/314001 Log: Make it more clear that -k sends SIGKILL, not the -s signal. MFC after:1 week Modified: head/usr.bin/timeout/timeout.1 Modified:

Re: svn commit: r313878 - head/sys/kern

2017-02-20 Thread Mateusz Guzik
On Mon, Feb 20, 2017 at 04:24:50PM -0800, Bryan Drewery wrote: > On 2/17/2017 7:40 AM, Mateusz Guzik wrote: > > Author: mjg > > Date: Fri Feb 17 15:40:24 2017 > > New Revision: 313878 > > URL: https://svnweb.freebsd.org/changeset/base/313878 > > > > Log: > > mtx: get rid of file/line args from

Re: svn commit: r313878 - head/sys/kern

2017-02-20 Thread Pedro Giffuni
FWIW, On 2/20/2017 7:24 PM, Bryan Drewery wrote: On 2/17/2017 7:40 AM, Mateusz Guzik wrote: Author: mjg Date: Fri Feb 17 15:40:24 2017 New Revision: 313878 URL: https://svnweb.freebsd.org/changeset/base/313878 Log: mtx: get rid of file/line args from slow paths if they are unused

Re: svn commit: r313878 - head/sys/kern

2017-02-20 Thread Bryan Drewery
On 2/20/2017 4:24 PM, Bryan Drewery wrote: > On 2/17/2017 7:40 AM, Mateusz Guzik wrote: >> Author: mjg >> Date: Fri Feb 17 15:40:24 2017 >> New Revision: 313878 >> URL: https://svnweb.freebsd.org/changeset/base/313878 >> >> Log: >> mtx: get rid of file/line args from slow paths if they are

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-20 Thread Pedro Giffuni
Hello; Just been discussing the same issue in private as well ... On 2/20/2017 6:40 PM, Conrad Meyer wrote: On Sun, Feb 19, 2017 at 7:43 PM, Pedro F. Giffuni wrote: Author: pfg Date: Mon Feb 20 03:43:12 2017 New Revision: 313982 URL:

Re: svn commit: r313878 - head/sys/kern

2017-02-20 Thread Bryan Drewery
On 2/17/2017 7:40 AM, Mateusz Guzik wrote: > Author: mjg > Date: Fri Feb 17 15:40:24 2017 > New Revision: 313878 > URL: https://svnweb.freebsd.org/changeset/base/313878 > > Log: > mtx: get rid of file/line args from slow paths if they are unused > > This denotes changes which went in by

Re: svn commit: r313975 - in head: contrib/openpam contrib/openpam/bin contrib/openpam/bin/openpam_dump_policy contrib/openpam/bin/pamtest contrib/openpam/bin/su contrib/openpam/doc contrib/openpam/do

2017-02-20 Thread Bryan Drewery
On 2/19/2017 4:56 PM, Dag-Erling Smørgrav wrote: > Author: des > Date: Mon Feb 20 00:56:46 2017 > New Revision: 313975 > URL: https://svnweb.freebsd.org/changeset/base/313975 > > Log: > Upgrade to OpenPAM Radula. > > Added: > head/contrib/openpam/m4/ > - copied from r313968,

Re: svn commit: r313982 - in head/sys/dev: agp al_eth an arcmsr bce beri/virtio bhnd/cores/usb buslogic ce cm cp ctau cx de ed fatm fe firewire hptiop hptmv iicbus isp le md ncr netmap ofw patm pccard

2017-02-20 Thread Conrad Meyer
On Sun, Feb 19, 2017 at 7:43 PM, Pedro F. Giffuni wrote: > Author: pfg > Date: Mon Feb 20 03:43:12 2017 > New Revision: 313982 > URL: https://svnweb.freebsd.org/changeset/base/313982 > > Log: > sys/dev: Replace zero with NULL for pointers. > > Makes things easier to read,

svn commit: r314000 - in head: contrib/traceroute usr.sbin/traceroute

2017-02-20 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Feb 20 23:48:50 2017 New Revision: 314000 URL: https://svnweb.freebsd.org/changeset/base/314000 Log: Capsicumize traceroute. PR:193973 Submitted by: Mikhail Reviewed by: pjd, bapt, emaste, AllanJude Differential Revision:

svn commit: r313999 - head/sys/kern

2017-02-20 Thread John Baldwin
Author: jhb Date: Mon Feb 20 20:37:25 2017 New Revision: 313999 URL: https://svnweb.freebsd.org/changeset/base/313999 Log: Consolidate statements to initialize files. Previously, the first lines of various generated files from system call tables were generated in two sections. Some of

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

2017-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 20:16:11 2017 New Revision: 313998 URL: https://svnweb.freebsd.org/changeset/base/313998 Log: MFC 313895: r313895 | ken | 2017-02-17 13:15:27 -0700 (Fri, 17 Feb 2017) | 9 lines

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

2017-02-20 Thread Kenneth D. Merry
Author: ken Date: Mon Feb 20 20:12:02 2017 New Revision: 313997 URL: https://svnweb.freebsd.org/changeset/base/313997 Log: MFC 313895: r313895 | ken | 2017-02-17 13:15:27 -0700 (Fri, 17 Feb 2017) | 9 lines

Re: svn commit: r299182 - head/sys/dev/e1000

2017-02-20 Thread Kenneth D. Merry
On Fri, May 06, 2016 at 15:41:38 +, Sean Bruno wrote: > Author: sbruno > Date: Fri May 6 15:41:38 2016 > New Revision: 299182 > URL: https://svnweb.freebsd.org/changeset/base/299182 > > Log: > If ALTQ is defined in the kern conf, switch to Legacy Mode. > > PR: 208409 >

svn commit: r313996 - in head/sys: kern sys

2017-02-20 Thread Mateusz Guzik
Author: mjg Date: Mon Feb 20 19:08:36 2017 New Revision: 313996 URL: https://svnweb.freebsd.org/changeset/base/313996 Log: mtx: fix spin mutexes interaction with failed fcmpset While doing so move recursion support down to the fallback routine. Modified: head/sys/kern/kern_mutex.c

svn commit: r313995 - head/sys/compat/linprocfs

2017-02-20 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 20 17:33:25 2017 New Revision: 313995 URL: https://svnweb.freebsd.org/changeset/base/313995 Log: Add /proc/self/mounts to linprocfs; some linux binaries need it. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/sys/compat/linprocfs/linprocfs.c

svn commit: r313994 - head/sys/fs/devfs

2017-02-20 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 20 16:18:33 2017 New Revision: 313994 URL: https://svnweb.freebsd.org/changeset/base/313994 Log: Simplify devfs_fsync() by removing it. This might also be a minor optimization, as vn_isdisk() needs to lock a global mutex. Reviewed by: imp Tested by:pho

svn commit: r313993 - head/sys/amd64/linux

2017-02-20 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Feb 20 16:13:40 2017 New Revision: 313993 URL: https://svnweb.freebsd.org/changeset/base/313993 Log: Reimplement linux_arch_prctl() as a wrapper around sysarch(2). This also adds support for LINUX_ARCH_SET_GS. Reviewed by: dchagin MFC after:2 weeks

svn commit: r313992 - in head: sys/kern sys/sys tests/sys/kern

2017-02-20 Thread Eric Badger
Author: badger Date: Mon Feb 20 15:53:16 2017 New Revision: 313992 URL: https://svnweb.freebsd.org/changeset/base/313992 Log: Defer ptracestop() signals that cannot be delivered immediately When a thread is stopped in ptracestop(), the ptrace(2) user may request a signal be delivered

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

2017-02-20 Thread Konstantin Belousov
Author: kib Date: Mon Feb 20 10:51:46 2017 New Revision: 313991 URL: https://svnweb.freebsd.org/changeset/base/313991 Log: MFC r313693: Remove MPSAFE and ARGUSED annotations, ANSI-fy syscall handlers. Modified: stable/10/sys/vm/vm_mmap.c Directory Properties: stable/10/ (props changed)

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

2017-02-20 Thread Konstantin Belousov
Author: kib Date: Mon Feb 20 10:49:04 2017 New Revision: 313990 URL: https://svnweb.freebsd.org/changeset/base/313990 Log: MFC r313693: Remove MPSAFE and ARGUSED annotations, ANSI-fy syscall handlers. Modified: stable/11/sys/vm/vm_mmap.c Directory Properties: stable/11/ (props changed)

svn commit: r313989 - in stable/11/sys: arm/include arm64/include kern

2017-02-20 Thread Konstantin Belousov
Author: kib Date: Mon Feb 20 10:44:24 2017 New Revision: 313989 URL: https://svnweb.freebsd.org/changeset/base/313989 Log: MFC r313345: Update arm and arm64 counters MD bits. MFC r313394 (by manu): subr_sfbus.c need sys/proc.h for struct thread definition. Modified:

svn commit: r313988 - head/sys/dev/etherswitch/mtkswitch

2017-02-20 Thread Stanislav Galabov
Author: sgalabov Date: Mon Feb 20 08:10:41 2017 New Revision: 313988 URL: https://svnweb.freebsd.org/changeset/base/313988 Log: etherswitch: Fix RT305x vlan group operation Fix an issue which prevents proper operation (addition/removal of members) of RT305x vlan groups. Tested by:

svn commit: r313987 - head/tools/tools/net80211/wlanstats

2017-02-20 Thread Adrian Chadd
Author: adrian Date: Mon Feb 20 08:04:06 2017 New Revision: 313987 URL: https://svnweb.freebsd.org/changeset/base/313987 Log: [wlanstats] We actually /do/ support per-STA stats! Modified: head/tools/tools/net80211/wlanstats/main.c Modified: head/tools/tools/net80211/wlanstats/main.c