svn commit: r301584 - head/release/scripts

2016-06-07 Thread Xin LI
Author: delphij Date: Wed Jun 8 06:33:55 2016 New Revision: 301584 URL: https://svnweb.freebsd.org/changeset/base/301584 Log: Apply mergemaster r255428: Pass -n (do not emit comments) when saving mtree information for future mergemaster(8) runs. MFC after:3 days Modified: hea

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

2016-06-07 Thread Sepherosa Ziehau
Author: sephe Date: Wed Jun 8 05:34:22 2016 New Revision: 301583 URL: https://svnweb.freebsd.org/changeset/base/301583 Log: hyperv/vmbus: Busdma-fy MNF and event flags. MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:https://reviews.freebsd.org/D6744 Mo

svn commit: r301582 - head/bin/setfacl

2016-06-07 Thread Don Lewis
Author: truckman Date: Wed Jun 8 05:32:39 2016 New Revision: 301582 URL: https://svnweb.freebsd.org/changeset/base/301582 Log: Explicitly NUL terminate the buffer filled by fread(). The fix in r300649 was not sufficient to convince Coverity that the buffer was NUL terminated, even with t

svn commit: r301581 - stable/10/libexec/rtld-elf

2016-06-07 Thread Konstantin Belousov
Author: kib Date: Wed Jun 8 04:49:20 2016 New Revision: 301581 URL: https://svnweb.freebsd.org/changeset/base/301581 Log: MFC r300691: Fix issues found by Coverity in the rtld-elf.c:gethints(). Modified: stable/10/libexec/rtld-elf/rtld.c Directory Properties: stable/10/ (props changed)

svn commit: r301580 - head/sys/kern

2016-06-07 Thread Konstantin Belousov
Author: kib Date: Wed Jun 8 04:37:03 2016 New Revision: 301580 URL: https://svnweb.freebsd.org/changeset/base/301580 Log: Old process credentials for setuid execve must not be dereferenced when the process credentials were not changed. This can happen if an error occured trying to activate

svn commit: r301579 - in head: sbin/ifconfig share/man/man4

2016-06-07 Thread Marcelo Araujo
Author: araujo Date: Wed Jun 8 04:18:57 2016 New Revision: 301579 URL: https://svnweb.freebsd.org/changeset/base/301579 Log: Bump date on ifconfig(8) and vlan(4) to reflect the changes made on revision r301496. Modified: head/sbin/ifconfig/ifconfig.8 head/share/man/man4/vlan.4 Modified:

svn commit: r301578 - stable/9/etc/periodic/daily

2016-06-07 Thread Cy Schubert
Author: cy Date: Wed Jun 8 03:09:30 2016 New Revision: 301578 URL: https://svnweb.freebsd.org/changeset/base/301578 Log: MFC r301102: Don't rely on $ntpd_enable to periodically fetch the latest leapfile. Suggested by: cperciva Modified: stable/9/etc/periodic/daily/480.leapfile-ntpd

svn commit: r301577 - stable/10/etc/periodic/daily

2016-06-07 Thread Cy Schubert
Author: cy Date: Wed Jun 8 03:08:37 2016 New Revision: 301577 URL: https://svnweb.freebsd.org/changeset/base/301577 Log: MFC r301102: Don't rely on $ntpd_enable to periodically fetch the latest leapfile. Suggested by: cperciva Modified: stable/10/etc/periodic/daily/480.leapfile-ntp

svn commit: r301576 - head/sys/fs/ext2fs

2016-06-07 Thread Kevin Lo
Author: kevlo Date: Wed Jun 8 02:39:10 2016 New Revision: 301576 URL: https://svnweb.freebsd.org/changeset/base/301576 Log: Fix a style bug. Modified: head/sys/fs/ext2fs/ext2_bmap.c Modified: head/sys/fs/ext2fs/ext2_bmap.c

svn commit: r301575 - head/sys/dev/ral

2016-06-07 Thread Kevin Lo
Author: kevlo Date: Wed Jun 8 02:37:23 2016 New Revision: 301575 URL: https://svnweb.freebsd.org/changeset/base/301575 Log: - Replace the magic numbers with something more readable. - Reset DMA indexes after disabling DMA. Modified: head/sys/dev/ral/rt2860.c head/sys/dev/ral/rt2860reg.h

svn commit: r301574 - head/usr.bin/random

2016-06-07 Thread Don Lewis
Author: truckman Date: Wed Jun 8 02:14:05 2016 New Revision: 301574 URL: https://svnweb.freebsd.org/changeset/base/301574 Log: Fix a (false positive?) Argument cannot be negative coverity defect. Rather than guarding close(fd) with an fd >= 0 test and setting fd to -1 when it is closed t

svn commit: r301573 - in head: lib/libc/sys sys/kern sys/sys

2016-06-07 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 8 02:09:14 2016 New Revision: 301573 URL: https://svnweb.freebsd.org/changeset/base/301573 Log: Introduce the PD_CLOEXEC for pdfork(2). Reviewed by: mjg Modified: head/lib/libc/sys/pdfork.2 head/sys/kern/kern_fork.c head/sys/kern/sys_procdesc.c head/

svn commit: r301572 - in head/lib/libcasper: libcasper services/cap_dns services/cap_grp services/cap_pwd services/cap_random services/cap_sysctl

2016-06-07 Thread Mariusz Zaborski
Author: oshogbo Date: Wed Jun 8 02:03:53 2016 New Revision: 301572 URL: https://svnweb.freebsd.org/changeset/base/301572 Log: Add flags to the Casper services. CASPER_SERVICE_STDIO - Casper will not close the first three descriptors (stdin, stdout and stderr) this c

svn commit: r301571 - stable/10/bin/sh

2016-06-07 Thread Don Lewis
Author: truckman Date: Wed Jun 8 01:17:22 2016 New Revision: 301571 URL: https://svnweb.freebsd.org/changeset/base/301571 Log: MFC r301139 The (i < PROMPTLEN - 1) test added by r300442 in the code for the default case of \c in the prompt format string is a no-op. We already passed thi

svn commit: r301570 - head/gnu/lib/libsupc++

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Wed Jun 8 00:29:48 2016 New Revision: 301570 URL: https://svnweb.freebsd.org/changeset/base/301570 Log: libsupc++: Fix typo in symbol map. This went mostly unnoticed with the deprecation of the GNU toolchain in tier 1 platforms. Fix it now for the rest. PR:

svn commit: r301569 - head/sys/fs/ext2fs

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 7 21:40:42 2016 New Revision: 301569 URL: https://svnweb.freebsd.org/changeset/base/301569 Log: ext2fs: Stop dropping and reacquiring Giant around geom calls. As in UFS r300366. Modified: head/sys/fs/ext2fs/ext2_vfsops.c Modified: head/sys/fs/ext2fs/ext2_vfsop

svn commit: r301568 - in head/sys/cam: ata scsi

2016-06-07 Thread Conrad E. Meyer
Author: cem Date: Tue Jun 7 20:33:55 2016 New Revision: 301568 URL: https://svnweb.freebsd.org/changeset/base/301568 Log: Fix memory leaks in (a|)daregister introduced in r298002 In the case where cam_iosched_init() fails, the ada and da softcs were leaked. Instead, free them. Repor

svn commit: r301567 - head/sys/net

2016-06-07 Thread Conrad E. Meyer
Author: cem Date: Tue Jun 7 20:26:00 2016 New Revision: 301567 URL: https://svnweb.freebsd.org/changeset/base/301567 Log: iflib: Improve cleanup on iflib_queues_alloc error path Fix some memory leaks. Some may remain. Reported by: Coverity Discussed with: mmacy CIDs:

svn commit: r301566 - head/sys/fs/nfsclient

2016-06-07 Thread Conrad E. Meyer
Author: cem Date: Tue Jun 7 20:16:01 2016 New Revision: 301566 URL: https://svnweb.freebsd.org/changeset/base/301566 Log: nfs_clvfsops: Fix leading whitespace introduced in r299848 Replace spaces with tabs. No functional change. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r301565 - head/sys/arm64/conf

2016-06-07 Thread Andrew Turner
Author: andrew Date: Tue Jun 7 20:14:08 2016 New Revision: 301565 URL: https://svnweb.freebsd.org/changeset/base/301565 Log: Switch arm64 to use intrng by default. The old interrupt handling code can still be used, however this is expected to be removed soon. Obtained from:ABT Sy

svn commit: r301564 - head/sys/fs/nfsclient

2016-06-07 Thread Conrad E. Meyer
Author: cem Date: Tue Jun 7 20:00:20 2016 New Revision: 301564 URL: https://svnweb.freebsd.org/changeset/base/301564 Log: nfs_clvfsops: Prevent strdup of stack garbage with bogus mount specs If strlen(hostp) was zero, the stack array 'nam' would never be initialized before being strdup()

svn commit: r301563 - head/sys/net

2016-06-07 Thread Conrad E. Meyer
Author: cem Date: Tue Jun 7 19:49:08 2016 New Revision: 301563 URL: https://svnweb.freebsd.org/changeset/base/301563 Log: iflib: Fix potential leak in iflib_if_transmit Due to an accidental mismatch between allocation and release in the slow path of iflib_if_transmit, if a caller passed

svn commit: r301562 - head/sys/dev/acpica

2016-06-07 Thread Conrad E. Meyer
Author: cem Date: Tue Jun 7 19:08:13 2016 New Revision: 301562 URL: https://svnweb.freebsd.org/changeset/base/301562 Log: Fix a minor leak in ACPI thermal Introduced in r301518. Reported by: Coverity CID: 1356266 Sponsored by: EMC / Isilon Storage Division Modified: h

svn commit: r301561 - in head/sys/arm: arm include

2016-06-07 Thread Andrew Turner
Author: andrew Date: Tue Jun 7 18:50:36 2016 New Revision: 301561 URL: https://svnweb.freebsd.org/changeset/base/301561 Log: Start to clean MIDR values using the CPUID scheme. We don't need to know the exact CPU we are running on to set the cpu functions. Relax the check to ignore the CPU r

svn commit: r301560 - head/sys/fs/ext2fs

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 7 18:23:22 2016 New Revision: 301560 URL: https://svnweb.freebsd.org/changeset/base/301560 Log: ext2fs: rearrange ext4_bmapext(). While here assign error a bit later. Reviewed by: Damjan Jovanovich Obtained from:NetBSD Modified: head/sys/fs/ext2

svn commit: r301559 - head/sys/fs/ext2fs

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 7 17:08:34 2016 New Revision: 301559 URL: https://svnweb.freebsd.org/changeset/base/301559 Log: ext2fs(5): Cosmetic cleanups, mostly to the ext4 code. Obtained from:NetBSD Modified: head/sys/fs/ext2fs/ext2_bmap.c head/sys/fs/ext2fs/ext2_extents.h he

svn commit: r301558 - in head/sys/netgraph/bluetooth: l2cap socket

2016-06-07 Thread Takanori Watanabe
Author: takawata Date: Tue Jun 7 16:57:13 2016 New Revision: 301558 URL: https://svnweb.freebsd.org/changeset/base/301558 Log: Disconnect LE socket when the HCI connection associated is disconnected. Modified: head/sys/netgraph/bluetooth/l2cap/ng_l2cap_misc.c head/sys/netgraph/bluetooth/l2

svn commit: r301557 - stable/10/usr.sbin/pw

2016-06-07 Thread Don Lewis
Author: truckman Date: Tue Jun 7 16:56:15 2016 New Revision: 301557 URL: https://svnweb.freebsd.org/changeset/base/301557 Log: MFC r300564 Fix CID 1006692 in /usr/sbin/pw pw_log() function and other fixes The length of the name returned from the $LOGNAME and $USER can be very long a

svn commit: r301556 - stable/10/sbin/ifconfig

2016-06-07 Thread Don Lewis
Author: truckman Date: Tue Jun 7 16:53:05 2016 New Revision: 301556 URL: https://svnweb.freebsd.org/changeset/base/301556 Log: MFC r299921 Add an assertion to catch a potential underflow in an array index calculation, though this should not happen in the current code. Reported by:

svn commit: r301555 - head/contrib/blacklist/bin

2016-06-07 Thread Kurt Lidl
Author: lidl Date: Tue Jun 7 16:51:56 2016 New Revision: 301555 URL: https://svnweb.freebsd.org/changeset/base/301555 Log: Bump dates in blacklist related manpages Reported by: araujo Sponsored by: The FreeBSD Foundation Modified: head/contrib/blacklist/bin/blacklistctl.8 head/cont

svn commit: r301554 - head/tools/build/options

2016-06-07 Thread Kurt Lidl
Author: lidl Date: Tue Jun 7 16:35:55 2016 New Revision: 301554 URL: https://svnweb.freebsd.org/changeset/base/301554 Log: Document BLACKLIST related build options Reported by: bdrewery Sponsored by: The FreeBSD Foundation Added: head/tools/build/options/WITHOUT_BLACKLIST (contents

svn commit: r301553 - in head: etc etc/rc.d lib libexec tools/build/mk usr.sbin

2016-06-07 Thread Kurt Lidl
Author: lidl Date: Tue Jun 7 16:31:03 2016 New Revision: 301553 URL: https://svnweb.freebsd.org/changeset/base/301553 Log: Separate BLACKLIST vs BLACKLIST_SUPPORT properly Sponsored by: The FreeBSD Foundation Modified: head/etc/Makefile head/etc/rc.d/Makefile head/lib/Makefile hea

svn commit: r301552 - head/contrib/blacklist/bin

2016-06-07 Thread Kurt Lidl
Author: lidl Date: Tue Jun 7 16:26:34 2016 New Revision: 301552 URL: https://svnweb.freebsd.org/changeset/base/301552 Log: Note blacklist support first appeared in FreeBSD 11 Reported by: jbeich Sponsored by: The FreeBSD Foundation Modified: head/contrib/blacklist/bin/blacklistctl.8

Re: svn commit: r301546 - head/release/doc/en_US.ISO8859-1/relnotes

2016-06-07 Thread Don Lewis
On 7 Jun, Steven Kreuzer wrote: > Author: skreuzer (doc,ports committer) > Date: Tue Jun 7 14:11:15 2016 > New Revision: 301546 > URL: https://svnweb.freebsd.org/changeset/base/301546 > > Log: > Document 300779, Dummynet AQM version 0.2.1 > > Approved by:re (gjb, implicit, relnote

svn commit: r301551 - in head: crypto/openssh secure/usr.sbin/sshd

2016-06-07 Thread Kurt Lidl
Author: lidl Date: Tue Jun 7 16:18:09 2016 New Revision: 301551 URL: https://svnweb.freebsd.org/changeset/base/301551 Log: Add blacklist support to sshd Reviewed by: rpaulo Approved by: rpaulo (earlier version of changes) Relnotes: YES Sponsored by: The FreeBSD Foundation Dif

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

2016-06-07 Thread Svatopluk Kraus
On Mon, Jun 6, 2016 at 8:47 PM, John Baldwin wrote: > On Sunday, June 05, 2016 04:07:57 PM Svatopluk Kraus wrote: >> Author: skra >> Date: Sun Jun 5 16:07:57 2016 >> New Revision: 301451 >> URL: https://svnweb.freebsd.org/changeset/base/301451 >> >> Log: >> (1) Add a new bus method to get a map

svn commit: r301550 - head/share/man/man4

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 7 15:20:53 2016 New Revision: 301550 URL: https://svnweb.freebsd.org/changeset/base/301550 Log: ng_mppc(4): Bring netgraph(3) MPPC compression support. Documentation change missing from r301549. Modified: head/share/man/man4/ng_mppc.4 Modified: head/share/man/

Re: svn commit: r301549 - in head/sys: modules/netgraph/mppc net

2016-06-07 Thread Pedro Giffuni
On 06/07/16 10:07, Pedro F. Giffuni wrote: Author: pfg Date: Tue Jun 7 15:07:00 2016 New Revision: 301549 URL: https://svnweb.freebsd.org/changeset/base/301549 Log: ng_mppc(4): Bring netgraph(3) MPPC compression support. Support for compression has been available from July 2007 but it

svn commit: r301549 - in head/sys: modules/netgraph/mppc net

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 7 15:07:00 2016 New Revision: 301549 URL: https://svnweb.freebsd.org/changeset/base/301549 Log: ng_mppc(4): Bring netgraph(3) MPPC compression support. Support for compression has been available from July 2007 but it was never imported due to concerns with paten

svn commit: r301548 - head/sys/fs/ext2fs

2016-06-07 Thread Pedro F. Giffuni
Author: pfg Date: Tue Jun 7 14:37:43 2016 New Revision: 301548 URL: https://svnweb.freebsd.org/changeset/base/301548 Log: ext2fs: cleanup generation number management. Ext2/3/4 manages generation numbers differently than UFS so adopt some rules that should work well. When allocating a ne

Re: svn commit: r299954 - stable/10/sbin/restore

2016-06-07 Thread Pedro Giffuni
H David; On 06/07/16 00:52, David Malone wrote: Hi Pedro, The OpenBSD commit message said off_t, but you commit and commit message says size_t, which won't be bigger than a long on some of our platforms. Should it have been off_t, or did I misunderstand something? You didn't misunderstand an

svn commit: r301546 - head/release/doc/en_US.ISO8859-1/relnotes

2016-06-07 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Tue Jun 7 14:11:15 2016 New Revision: 301546 URL: https://svnweb.freebsd.org/changeset/base/301546 Log: Document 300779, Dummynet AQM version 0.2.1 Approved by: re (gjb, implicit, relnotes) Modified: head/release/doc/en_US.ISO8859-1/relnotes

svn commit: r301545 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2016-06-07 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 7 13:58:52 2016 New Revision: 301545 URL: https://svnweb.freebsd.org/changeset/base/301545 Log: Add SR-IOV guest support to the mlx5en driver. This patch adds the missing pieces needed for device setup using the mlx5en driver inside a virtual machine which

svn commit: r301544 - head/sys/compat/linuxkpi/common/include/linux

2016-06-07 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 7 13:10:13 2016 New Revision: 301544 URL: https://svnweb.freebsd.org/changeset/base/301544 Log: Fallback to arc4rand() in the LinuxKPI when read_random() returns zero. This can happen for virtual machines. MFC after:1 week Sponsored by: Mellanox Techn

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

2016-06-07 Thread Svatopluk Kraus
Author: skra Date: Tue Jun 7 09:03:27 2016 New Revision: 301543 URL: https://svnweb.freebsd.org/changeset/base/301543 Log: Remove temporary solution for storing interrupt mapping data as it's not needed after r301451 and follow-ups r301453, r301539. This makes INTRNG clean of all additio

svn commit: r301542 - head/sys/dev/cxgbe

2016-06-07 Thread Navdeep Parhar
Author: np Date: Tue Jun 7 07:48:36 2016 New Revision: 301542 URL: https://svnweb.freebsd.org/changeset/base/301542 Log: cxgbe(4): A couple of fixes to set_sched_queue. - Validate the scheduling class against the actual limit (which is chip specific) instead of a magic number. - R

svn commit: r301541 - in head: share/man/man5 usr.sbin/ypldap

2016-06-07 Thread Marcelo Araujo
Author: araujo Date: Tue Jun 7 07:04:05 2016 New Revision: 301541 URL: https://svnweb.freebsd.org/changeset/base/301541 Log: Bump date in both manpages. Reported by: rodrigc Modified: head/share/man/man5/rc.conf.5 head/usr.sbin/ypldap/ypldap.8 Modified: head/share/man/man5/rc.conf.5