svn commit: r313760 - in head: contrib/libpcap/pcap sys/net

2017-02-14 Thread Xin LI
Author: delphij Date: Wed Feb 15 07:22:47 2017 New Revision: 313760 URL: https://svnweb.freebsd.org/changeset/base/313760 Log: MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). MFC after:28 days X-MFC-with: r313695 Modified:

svn commit: r313759 - vendor/libpcap/dist/pcap

2017-02-14 Thread Xin LI
Author: delphij Date: Wed Feb 15 07:19:23 2017 New Revision: 313759 URL: https://svnweb.freebsd.org/changeset/base/313759 Log: Import license changes from upstream 5c5039637f2be0e3167ff6806b4c2741ebab2181. Modified: vendor/libpcap/dist/pcap/bpf.h vendor/libpcap/dist/pcap/dlt.h Modified:

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

2017-02-14 Thread Mark Johnston
Author: markj Date: Wed Feb 15 06:07:01 2017 New Revision: 313758 URL: https://svnweb.freebsd.org/changeset/base/313758 Log: Use pget() instead of pfind() in fasttrap_pid_{enable,disable}(). Suggested by: mjg MFC after:1 week Modified:

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

2017-02-14 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Feb 15 02:52:43 2017 New Revision: 313757 URL: https://svnweb.freebsd.org/changeset/base/313757 Log: [psm] Fix calculation for clickpad softbuttons at the top On laptops like the ThinkPad X240, ClickPad buttons are located at the top. The

svn commit: r313756 - head/sys/kern

2017-02-14 Thread Mark Johnston
Author: markj Date: Wed Feb 15 01:50:58 2017 New Revision: 313756 URL: https://svnweb.freebsd.org/changeset/base/313756 Log: Apply MADV_FREE to exec_map entries only after a lowmem event. This effectively provides the same benefit as applying MADV_FREE inline upon every execve, since the

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

2017-02-14 Thread Mark Johnston
Author: markj Date: Wed Feb 15 01:35:26 2017 New Revision: 313755 URL: https://svnweb.freebsd.org/changeset/base/313755 Log: Check for an exiting process when enabling PID provider probes. MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c

svn commit: r313754 - in stable/10: . tests/sys/geom/class/gate

2017-02-14 Thread Alan Somers
Feb 15 00:15:24 2017(r313753) +++ stable/10/ObsoleteFiles.inc Wed Feb 15 00:16:52 2017(r313754) @@ -38,6 +38,11 @@ # xargs -n1 | sort | uniq -d; # done +# 20170214: Four files from ggate tests consolidated into one +OLD_FILES+=usr/tests/sys/geom/class/gate/1_test +OLD_FILES+=usr

svn commit: r313753 - in stable/11: . tests/sys/geom/class/gate

2017-02-14 Thread Alan Somers
| uniq -d; # done +# 20170214: Four files from ggate tests consolidated into one +OLD_FILES+=usr/tests/sys/geom/class/gate/1_test +OLD_FILES+=usr/tests/sys/geom/class/gate/2_test +OLD_FILES+=usr/tests/sys/geom/class/gate/3_test +OLD_FILES+=usr/tests/sys/geom/class/gate/conf.sh # 20170211: liba

svn commit: r313752 - head/sys/x86/x86

2017-02-14 Thread Andriy Gapon
Author: avg Date: Tue Feb 14 22:46:39 2017 New Revision: 313752 URL: https://svnweb.freebsd.org/changeset/base/313752 Log: mca: use time_uptime instead of ticks for CMCI throttling This solves several problems. First of all, cmc_throttle is specified in seconds and there was no

svn commit: r313751 - head/sys/x86/x86

2017-02-14 Thread Andriy Gapon
Author: avg Date: Tue Feb 14 22:30:22 2017 New Revision: 313751 URL: https://svnweb.freebsd.org/changeset/base/313751 Log: mca: fix writes to MSR_MC_CTL2 in cmci_update Previously, if the threshold was changed, then MC_CTL2_CMCI_EN would get cleared and the logic would switch to the

svn commit: r313750 - head/tools/regression/sockets/listen_kqueue

2017-02-14 Thread Gleb Smirnoff
Author: glebius Date: Tue Feb 14 21:56:01 2017 New Revision: 313750 URL: https://svnweb.freebsd.org/changeset/base/313750 Log: Add a regression test for putting a socket on kqueue, and then doing listen(2) on it (see r313043). Based on Hartmut's code. Added:

svn commit: r313749 - head/lib/libc/net

2017-02-14 Thread Mark Johnston
Author: markj Date: Tue Feb 14 21:55:50 2017 New Revision: 313749 URL: https://svnweb.freebsd.org/changeset/base/313749 Log: Fix indentation in nss_configure(). MFC after:1 week Sponsored by: Dell EMC Isilon Modified: head/lib/libc/net/nsdispatch.c Modified:

