svn commit: r302921 - head/sys/i386/linux

2016-07-15 Thread John Baldwin
Author: jhb Date: Sat Jul 16 00:54:46 2016 New Revision: 302921 URL: https://svnweb.freebsd.org/changeset/base/302921 Log: Rename PTRACE_SYSCALL to LINUX_PTRACE_SYSCALL. Suggested by: kib Modified: head/sys/i386/linux/linux_ptrace.c Modified: head/sys/i386/linux/linux_ptrace.c

svn commit: r302920 - head/lib/libc/tests/string

2016-07-15 Thread Baptiste Daroussin
Author: bapt Date: Fri Jul 15 23:43:23 2016 New Revision: 302920 URL: https://svnweb.freebsd.org/changeset/base/302920 Log: Add a regression test to make sure the Russian collation is actually working when importing collation support from Dragonfly/Illumos amdmi3@ tested the collation

svn commit: r302919 - head/sys/kern

2016-07-15 Thread Konstantin Belousov
Author: kib Date: Fri Jul 15 23:26:33 2016 New Revision: 302919 URL: https://svnweb.freebsd.org/changeset/base/302919 Log: In ptrace_vm_entry(), do not call vmspace_free() while owning a vm object lock. The vmspace_free() operations might need to lock map, object etc on last

svn commit: r302918 - head/lib/libc/tests/string

2016-07-15 Thread Baptiste Daroussin
Author: bapt Date: Fri Jul 15 23:24:00 2016 New Revision: 302918 URL: https://svnweb.freebsd.org/changeset/base/302918 Log: Add a regression test about the crash with strxfrm and ISO8859-5 locales Added: head/lib/libc/tests/string/strxfrm_test.c (contents, props changed) Modified:

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

2016-07-15 Thread Michael Tuexen
Author: tuexen Date: Fri Jul 15 23:13:57 2016 New Revision: 302917 URL: https://svnweb.freebsd.org/changeset/base/302917 Log: Ensure that the -a, -W, -L options for SCTP behave similar as for TCP. MFC after:3 days Modified: head/usr.bin/netstat/sctp.c Modified:

svn commit: r302916 - head/lib/libc/locale

2016-07-15 Thread Baptiste Daroussin
Author: bapt Date: Fri Jul 15 23:03:20 2016 New Revision: 302916 URL: https://svnweb.freebsd.org/changeset/base/302916 Log: Revert 302324 and properly fix the crash with ISO-8859-5 locales PR: 211135 Reported by: jkim Tested by:jkim MFC after:2 days Modified:

svn commit: r302914 - head/usr.bin/mail

2016-07-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 15 20:27:21 2016 New Revision: 302914 URL: https://svnweb.freebsd.org/changeset/base/302914 Log: mail(1): Minor declaration updates. Missing from r302903. Modified: head/usr.bin/mail/util.c Modified: head/usr.bin/mail/util.c

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

2016-07-15 Thread Ngie Cooper
On Fri, Jul 15, 2016 at 8:32 AM, John Baldwin wrote: > Author: jhb > Date: Fri Jul 15 15:32:09 2016 > New Revision: 302902 > URL: https://svnweb.freebsd.org/changeset/base/302902 > > Log: > Add a mask of optional ptrace() events. > > ptrace() now stores a mask of optional

svn commit: r302911 - head/usr.bin/mail

2016-07-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 15 19:43:24 2016 New Revision: 302911 URL: https://svnweb.freebsd.org/changeset/base/302911 Log: mail(1): Avoid closing negative file descriptors. CID: 1008105, 1008106 MFC after:1 week Modified: head/usr.bin/mail/quit.c

Re: svn commit: r302782 - in head/sys: dev/acpica i386/isa

2016-07-15 Thread Bruce Evans
On Fri, 15 Jul 2016, Warner Losh wrote: On Fri, Jul 15, 2016 at 9:09 AM, Bruce Evans wrote: pmtimer is in i386's GENERIC, but this is probably not needed now I think it's time to relegate pmtimer to the apm power stuff and make sure that ACPI has the right hooks to do

svn commit: r302908 - head/libexec/rtld-elf

2016-07-15 Thread Bryan Drewery
Author: bdrewery Date: Fri Jul 15 19:07:00 2016 New Revision: 302908 URL: https://svnweb.freebsd.org/changeset/base/302908 Log: Fix dlsym(RTLD_NEXT) handling to only return the next library in last library cases. The root of the problem here is that TAILQ_FOREACH_FROM will default to

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

2016-07-15 Thread Michael Tuexen
Author: tuexen Date: Fri Jul 15 17:40:34 2016 New Revision: 302907 URL: https://svnweb.freebsd.org/changeset/base/302907 Log: When calling netstat -Laptcp the local address values are not aligned with the corresponding entry in the table header. r295136 increased the value width from 14 to

svn commit: r302906 - head/sys/netinet6

2016-07-15 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 15 17:09:30 2016 New Revision: 302906 URL: https://svnweb.freebsd.org/changeset/base/302906 Log: Add net.inet6.ip6.intr_queue_maxlen sysctl. It can be used to change netisr queue limit for IPv6 at runtime. Obtained from:Yandex LLC MFC after:2 weeks

Re: svn commit: r302782 - in head/sys: dev/acpica i386/isa

2016-07-15 Thread Warner Losh
On Fri, Jul 15, 2016 at 9:09 AM, Bruce Evans wrote: > pmtimer is in i386's GENERIC, but this is probably not needed now I think it's time to relegate pmtimer to the apm power stuff and make sure that ACPI has the right hooks to do anything it currently isn't doing

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

2016-07-15 Thread Michael Tuexen
Author: tuexen Date: Fri Jul 15 15:55:36 2016 New Revision: 302904 URL: https://svnweb.freebsd.org/changeset/base/302904 Log: Fix a bug which results in a core dump when running netstat with the -W option and having a listening SCTP socket. The bug was introduced in r279122 when adding

Re: svn commit: r302782 - in head/sys: dev/acpica i386/isa

2016-07-15 Thread Bruce Evans
On Wed, 13 Jul 2016, Jung-uk Kim wrote: Log: Remove a tunable and always reset system clock while resuming with ACPI. Requested by: bde (long ago) Thanks. Modified: head/sys/dev/acpica/acpi.c head/sys/i386/isa/pmtimer.c This also prevents the reset by pmtimer if acpi is active.

svn commit: r302903 - head/usr.bin/mail

2016-07-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri Jul 15 15:37:54 2016 New Revision: 302903 URL: https://svnweb.freebsd.org/changeset/base/302903 Log: mail(1): Update more prototypes. Also rename delete and undelete_messages to deletecmd and undeletecmd respectively in an attempt to sync with other BSDs.

svn commit: r302902 - in head: lib/libc/sys sys/kern sys/sys tests/sys/kern

2016-07-15 Thread John Baldwin
Author: jhb Date: Fri Jul 15 15:32:09 2016 New Revision: 302902 URL: https://svnweb.freebsd.org/changeset/base/302902 Log: Add a mask of optional ptrace() events. ptrace() now stores a mask of optional events in p_ptevents. Currently this mask is a single integer, but it can be expanded

svn commit: r302900 - head/tests/sys/kern

2016-07-15 Thread John Baldwin
Author: jhb Date: Fri Jul 15 15:28:33 2016 New Revision: 302900 URL: https://svnweb.freebsd.org/changeset/base/302900 Log: Add a test for user signal delivery. This test verifies we get the correct ptrace event details when a signal is posted to a traced process from userland.

svn commit: r302899 - in head: lib/libc/sys share/man/man3 share/man/man4

2016-07-15 Thread John Baldwin
Author: jhb Date: Fri Jul 15 15:12:56 2016 New Revision: 302899 URL: https://svnweb.freebsd.org/changeset/base/302899 Log: Add documentation for the sigevent structure. - Add a sigevent(3) manpage to give a general overview of the sigevent structure and the available notification

svn commit: r302898 - head

2016-07-15 Thread Cy Schubert
Author: cy Date: Fri Jul 15 15:09:48 2016 New Revision: 302898 URL: https://svnweb.freebsd.org/changeset/base/302898 Log: Revert r302865 and it's sister r302866 as r302865 causes some breakage. Reported by: Guy Yur Modified: head/Makefile.inc1 head/UPDATING

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

2016-07-15 Thread Bartek Rutkowski
Author: robak (ports committer) Date: Fri Jul 15 15:07:24 2016 New Revision: 302897 URL: https://svnweb.freebsd.org/changeset/base/302897 Log: Add new System Hardening menu and options to bsdinstall. This patch add new 'hardening' file responsible for new bsdinstall 'System Hardening'

Re: svn commit: r272484 - in head: . cddl/lib/libzfs cddl/lib/libzpool

2016-07-15 Thread Alan Somers
On Fri, Oct 3, 2014 at 2:36 PM, Xin LI wrote: > Author: delphij > Date: Fri Oct 3 20:36:09 2014 > New Revision: 272484 > URL: https://svnweb.freebsd.org/changeset/base/272484 > > Log: > Add dependencies to various libraries to libzfs and libzpool. > > Submitted by: sef >

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

2016-07-15 Thread Hans Petter Selasky
On 07/15/16 11:28, Gleb Smirnoff wrote: Author: glebius Date: Fri Jul 15 09:28:32 2016 New Revision: 302894 URL: https://svnweb.freebsd.org/changeset/base/302894 Log: Fix regression introduced by r302350. The change of return value for a callout that wasn't scheduled at all was

svn commit: r302896 - head/sys/arm64/arm64

2016-07-15 Thread Andrew Turner
Author: andrew Date: Fri Jul 15 13:25:47 2016 New Revision: 302896 URL: https://svnweb.freebsd.org/changeset/base/302896 Log: Implement bus_print_child to print the resources used by the ITS driver. Obtained from:ABT Systems Ltd MFC after:1 month Sponsored by: The FreeBSD

svn commit: r302894 - head/sys/kern

2016-07-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Jul 15 09:28:32 2016 New Revision: 302894 URL: https://svnweb.freebsd.org/changeset/base/302894 Log: Fix regression introduced by r302350. The change of return value for a callout that wasn't scheduled at all was unintentional and yielded in several panics.

svn commit: r302893 - head/sys/kern

2016-07-15 Thread Konstantin Belousov
Author: kib Date: Fri Jul 15 09:23:18 2016 New Revision: 302893 URL: https://svnweb.freebsd.org/changeset/base/302893 Log: Do not allow creation of char or block special nodes with VNOVAL dev_t. As was reported on http://seclists.org/oss-sec/2016/q3/68, tmpfs code contains assertion that

Re: svn commit: r302324 - head/lib/libc/locale

2016-07-15 Thread Baptiste Daroussin
On Fri, Jul 15, 2016 at 02:19:41AM -0400, Jung-uk Kim wrote: > On 07/03/16 11:00 AM, Baptiste Daroussin wrote: > > Author: bapt > > Date: Sun Jul 3 15:00:12 2016 > > New Revision: 302324 > > URL: https://svnweb.freebsd.org/changeset/base/302324 > > > > Log: > > Fix a bad test resulting in a

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

2016-07-15 Thread Bruce Evans
On Fri, 15 Jul 2016, Alexey Dokuchaev wrote: On Fri, Jul 15, 2016 at 07:19:22AM +1000, Bruce Evans wrote: On Fri, 15 Jul 2016, Bruce Evans wrote: Log: Let DDB's buf printer handle NULL pointers in the buf page array. I noticed some other bugs in this code: Oops, that was supposed to be

svn commit: r302892 - head/sys/dev/hyperv/vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 08:40:22 2016 New Revision: 302892 URL: https://svnweb.freebsd.org/changeset/base/302892 Log: hyperv/vmbus: Cleanup channel sysctl tree creation MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r302891 - head/sys/dev/hyperv/vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 08:31:53 2016 New Revision: 302891 URL: https://svnweb.freebsd.org/changeset/base/302891 Log: hyperv/vmbus: Cosmetic vmbus channel close cleanup MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r302890 - in head/sys/dev/hyperv: include netvsc storvsc vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 08:23:33 2016 New Revision: 302890 URL: https://svnweb.freebsd.org/changeset/base/302890 Log: hyperv/vmbus: Function rename MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7212 Modified:

svn commit: r302889 - in head/sys/dev/hyperv: include netvsc storvsc vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 08:13:44 2016 New Revision: 302889 URL: https://svnweb.freebsd.org/changeset/base/302889 Log: hyperv/vmbus: Back out r302888 temporarily Committed by accident w/ duplicated commit log MFC after:1 week Sponsored by: Microsoft OSTC Modified:

svn commit: r302888 - in head/sys/dev/hyperv: include netvsc storvsc vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 08:08:13 2016 New Revision: 302888 URL: https://svnweb.freebsd.org/changeset/base/302888 Log: hyperv/hn: Busdma-fy rxbuf and chimney sending buffer Nuke unused channel GPADL API. MFC after:1 week Sponsored by: Microsoft OSTC Differential

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

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 08:06:48 2016 New Revision: 302887 URL: https://svnweb.freebsd.org/changeset/base/302887 Log: hyperv/hn: Busdma-fy rxbuf and chimney sending buffer Nuke unused channel GPADL API. MFC after:1 week Sponsored by: Microsoft OSTC Differential

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

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 07:53:45 2016 New Revision: 302886 URL: https://svnweb.freebsd.org/changeset/base/302886 Log: hyperv/vmbus: Cleanup channel packet receiving. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7204

svn commit: r302885 - in head/sys/dev/hyperv: include storvsc utilities vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 07:45:30 2016 New Revision: 302885 URL: https://svnweb.freebsd.org/changeset/base/302885 Log: hyperv/vmbus: Cleanup channel receiving. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7202

svn commit: r302884 - head/sys/dev/hyperv/vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 07:35:01 2016 New Revision: 302884 URL: https://svnweb.freebsd.org/changeset/base/302884 Log: hyperv/vmbus: Factor out macros to do channel packet length conversion. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r302883 - head/sys/dev/hyperv/vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 07:26:31 2016 New Revision: 302883 URL: https://svnweb.freebsd.org/changeset/base/302883 Log: hyperv/vmbus: Field rename MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7193 Modified:

svn commit: r302882 - in head/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 07:16:46 2016 New Revision: 302882 URL: https://svnweb.freebsd.org/changeset/base/302882 Log: hyperv/vmbus: Function rename And reorder the error prone parameters list. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r302881 - head/sys/dev/hyperv/vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 07:07:17 2016 New Revision: 302881 URL: https://svnweb.freebsd.org/changeset/base/302881 Log: hyperv/vmbus: Cleanup channel sending MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7178

svn commit: r302880 - in head/sys/dev/hyperv: include netvsc storvsc utilities vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 06:58:21 2016 New Revision: 302880 URL: https://svnweb.freebsd.org/changeset/base/302880 Log: hyperv/vmbus: Move channel packet types definition to vmbus.h MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

Re: svn commit: r302324 - head/lib/libc/locale

2016-07-15 Thread Jung-uk Kim
On 07/15/16 02:22 AM, Kubilay Kocak wrote: > On 15/07/2016 4:19 PM, Jung-uk Kim wrote: >> On 07/03/16 11:00 AM, Baptiste Daroussin wrote: >>> Author: bapt >>> Date: Sun Jul 3 15:00:12 2016 >>> New Revision: 302324 >>> URL: https://svnweb.freebsd.org/changeset/base/302324 >>> >>> Log: >>> Fix a

svn commit: r302879 - in head/sys/dev/hyperv: include netvsc storvsc vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 06:49:45 2016 New Revision: 302879 URL: https://svnweb.freebsd.org/changeset/base/302879 Log: hyperv/vmbus: Move channel packet flags definition to vmbus.h MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

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

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 06:40:59 2016 New Revision: 302878 URL: https://svnweb.freebsd.org/changeset/base/302878 Log: hyeprv/vmbus: Rework prplist sending. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7175

svn commit: r302877 - in head/sys/dev/ath: . ath_hal ath_hal/ar5212 ath_rate/sample

2016-07-15 Thread Adrian Chadd
Author: adrian Date: Fri Jul 15 06:39:35 2016 New Revision: 302877 URL: https://svnweb.freebsd.org/changeset/base/302877 Log: [ath] [ath_hal] break out the duration calculation to optionally include SIFS. The pre-11n calculations include SIFS, but the 11n ones don't. The reason is

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

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 06:29:19 2016 New Revision: 302876 URL: https://svnweb.freebsd.org/changeset/base/302876 Log: hyperv/vmbus: Rework sglist sending. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7156 Added:

Re: svn commit: r302324 - head/lib/libc/locale

2016-07-15 Thread Kubilay Kocak
On 15/07/2016 4:19 PM, Jung-uk Kim wrote: > On 07/03/16 11:00 AM, Baptiste Daroussin wrote: >> Author: bapt >> Date: Sun Jul 3 15:00:12 2016 >> New Revision: 302324 >> URL: https://svnweb.freebsd.org/changeset/base/302324 >> >> Log: >> Fix a bad test resulting in a segfault with ISO-8859-5

Re: svn commit: r302324 - head/lib/libc/locale

2016-07-15 Thread Jung-uk Kim
On 07/03/16 11:00 AM, Baptiste Daroussin wrote: > Author: bapt > Date: Sun Jul 3 15:00:12 2016 > New Revision: 302324 > URL: https://svnweb.freebsd.org/changeset/base/302324 > > Log: > Fix a bad test resulting in a segfault with ISO-8859-5 locales > > Reported by:Lauri Tirkkonen

svn commit: r302875 - head/sys/dev/hyperv/vmbus

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 06:16:39 2016 New Revision: 302875 URL: https://svnweb.freebsd.org/changeset/base/302875 Log: hyperv/vmbus: Redefine channel packet. The channel packet header will be shared w/ PRP (physical region page) list channel packet and SG (scatter gather) list

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

2016-07-15 Thread Sepherosa Ziehau
Author: sephe Date: Fri Jul 15 06:08:48 2016 New Revision: 302874 URL: https://svnweb.freebsd.org/changeset/base/302874 Log: hyperv/vmbus: Field rename MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D7146 Modified: