svn commit: r304201 - in head: cddl/usr.sbin/dtrace/tests/common cddl/usr.sbin/dtrace/tests/common/scalars cddl/usr.sbin/dtrace/tests/common/sugar etc/mtree

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:34:25 2016 New Revision: 304201 URL: https://svnweb.freebsd.org/changeset/base/304201 Log: Regenerate DTrace tests. Added: head/cddl/usr.sbin/dtrace/tests/common/sugar/ head/cddl/usr.sbin/dtrace/tests/common/sugar/Makefile (contents, props changed)

svn commit: r304200 - in head/cddl: contrib/opensolaris/cmd/dtrace/test/cmd/scripts contrib/opensolaris/cmd/dtrace/test/tst/common/sugar contrib/opensolaris/lib/libdtrace/common lib/libdtrace

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:30:19 2016 New Revision: 304200 URL: https://svnweb.freebsd.org/changeset/base/304200 Log: MFV r304057: 7085 add support for "if" and "else" statements in dtrace illumos/illumos-gate@c3bd3abd8856e8e75d820f65c58031cd6cbac818 Add syntactic sugar to

svn commit: r304199 - in head/sys/cddl/contrib/opensolaris/uts/common: dtrace sys

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:25:19 2016 New Revision: 304199 URL: https://svnweb.freebsd.org/changeset/base/304199 Log: MFV r301526: 7035 string-related subroutines should validate input earlier Reviewed by: Alex Wilson Reviewed by: Bryan Cantrill

svn commit: r304198 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:20:02 2016 New Revision: 304198 URL: https://svnweb.freebsd.org/changeset/base/304198 Log: MFV r301525: 7033 ustack helper should fault on bad return values Reviewed by: Patrick Mooney Reviewed by: Bryan Cantrill

svn commit: r304197 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:18:34 2016 New Revision: 304197 URL: https://svnweb.freebsd.org/changeset/base/304197 Log: MFV r301524: 7034 negative record sizes should be rejected Reviewed by: Patrick Mooney Reviewed by: Bryan Cantrill

svn commit: r304196 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scalars sys/cddl/contrib/opensolaris/uts/common/dtrace

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:16:54 2016 New Revision: 304196 URL: https://svnweb.freebsd.org/changeset/base/304196 Log: MFV r296989: 6734 dtrace_canstore_statvar() fails for some valid static variables Reviewed by: Dan McDonald Approved by: Richard Lowe

svn commit: r304195 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2016-08-15 Thread Mark Johnston
Author: markj Date: Tue Aug 16 02:14:36 2016 New Revision: 304195 URL: https://svnweb.freebsd.org/changeset/base/304195 Log: MFV r304056: 5396 fix longjmp clobbering errors illumos/illumos-gate@67a4bb8f9ad4c49e9aa9e21e2114a7c093c3a73a Reviewed by: Josef 'Jeff' Sipek

svn commit: r304194 - head/usr.bin/nfsstat

2016-08-15 Thread Rick Macklem
Author: rmacklem Date: Tue Aug 16 00:48:13 2016 New Revision: 304194 URL: https://svnweb.freebsd.org/changeset/base/304194 Log: Fix r304026 so that it builds for gcc. Reported by: np Tested by:np MFC after:1 month Modified: head/usr.bin/nfsstat/nfsstat.c Modified:

svn commit: r304192 - head/share/timedef

2016-08-15 Thread Jung-uk Kim
Author: jkim Date: Tue Aug 16 00:15:15 2016 New Revision: 304192 URL: https://svnweb.freebsd.org/changeset/base/304192 Log: Fix ko_KR, zh_CN, zh_HK, and zh_TW locales. r304045 did not fully revert date/time formats for these locales. Modified: head/share/timedef/ko_KR.UTF-8.src

svn commit: r304191 - head/contrib/elftoolchain/elfcopy

2016-08-15 Thread Ed Maste
Author: emaste Date: Mon Aug 15 23:20:55 2016 New Revision: 304191 URL: https://svnweb.freebsd.org/changeset/base/304191 Log: elfcopy: correct comment typo in r304151 Modified: head/contrib/elftoolchain/elfcopy/ascii.c Modified: head/contrib/elftoolchain/elfcopy/ascii.c