svn commit: r313748 - head/lib/libc/net

2017-02-14 Thread Mark Johnston
Author: markj Date: Tue Feb 14 21:51:19 2017 New Revision: 313748 URL: https://svnweb.freebsd.org/changeset/base/313748 Log: Register nss_atexit() before parsing nsswitch.conf for the first time. NSS modules are loaded when nsswitch.conf is parsed and may register their own atexit

svn commit: r313747 - head/sys/dev/netmap

2017-02-14 Thread Mark Johnston
Author: markj Date: Tue Feb 14 21:36:18 2017 New Revision: 313747 URL: https://svnweb.freebsd.org/changeset/base/313747 Log: Unbreak the gcc build of netmap. This fixes several LINT targets. Reviewed by: Vincenzo Maffione Modified: head/sys/dev/netmap/netmap_generic.c Modified:

svn commit: r313746 - head/sys/netinet

2017-02-14 Thread Andrey V. Elsukov
Author: ae Date: Tue Feb 14 21:33:10 2017 New Revision: 313746 URL: https://svnweb.freebsd.org/changeset/base/313746 Log: Add missing check to fix the build with IPSEC_SUPPORT and without MAC. Submitted by: netchild Modified: head/sys/netinet/in_pcb.c Modified:

svn commit: r313745 - head/sbin/fsck_ffs

2017-02-14 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Feb 14 21:14:24 2017 New Revision: 313745 URL: https://svnweb.freebsd.org/changeset/base/313745 Log: * Add missing parameters to usage() * Add missing parameters to manpage synopsis * Add missing description of -d flag * Sort flags descriptions

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

2017-02-14 Thread Alexander Motin
Author: mav Date: Tue Feb 14 21:05:36 2017 New Revision: 313744 URL: https://svnweb.freebsd.org/changeset/base/313744 Log: No need to erase sense_data when sense_len is set to zero. MFC after:2 weeks Modified: head/sys/cam/ctl/ctl_error.c Modified: head/sys/cam/ctl/ctl_error.c

svn commit: r313742 - stable/11/etc/mtree

2017-02-14 Thread Alan Somers
Author: asomers Date: Tue Feb 14 21:02:17 2017 New Revision: 313742 URL: https://svnweb.freebsd.org/changeset/base/313742 Log: MFC r311349, r311445 r311349: tabs -> spaces in etc/mtree MFC after:4 weeks r311445: Fix typo from r311349 Reported by: lwhsu

svn commit: r313743 - stable/10/etc/mtree

2017-02-14 Thread Alan Somers
Author: asomers Date: Tue Feb 14 21:02:27 2017 New Revision: 313743 URL: https://svnweb.freebsd.org/changeset/base/313743 Log: MFC r311349, r311445 r311349: tabs -> spaces in etc/mtree MFC after:4 weeks r311445: Fix typo from r311349 Reported by: lwhsu

svn commit: r313741 - head/share/misc

2017-02-14 Thread Tobias Kortkamp
Author: tobik (ports committer) Date: Tue Feb 14 19:54:32 2017 New Revision: 313741 URL: https://svnweb.freebsd.org/changeset/base/313741 Log: Add myself as a new ports committer Approved by: mat (mentor) Differential Revision:https://reviews.freebsd.org/D9590 Modified:

svn commit: r313740 - head/sys/compat/linux

2017-02-14 Thread Dmitry Chagin
Author: dchagin Date: Tue Feb 14 19:13:27 2017 New Revision: 313740 URL: https://svnweb.freebsd.org/changeset/base/313740 Log: Replace Linuxulator implementation of readdir(), getdents() and getdents64() with wrapper over kern_getdirentries(). The patch was originally written by emaste@

svn commit: r313739 - head/sys/dev/iscsi

2017-02-14 Thread Alexander Motin
Author: mav Date: Tue Feb 14 18:34:25 2017 New Revision: 313739 URL: https://svnweb.freebsd.org/changeset/base/313739 Log: Directly call m_gethdr() instead of m_getm2() for BHS. All this code is based on assumption that data will be stored in one piece, and since buffer size if known and

svn commit: r313738 - head/sys/dev/iscsi

2017-02-14 Thread Alexander Motin
Author: mav Date: Tue Feb 14 18:29:07 2017 New Revision: 313738 URL: https://svnweb.freebsd.org/changeset/base/313738 Log: Temporary attach AHS to BHS to calculate header digest. MFC after:2 weeks Modified: head/sys/dev/iscsi/icl_soft.c Modified: head/sys/dev/iscsi/icl_soft.c

svn commit: r313737 - head/usr.sbin/ndp

2017-02-14 Thread Renato Botelho
Author: garga (ports committer) Date: Tue Feb 14 18:11:16 2017 New Revision: 313737 URL: https://svnweb.freebsd.org/changeset/base/313737 Log: Fix style(9) Reviewed by: allanjude, vangyzen Approved by: allanjude MFC after:1 week Sponsored by: Rubicon Communications (Netgate)

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

2017-02-14 Thread Alexander Motin
Author: mav Date: Tue Feb 14 18:03:17 2017 New Revision: 313736 URL: https://svnweb.freebsd.org/changeset/base/313736 Log: Fix panic on shutdown of ramdisk LU with zero capacity. MFC after:1 week Modified: head/sys/cam/ctl/ctl_backend_ramdisk.c Modified:

svn commit: r313735 - in head/sys: fs/nfsserver rpc

2017-02-14 Thread Andriy Gapon
Author: avg Date: Tue Feb 14 17:49:08 2017 New Revision: 313735 URL: https://svnweb.freebsd.org/changeset/base/313735 Log: add svcpool_close to handle killed nfsd threads This patch adds a new function to the server krpc called svcpool_close(). It is similar to svcpool_destroy(), but

svn commit: r313734 - head/sys/sys

2017-02-14 Thread Konstantin Belousov
Author: kib Date: Tue Feb 14 17:44:30 2017 New Revision: 313734 URL: https://svnweb.freebsd.org/changeset/base/313734 Log: Add RLIM_SAVED_MAX and RLIM_SAVED_CUR symbols. Define them as RLIM_INFINITY. This is allowed by POSIX in case all resource limits are representable in an object of

svn commit: r313733 - head/sys/kern

2017-02-14 Thread Eric Badger
Author: badger Date: Tue Feb 14 17:13:23 2017 New Revision: 313733 URL: https://svnweb.freebsd.org/changeset/base/313733 Log: sleepq_catch_signals: do thread suspension before signal check Since locks are dropped when a thread suspends, it's possible for another thread to deliver a

svn commit: r313732 - head/usr.sbin/bhyve

2017-02-14 Thread Ed Maste
Author: emaste Date: Tue Feb 14 16:49:32 2017 New Revision: 313732 URL: https://svnweb.freebsd.org/changeset/base/313732 Log: bhyve: whitespace fix for r313727 Reported by: jhb Modified: head/usr.sbin/bhyve/consport.c Modified: head/usr.sbin/bhyve/consport.c

svn commit: r313731 - head/sys/dev/iscsi

2017-02-14 Thread Alexander Motin
Author: mav Date: Tue Feb 14 16:33:42 2017 New Revision: 313731 URL: https://svnweb.freebsd.org/changeset/base/313731 Log: Do not rely on data alignment after m_pullup(). In general case m_pullup() does not really guarantee any data alignment. Instead of depenting on side effects caused

Re: svn commit: r313727 - in head: lib/libvmmapi usr.sbin/bhyve

2017-02-14 Thread John Baldwin
On Tuesday, February 14, 2017 01:35:59 PM Bartek Rutkowski wrote: > Author: robak (ports committer) > Date: Tue Feb 14 13:35:59 2017 > New Revision: 313727 > URL: https://svnweb.freebsd.org/changeset/base/313727 > > Log: > Capsicum support for bhyve(8). > > Adds Capsicum sandboxing to

svn commit: r313730 - in head/sys: kern vm

2017-02-14 Thread Andriy Gapon
Author: avg Date: Tue Feb 14 13:54:05 2017 New Revision: 313730 URL: https://svnweb.freebsd.org/changeset/base/313730 Log: try to fix RACCT_RSS accounting There could be a race between the vm daemon setting RACCT_RSS based on the vm space and vmspace_exit (called from exit1) resetting

svn commit: r313729 - stable/10/sys/kern

2017-02-14 Thread Andriy Gapon
Author: avg Date: Tue Feb 14 13:45:38 2017 New Revision: 313729 URL: https://svnweb.freebsd.org/changeset/base/313729 Log: MFC r312991: put very expensive sanity checks of advisory locks under DIAGNOSTIC Sponsored by: Panzura Modified: stable/10/sys/kern/kern_lockf.c Directory

svn commit: r313728 - stable/11/sys/kern

2017-02-14 Thread Andriy Gapon
Author: avg Date: Tue Feb 14 13:45:20 2017 New Revision: 313728 URL: https://svnweb.freebsd.org/changeset/base/313728 Log: MFC r312991: put very expensive sanity checks of advisory locks under DIAGNOSTIC Sponsored by: Panzura Modified: stable/11/sys/kern/kern_lockf.c Directory

svn commit: r313727 - in head: lib/libvmmapi usr.sbin/bhyve

2017-02-14 Thread Bartek Rutkowski
Author: robak (ports committer) Date: Tue Feb 14 13:35:59 2017 New Revision: 313727 URL: https://svnweb.freebsd.org/changeset/base/313727 Log: Capsicum support for bhyve(8). Adds Capsicum sandboxing to bhyve. Submitted by: Pawel Biernacki Reviewed by: