svn commit: r336302 - head/usr.sbin/kldxref

2018-07-14 Thread Warner Losh
Author: imp Date: Sun Jul 15 05:29:39 2018 New Revision: 336302 URL: https://svnweb.freebsd.org/changeset/base/336302 Log: Use EF_SEG_READ_STRING instead of EF_SEG_READ when reading strings. Normally, we can get away with just reading the 1k buffer for the string, since the placement of

svn commit: r336301 - head/sys/netinet6

2018-07-14 Thread Matt Macy
Author: mmacy Date: Sun Jul 15 00:47:06 2018 New Revision: 336301 URL: https://svnweb.freebsd.org/changeset/base/336301 Log: acquire inp lock around ip6_pcbopt to fix IPV6_TCLASS panic Simple fix to address panics relating to setting IPV6_TCLASS with setsockopt(). The premise of this

svn commit: r336300 - head/sys/tests/epoch

2018-07-14 Thread Matt Macy
Author: mmacy Date: Sun Jul 15 00:31:17 2018 New Revision: 336300 URL: https://svnweb.freebsd.org/changeset/base/336300 Log: epoch_test: fix compile - update to new interface Reported by: manu Modified: head/sys/tests/epoch/epoch_test.c Modified: head/sys/tests/epoch/epoch_test.c

svn commit: r336299 - in head: include lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/man lib/msun/src

2018-07-14 Thread Matt Macy
Author: mmacy Date: Sun Jul 15 00:23:10 2018 New Revision: 336299 URL: https://svnweb.freebsd.org/changeset/base/336299 Log: msun: add ld80/ld128 powl, cpow, cpowf, cpowl from openbsd This corresponds to the latest status (hasn't changed in 9+ years) from openbsd of ld80/ld128 powl, and

svn commit: r336298 - head/sys/netinet

2018-07-14 Thread Sean Bruno
Author: sbruno Date: Sat Jul 14 23:53:51 2018 New Revision: 336298 URL: https://svnweb.freebsd.org/changeset/base/336298 Log: There was quite a bit of feedback on r336282 that has led to the submitter to want to revert it. Modified: head/sys/netinet/ip_output.c Modified:

svn commit: r336297 - head/tests/sys/netpfil/pf

2018-07-14 Thread Kristof Provost
Author: kp Date: Sat Jul 14 21:32:32 2018 New Revision: 336297 URL: https://svnweb.freebsd.org/changeset/base/336297 Log: pf tests: Basic synproxy test A very basic syncproxy test: set up a connection via a synproxy rule. This triggeres the panic fixed in r336273. Added:

svn commit: r336294 - head/sys/riscv/riscv

2018-07-14 Thread Alan Cox
Author: alc Date: Sat Jul 14 20:14:00 2018 New Revision: 336294 URL: https://svnweb.freebsd.org/changeset/base/336294 Log: Invalidate the mapping before updating its physical address. Doing so ensures that all threads sharing the pmap have a consistent view of the mapping. This fixes

svn commit: r336293 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip

2018-07-14 Thread Michael Tuexen
Author: tuexen Date: Sat Jul 14 19:53:41 2018 New Revision: 336293 URL: https://svnweb.freebsd.org/changeset/base/336293 Log: Return the intended return code. This bug was spotted by markj@ in D16268 because I copied this code part and used it there. So fix it. Sponsored by:

svn commit: r336292 - in head/sys/fs: nfs nfsclient

2018-07-14 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 14 19:51:44 2018 New Revision: 336292 URL: https://svnweb.freebsd.org/changeset/base/336292 Log: Fix the pNFS client when mirrors aren't on the same machine. Without this patch, the client side NFSv4.1 pNFS code erroneously did writes and commits to both DS

svn commit: r336291 - head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/ip

2018-07-14 Thread Michael Tuexen
Author: tuexen Date: Sat Jul 14 19:49:14 2018 New Revision: 336291 URL: https://svnweb.freebsd.org/changeset/base/336291 Log: Fix shebangs and execute bit of test scripts. Since we don't have /usr/bin/ksh, use a generic way of specifying ksh. Some of the tests only run with ksh93, so use

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

2018-07-14 Thread Alan Cox
Author: alc Date: Sat Jul 14 19:35:41 2018 New Revision: 336290 URL: https://svnweb.freebsd.org/changeset/base/336290 Log: Correct some typos. Reviewed by: kib Modified: head/sys/i386/include/vmparam.h Modified: head/sys/i386/include/vmparam.h

Re: svn commit: r336284 - in head/sys: modules/mac_veriexec_rmd160 security/mac_veriexec

2018-07-14 Thread Conrad Meyer
Thanks! On Sat, Jul 14, 2018 at 9:59 AM Stephen J. Kiernan wrote: > Author: stevek > Date: Sat Jul 14 16:59:17 2018 > New Revision: 336284 > URL: https://svnweb.freebsd.org/changeset/base/336284 > > Log: > Remove RIPEMD-160 fingerprint modules for veriexec, since it has very > little

Re: svn commit: r336289 - head/sys/security/mac_veriexec

2018-07-14 Thread Shawn Webb
Hey Stephen, On Sat, Jul 14, 2018 at 05:21:17PM +, Stephen J. Kiernan wrote: > Author: stevek > Date: Sat Jul 14 17:21:16 2018 > New Revision: 336289 > URL: https://svnweb.freebsd.org/changeset/base/336289 > > Log: > Add mpo_vnode_check_setmode MAC method to MAC/veriexec. > In the

Re: svn commit: r336282 - head/sys/netinet

2018-07-14 Thread John Baldwin
On 7/14/18 9:57 AM, Sean Bruno wrote: > > > On 07/14/18 10:37, John Baldwin wrote: >> On 7/14/18 9:19 AM, Sean Bruno wrote: >>> Author: sbruno >>> Date: Sat Jul 14 16:19:46 2018 >>> New Revision: 336282 >>> URL: https://svnweb.freebsd.org/changeset/base/336282 >>> >>> Log: >>> Fixup memory

svn commit: r336289 - head/sys/security/mac_veriexec

2018-07-14 Thread Stephen J. Kiernan
Author: stevek Date: Sat Jul 14 17:21:16 2018 New Revision: 336289 URL: https://svnweb.freebsd.org/changeset/base/336289 Log: Add mpo_vnode_check_setmode MAC method to MAC/veriexec. In the method, disallow changing SUID/SGID on verified files. Obtained from:Juniper Networks, Inc.

svn commit: r336288 - in head/sys: i386/i386 i386/include vm

2018-07-14 Thread Alan Cox
Author: alc Date: Sat Jul 14 17:20:27 2018 New Revision: 336288 URL: https://svnweb.freebsd.org/changeset/base/336288 Log: Add support for pmap_enter(..., psind=1) to the i386 pmap. In other words, add support for explicitly requesting that pmap_enter() create a 2 or 4 MB page mapping.

svn commit: r336287 - head/sys/conf

2018-07-14 Thread Stephen J. Kiernan
Author: stevek Date: Sat Jul 14 17:18:17 2018 New Revision: 336287 URL: https://svnweb.freebsd.org/changeset/base/336287 Log: Add config(8) options that can be used to enable building MAC/veriexec and its fingerprint modules into a kernel. Reviewed by: sjg Modified:

svn commit: r336286 - head/sys/security/mac_veriexec

2018-07-14 Thread Stephen J. Kiernan
Author: stevek Date: Sat Jul 14 17:15:28 2018 New Revision: 336286 URL: https://svnweb.freebsd.org/changeset/base/336286 Log: Fix a typo which could cause a build breakage when building with MAC/veriexec enabled in the kernel config. Remove unused mac_veriexec_print_db prototype in

svn commit: r336285 - head/cddl/lib/libdtrace

2018-07-14 Thread Michael Tuexen
Author: tuexen Date: Sat Jul 14 17:12:04 2018 New Revision: 336285 URL: https://svnweb.freebsd.org/changeset/base/336285 Log: Add support for TCP state names used by Solaris. For compatibility, add the TCP state names used by Solaris and given in the Dtrace Guide available at

svn commit: r336284 - in head/sys: modules/mac_veriexec_rmd160 security/mac_veriexec

2018-07-14 Thread Stephen J. Kiernan
Author: stevek Date: Sat Jul 14 16:59:17 2018 New Revision: 336284 URL: https://svnweb.freebsd.org/changeset/base/336284 Log: Remove RIPEMD-160 fingerprint modules for veriexec, since it has very little practical use and would not be recommended for anyone to use in a production

Re: svn commit: r336282 - head/sys/netinet

2018-07-14 Thread Sean Bruno
On 07/14/18 10:37, John Baldwin wrote: > On 7/14/18 9:19 AM, Sean Bruno wrote: >> Author: sbruno >> Date: Sat Jul 14 16:19:46 2018 >> New Revision: 336282 >> URL: https://svnweb.freebsd.org/changeset/base/336282 >> >> Log: >> Fixup memory management for fetching options in ip_ctloutput() >>

Re: svn commit: r336282 - head/sys/netinet

2018-07-14 Thread John Baldwin
On 7/14/18 9:19 AM, Sean Bruno wrote: > Author: sbruno > Date: Sat Jul 14 16:19:46 2018 > New Revision: 336282 > URL: https://svnweb.freebsd.org/changeset/base/336282 > > Log: > Fixup memory management for fetching options in ip_ctloutput() > > Submitted by: Jason Eggleston >

svn commit: r336283 - head/sys/arm/arm

2018-07-14 Thread Ian Lepore
Author: ian Date: Sat Jul 14 16:33:11 2018 New Revision: 336283 URL: https://svnweb.freebsd.org/changeset/base/336283 Log: Eliminate an unused var warning-error; the var is used only when parsing linux-style boot args, so wrap it in the appropriate ifdef. Modified:

svn commit: r336282 - head/sys/netinet

2018-07-14 Thread Sean Bruno
Author: sbruno Date: Sat Jul 14 16:19:46 2018 New Revision: 336282 URL: https://svnweb.freebsd.org/changeset/base/336282 Log: Fixup memory management for fetching options in ip_ctloutput() Submitted by: Jason Eggleston Sponsored by: Limelight Networks Differential Revision:

svn commit: r336281 - head/sys/dev/vnic

2018-07-14 Thread Mark Johnston
Author: markj Date: Sat Jul 14 16:06:53 2018 New Revision: 336281 URL: https://svnweb.freebsd.org/changeset/base/336281 Log: Fix vnic fallback PHY name matching after r334880. In some cases it seems that the PHY mode can only be identified by matching against the corresponding device

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

2018-07-14 Thread Conrad Meyer
Author: cem Date: Sat Jul 14 15:45:11 2018 New Revision: 336280 URL: https://svnweb.freebsd.org/changeset/base/336280 Log: ffs_syncvnode: Remove unhelpful print It can occur during ordinary use of softupdates, or perhaps if writes to the underlying media fail (causing bufs to be

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

2018-07-14 Thread Kristof Provost
Author: kp Date: Sat Jul 14 10:14:59 2018 New Revision: 336275 URL: https://svnweb.freebsd.org/changeset/base/336275 Log: pf: Fix synproxy Synproxy was accidentally broken by r335569. The 'return (action)' must be executed for every non-PF_PASS result, but the error packet (TCP RST or

svn commit: r336274 - head/lib/libc/regex

2018-07-14 Thread Toomas Soome
Author: tsoome Date: Sat Jul 14 09:29:45 2018 New Revision: 336274 URL: https://svnweb.freebsd.org/changeset/base/336274 Log: regex/engine.c: error: variable 'dp' set but not used The issue found with gcc6 build (originally on illumos, confirmed on FreeBSD). Mark it __unused.

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

2018-07-14 Thread Kristof Provost
Author: kp Date: Sat Jul 14 09:11:32 2018 New Revision: 336273 URL: https://svnweb.freebsd.org/changeset/base/336273 Log: pf: Fix panic on vnet jail shutdown with synproxy When shutting down a vnet jail pf_shutdown() clears the remaining states, which through pf_clear_states() calls

svn commit: r336272 - head/stand/efi/loader

2018-07-14 Thread Warner Losh
Author: imp Date: Sat Jul 14 06:43:37 2018 New Revision: 336272 URL: https://svnweb.freebsd.org/changeset/base/336272 Log: Minor adjustments: o Fix the parsing of the device path. a last minute change terminated it too soon. o Kill setting LINES. We don't need to do it, and even if