Re: svn commit: r304045 - head/share/timedef

2016-08-15 Thread Jung-uk Kim
On 08/13/2016 11:59, Baptiste Daroussin wrote: > Author: bapt > Date: Sat Aug 13 15:59:18 2016 > New Revision: 304045 > URL: https://svnweb.freebsd.org/changeset/base/304045 > > Log: > Set date and time formats back to what they were before CLDR ... This broke ko_KR.* and zh_* date formats.

Re: svn commit: r304187 - in head: . share/man/man4 sys/conf sys/dev/mcd sys/modules sys/modules/mcd

2016-08-15 Thread Jung-uk Kim
On 08/15/2016 16:54, John Baldwin wrote: > On Monday, August 15, 2016 08:38:02 PM John Baldwin wrote: >> Author: jhb >> Date: Mon Aug 15 20:38:02 2016 >> New Revision: 304187 >> URL: https://svnweb.freebsd.org/changeset/base/304187 >> >> Log: >> Remove the mcd(4) driver for Mitsumi CD-ROM

Re: svn commit: r304187 - in head: . share/man/man4 sys/conf sys/dev/mcd sys/modules sys/modules/mcd

2016-08-15 Thread John Baldwin
On Monday, August 15, 2016 08:38:02 PM John Baldwin wrote: > Author: jhb > Date: Mon Aug 15 20:38:02 2016 > New Revision: 304187 > URL: https://svnweb.freebsd.org/changeset/base/304187 > > Log: > Remove the mcd(4) driver for Mitsumi CD-ROM players. > > This is a driver for a pre-ATAPI ISA

svn commit: r304187 - in head: . share/man/man4 sys/conf sys/dev/mcd sys/modules sys/modules/mcd

2016-08-15 Thread John Baldwin
5 20:38:02 2016(r304187) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20160815: Remove mcd(4) +OLD_FILES+=usr/share/man/man4/mcd.4.gz # 20160703: POSIXify locales with variants OLD_FILES+=usr/share/locale/zh_Hant_TW.UTF-8/LC_COLLATE OLD_FILES+=usr/share/locale/zh_Han

svn commit: r304186 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 20:17:48 2016 New Revision: 304186 URL: https://svnweb.freebsd.org/changeset/base/304186 Log: Clean up the new sc cn open and close functions (old sc cn grab and ungrab functions). Mainly, spell sc as itself instead of as scp->sc. Modified:

Re: svn commit: r304185 - in head/sys: compat/cloudabi compat/linux kern sys

2016-08-15 Thread Ed Schouten
2016-08-15 22:13 GMT+02:00 Konstantin Belousov : > Thank you, and esp. thank you for handling of linux.ko. And thank you for adding fdatasync() support in the first place. \o/ -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717

Re: svn commit: r304185 - in head/sys: compat/cloudabi compat/linux kern sys

2016-08-15 Thread Konstantin Belousov
On Mon, Aug 15, 2016 at 08:11:52PM +, Ed Schouten wrote: > Author: ed > Date: Mon Aug 15 20:11:52 2016 > New Revision: 304185 > URL: https://svnweb.freebsd.org/changeset/base/304185 > > Log: > Eliminate use of sys_fsync() and sys_fdatasync(). > > Make the kern_fsync() function public,

svn commit: r304185 - in head/sys: compat/cloudabi compat/linux kern sys

2016-08-15 Thread Ed Schouten
Author: ed Date: Mon Aug 15 20:11:52 2016 New Revision: 304185 URL: https://svnweb.freebsd.org/changeset/base/304185 Log: Eliminate use of sys_fsync() and sys_fdatasync(). Make the kern_fsync() function public, so that it can be used by other parts of the kernel. Fix up existing

svn commit: r304184 - head/sys/kern

2016-08-15 Thread Eric Badger
Author: badger Date: Mon Aug 15 20:09:09 2016 New Revision: 304184 URL: https://svnweb.freebsd.org/changeset/base/304184 Log: sem_post(): wake up the sleeper only after adjusting has_waiters If the caller of sem_post() wakes up a thread sleeping via sem_wait() before it clears the

Re: svn commit: r304182 - head/sys/compat/cloudabi

2016-08-15 Thread Konstantin Belousov
On Mon, Aug 15, 2016 at 07:42:21PM +, Ed Schouten wrote: > Author: ed > Date: Mon Aug 15 19:42:21 2016 > New Revision: 304182 > URL: https://svnweb.freebsd.org/changeset/base/304182 > > Log: > Let CloudABI use fdatasync() as well. > > Now that FreeBSD supports fdatasync() natively, we

svn commit: r304183 - head/cddl/usr.sbin/dtrace/tests/tools

2016-08-15 Thread Mark Johnston
Author: markj Date: Mon Aug 15 19:47:04 2016 New Revision: 304183 URL: https://svnweb.freebsd.org/changeset/base/304183 Log: dtraceUtil/tst.DataModel32.d.ksh passes on amd64. Modified: head/cddl/usr.sbin/dtrace/tests/tools/exclude.sh Modified:

svn commit: r304182 - head/sys/compat/cloudabi

2016-08-15 Thread Ed Schouten
Author: ed Date: Mon Aug 15 19:42:21 2016 New Revision: 304182 URL: https://svnweb.freebsd.org/changeset/base/304182 Log: Let CloudABI use fdatasync() as well. Now that FreeBSD supports fdatasync() natively, we can tidy up CloudABI's equivalent system call to use that instead. Modified:

svn commit: r304180 - head/sys/ufs/ffs

2016-08-15 Thread Konstantin Belousov
Author: kib Date: Mon Aug 15 19:22:23 2016 New Revision: 304180 URL: https://svnweb.freebsd.org/changeset/base/304180 Log: Implement VOP_FDATASYNC() for UFS. Reviewed by: mckusick Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:2 weeks Differential revision:

svn commit: r304178 - in head/sys: fs/msdosfs kern sys

2016-08-15 Thread Konstantin Belousov
Author: kib Date: Mon Aug 15 19:17:00 2016 New Revision: 304178 URL: https://svnweb.freebsd.org/changeset/base/304178 Log: Implement VOP_FDATASYNC() for msdosfs. Standard VOP_FSYNC() implementation just syncs data buffers, and due to this, is the correct and efficient implementation for

svn commit: r304177 - in head/sys: compat/freebsd32 kern sys

2016-08-15 Thread Konstantin Belousov
Author: kib Date: Mon Aug 15 19:15:46 2016 New Revision: 304177 URL: https://svnweb.freebsd.org/changeset/base/304177 Log: Regen after r304176, fdatasync(2) addition. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h

svn commit: r304176 - in head: include lib/libc/sys sys/compat/freebsd32 sys/kern

2016-08-15 Thread Konstantin Belousov
Author: kib Date: Mon Aug 15 19:08:51 2016 New Revision: 304176 URL: https://svnweb.freebsd.org/changeset/base/304176 Log: Add an implementation of fdatasync(2). The syscall is a trivial wrapper around new VOP_FDATASYNC(), sharing code with fsync(2). For all filesystems, this commit

svn commit: r304175 - head/contrib/netbsd-tests/lib/libc/gen

2016-08-15 Thread Ed Schouten
Author: ed Date: Mon Aug 15 19:05:41 2016 New Revision: 304175 URL: https://svnweb.freebsd.org/changeset/base/304175 Log: Disable tests for non-standard behaviour of dirname(3)/basename(3). The NetBSD ATF tests explicitly check that these functions do not modify their input. These tests

Re: svn commit: r303848 - head/sys/netgraph

2016-08-15 Thread Ngie Cooper
Hi Hans, > On Aug 15, 2016, at 11:20, Hans Petter Selasky wrote: ... > Hi Ngie, > > Is this problem reproducable with projects/hps_head? I never reproed the issue before.. I'd have to look at the suggested repro from the CR poster. Thanks! -Ngie

Re: svn commit: r303848 - head/sys/netgraph

2016-08-15 Thread Hans Petter Selasky
On 08/13/16 00:23, Ngie Cooper (yaneurabeya) wrote: On Aug 12, 2016, at 11:38, Gleb Smirnoff wrote: Hi! Sorry, I'm afraid this isn't a correct fix. Simply adding checks against NULL to avoid panics at race conditions isn't a solution. I can provide help with this

svn commit: r304173 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 18:02:37 2016 New Revision: 304173 URL: https://svnweb.freebsd.org/changeset/base/304173 Log: Fix restoring the kbd_mode part of the keyboard state in grab/ungrab. Simply change the mode to K_XLATE using a local variable and use the grab level as a flag to tell

svn commit: r304170 - in head/sys/dev/cxgbe: . common

2016-08-15 Thread John Baldwin
Author: jhb Date: Mon Aug 15 17:42:54 2016 New Revision: 304170 URL: https://svnweb.freebsd.org/changeset/base/304170 Log: Add support for register dumps on VF devices. - Add handling of VF register sets to t4_get_regs_len() and t4_get_regs(). - While here, use t4_get_regs_len() in the

svn commit: r304169 - head/sys/dev/cxgbe/common

2016-08-15 Thread John Baldwin
Author: jhb Date: Mon Aug 15 17:41:34 2016 New Revision: 304169 URL: https://svnweb.freebsd.org/changeset/base/304169 Log: Update mailbox writes to work with VF devices. - Use alternate register locations for the data and control registers for VFs. - Do a dummy read to force the

svn commit: r304168 - in head/sys/dev/cxgbe: . common

2016-08-15 Thread John Baldwin
Author: jhb Date: Mon Aug 15 17:40:05 2016 New Revision: 304168 URL: https://svnweb.freebsd.org/changeset/base/304168 Log: Make SGE parameter handling more VF-friendly. Add fields to hold the SGE control register and free list buffer sizes to the sge_params structure. Populate these new

svn commit: r304166 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 17:11:05 2016 New Revision: 304166 URL: https://svnweb.freebsd.org/changeset/base/304166 Log: [Oops, the previous commit was missing the update to syscons.h.] Like scr_lock, the grab count needs to be per-physical-device to work. This bug corrupted the

svn commit: r304165 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 17:08:25 2016 New Revision: 304165 URL: https://svnweb.freebsd.org/changeset/base/304165 Log: Like scr_lock, the grab count needs to be per-physical-device to work. This bug corrupted the grab count on both vtys if the ungrabbed vty is different from the

svn commit: r304164 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 15:34:53 2016 New Revision: 304164 URL: https://svnweb.freebsd.org/changeset/base/304164 Log: Disable some more unsafe things in (low level) console mode: - never call up to the tty layer to restart output for keyboard input in console mode. This was already

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-15 Thread Nathan Whitehorn
As a note for people who weren't paying attention to the bug, we need to fix this in a better way outside of the constraints of getting 11.0 out the door. The system (gpart, the installer, ZFS, etc.) uses the reported GEOM stripesize for partition alignment and IO block size selection. If that

svn commit: r304162 - head/etc/periodic/daily

2016-08-15 Thread Alan Somers
Author: asomers Date: Mon Aug 15 14:58:25 2016 New Revision: 304162 URL: https://svnweb.freebsd.org/changeset/base/304162 Log: Decrease the anti-congestion sleep in 480.leapfile-ntpd to 1 hour 24 hours is too long. Periodic scripts are executed serially, so when combined with the sleep

svn commit: r304161 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 14:28:16 2016 New Revision: 304161 URL: https://svnweb.freebsd.org/changeset/base/304161 Log: Change all uses of 'debugger' to kdb_active and remove this variable. This restores avoidance of doing dangerous things like calling wakeup() and callouts while in

svn commit: r304160 - head/contrib/elftoolchain/libelftc

2016-08-15 Thread Ed Maste
Author: emaste Date: Mon Aug 15 14:28:08 2016 New Revision: 304160 URL: https://svnweb.freebsd.org/changeset/base/304160 Log: elfcopy: add elf64-littleaarch64 output target support Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/libelftc/elftc_bfd_find_target.3

Re: svn commit: r304153 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
On Mon, 15 Aug 2016, Shawn Webb wrote: On Mon, Aug 15, 2016 at 12:56:45PM +, Bruce Evans wrote: Log: Quick fix for locking fixes in r172250. The lock added there was per- virtual-device, but needs to be per-physical-device so that it protects shared data. Usually,

Re: svn commit: r304153 - head/sys/dev/syscons

2016-08-15 Thread Shawn Webb
On Mon, Aug 15, 2016 at 12:56:45PM +, Bruce Evans wrote: > Author: bde > Date: Mon Aug 15 12:56:45 2016 > New Revision: 304153 > URL: https://svnweb.freebsd.org/changeset/base/304153 > > Log: > Quick fix for locking fixes in r172250. The lock added there was per- > virtual-device, but

svn commit: r304154 - head/sys/netpfil/ipfw

2016-08-15 Thread Oleg Bulyzhin
Author: oleg Date: Mon Aug 15 13:06:29 2016 New Revision: 304154 URL: https://svnweb.freebsd.org/changeset/base/304154 Log: Fix command: ipfw set (enable|disable) N (where N > 4). enable_sets() expects set bitmasks, not set numbers. MFC after:3 days Modified:

svn commit: r304153 - head/sys/dev/syscons

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 12:56:45 2016 New Revision: 304153 URL: https://svnweb.freebsd.org/changeset/base/304153 Log: Quick fix for locking fixes in r172250. The lock added there was per- virtual-device, but needs to be per-physical-device so that it protects shared data. Usually,

svn commit: r304152 - head/sys/netpfil/pf

2016-08-15 Thread Kristof Provost
Author: kp Date: Mon Aug 15 12:13:14 2016 New Revision: 304152 URL: https://svnweb.freebsd.org/changeset/base/304152 Log: pf: Add missing byte-order swap to pf_match_addr_range Without this, rules using address ranges (e.g. "10.1.1.1 - 10.1.1.5") did not match addresses correctly on

svn commit: r304151 - head/contrib/elftoolchain/elfcopy

2016-08-15 Thread Ed Maste
Author: emaste Date: Mon Aug 15 11:54:39 2016 New Revision: 304151 URL: https://svnweb.freebsd.org/changeset/base/304151 Log: elfcopy: silence GCC 5.3 unitialized variable warning Although it's a false positive there is little cost to initializing it always. Submitted by: adrian

svn commit: r304149 - head/sys/dev/e1000

2016-08-15 Thread Sean Bruno
Author: sbruno Date: Mon Aug 15 11:24:30 2016 New Revision: 304149 URL: https://svnweb.freebsd.org/changeset/base/304149 Log: e1000: Add support for Kaby Lake IDs Fixup some errors when transitioning to/from low power states. Submitted by: erj Reviewed by: Jeffery Piper

svn commit: r304147 - head/sys/i386/include

2016-08-15 Thread Bruce Evans
Author: bde Date: Mon Aug 15 10:46:33 2016 New Revision: 304147 URL: https://svnweb.freebsd.org/changeset/base/304147 Log: Remove duplicate definition of get_pcb_td(). gcc works for detecting this error. Modified: head/sys/i386/include/md_var.h Modified: head/sys/i386/include/md_var.h

svn commit: r304146 - head/sys/netinet

2016-08-15 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 15 10:16:08 2016 New Revision: 304146 URL: https://svnweb.freebsd.org/changeset/base/304146 Log: Ensure that sctp_it_ctl.cur_it does not point to a free object (during a small time window). Thanks to Byron Campen for reporting the issue and suggesting a fix.

svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-15 Thread Dag-Erling Smørgrav
Author: des Date: Mon Aug 15 09:30:21 2016 New Revision: 304142 URL: https://svnweb.freebsd.org/changeset/base/304142 Log: Ensure that the sector size is a multiple of 4096 to avoid creating unaligned partitions when the actual sector size is hidden from us. PR: 211361 MFC

svn commit: r304140 - in head/sys/arm64: arm64 include

2016-08-15 Thread Andrew Turner
Author: andrew Date: Mon Aug 15 09:23:08 2016 New Revision: 304140 URL: https://svnweb.freebsd.org/changeset/base/304140 Log: Add the ARMv8.1 identification registers to the list we print when booting. MFC after:1 week Sponsored by: ABT Systems Ltd Modified: