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

2018-11-01 Thread Conrad Meyer
On Thu, Nov 1, 2018 at 5:46 PM Konstantin Belousov wrote: > > On Thu, Nov 01, 2018 at 11:46:23PM +, Conrad Meyer wrote: > > ... > > @@ -232,7 +232,15 @@ points outside the process's allocated address space. > > A signal was delivered before the time limit expired and > > before any of the

svn commit: r340040 - head/stand/lua

2018-11-01 Thread Kyle Evans
Author: kevans Date: Fri Nov 2 03:25:23 2018 New Revision: 340040 URL: https://svnweb.freebsd.org/changeset/base/340040 Log: lualoader: Implement boot-conf MFC after:3 days Modified: head/stand/lua/cli.lua head/stand/lua/cli.lua.8 Modified: head/stand/lua/cli.lua

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-11-01 Thread Mark Millard via svn-src-head
On 2018-Nov-1, at 5:41 PM, Konstantin Belousov wrote: > On Tue, Oct 30, 2018 at 12:45:13PM -0700, Mark Millard wrote: >> Konstantin Belousov kostikbel at gmail.com wrote on >> Tue Oct 30 18:04:04 UTC 2018 : >> >>> On Tue, Oct 30, 2018 at 03:32:40PM +, Alexander Richardson wrote: On

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

2018-11-01 Thread Konstantin Belousov
On Thu, Nov 01, 2018 at 11:46:23PM +, Conrad Meyer wrote: > Author: cem > Date: Thu Nov 1 23:46:23 2018 > New Revision: 340038 > URL: https://svnweb.freebsd.org/changeset/base/340038 > > Log: > kern_poll: Restore explanatory comment removed in r177374 > > The comment isn't stale. The

Re: svn commit: r339876 - head/libexec/rtld-elf

2018-11-01 Thread Konstantin Belousov
On Tue, Oct 30, 2018 at 12:45:13PM -0700, Mark Millard wrote: > Konstantin Belousov kostikbel at gmail.com wrote on > Tue Oct 30 18:04:04 UTC 2018 : > > > On Tue, Oct 30, 2018 at 03:32:40PM +, Alexander Richardson wrote: > > > On Tue, 30 Oct 2018 at 10:17, Michael Tuexen > > > wrote: > > > >

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

2018-11-01 Thread Conrad Meyer
Author: cem Date: Thu Nov 1 23:46:23 2018 New Revision: 340038 URL: https://svnweb.freebsd.org/changeset/base/340038 Log: kern_poll: Restore explanatory comment removed in r177374 The comment isn't stale. The check is bogus in the sense that poll(2) does not require pollfd entries to

svn commit: r340037 - in head/contrib/unbound: . util

2018-11-01 Thread Dag-Erling Smørgrav
Author: des Date: Thu Nov 1 23:42:35 2018 New Revision: 340037 URL: https://svnweb.freebsd.org/changeset/base/340037 Log: Merge upstream r4932: turn so-reuseport option off by default. MFC after:3 days Modified: head/contrib/unbound/config.h head/contrib/unbound/config.h.in

svn commit: r340036 - in head/sys: conf modules/bios/smapi

2018-11-01 Thread Ed Maste
Author: emaste Date: Thu Nov 1 23:11:47 2018 New Revision: 340036 URL: https://svnweb.freebsd.org/changeset/base/340036 Log: Retire CLANG_NO_IAS34 CLANG_NO_IAS34 was introduced in r276696 to allow then-HEAD kernels to be built with clang 3.4 in FreeBSD 10. As FreeBSD 11 and later

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

2018-11-01 Thread Brooks Davis
Author: brooks Date: Thu Nov 1 23:10:53 2018 New Revision: 340035 URL: https://svnweb.freebsd.org/changeset/base/340035 Log: Regent after r340034: Use mode_t when the documented signature does. Sponsored by: DARPA, AFRL Differential Revision:https://reviews.freebsd.org/D17784

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

2018-11-01 Thread Brooks Davis
Author: brooks Date: Thu Nov 1 23:06:50 2018 New Revision: 340034 URL: https://svnweb.freebsd.org/changeset/base/340034 Log: Use mode_t when the documented signature does. This is more clear and produces better results when generating function stubs from syscalls.master. Reviewed

svn commit: r340033 - head/share/man/man9

2018-11-01 Thread Ed Maste
Author: emaste Date: Thu Nov 1 23:01:24 2018 New Revision: 340033 URL: https://svnweb.freebsd.org/changeset/base/340033 Log: style: remove "All rights reserved" from comment imp removed it from the template in r91, so remove it from the example license header in style.9 as well.

svn commit: r340032 - head/contrib/smbfs/smbutil

2018-11-01 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Thu Nov 1 22:54:52 2018 New Revision: 340032 URL: https://svnweb.freebsd.org/changeset/base/340032 Log: smbutil(1): Reference nsmb.conf(5) and mount_smbfs(8) Reviewed by: bcr Approved by:krion (mentor, implicit), mat (mentor, implicit) MFC

svn commit: r340031 - head/contrib/smbfs/mount_smbfs

2018-11-01 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Thu Nov 1 22:50:50 2018 New Revision: 340031 URL: https://svnweb.freebsd.org/changeset/base/340031 Log: mount_smbfs(8): Mention /etc/nsmb.conf, smbutil(1) and nsmb.conf(5) Reviewed by: bcr Approved by: krion (mentor, implicit), mat (mentor,

svn commit: r340030 - in head/sys/riscv: include riscv

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 22:23:15 2018 New Revision: 340030 URL: https://svnweb.freebsd.org/changeset/base/340030 Log: Restrict setting PTE execute permissions on RISC-V. Previously, RISC-V was enabling execute permissions in PTEs for any readable page. Now, execute permissions are

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 22:17:51 2018 New Revision: 340029 URL: https://svnweb.freebsd.org/changeset/base/340029 Log: Set PTE_A and PTE_D for user mappings in pmap_enter(). This assumes that an access according to the prot in 'flags' triggered a fault and is going to be retried

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 22:15:25 2018 New Revision: 340028 URL: https://svnweb.freebsd.org/changeset/base/340028 Log: SBI calls expect a pointer to a u_long rather than a pointer. This is just cosmetic. A weirder issue is that the SBI doc claims the hart mask pointer should be

svn commit: r340026 - head/stand/libsa

2018-11-01 Thread Toomas Soome
Author: tsoome Date: Thu Nov 1 22:13:18 2018 New Revision: 340026 URL: https://svnweb.freebsd.org/changeset/base/340026 Log: libsa: cstyle cleanup tftp.c No functinal changes intended. Modified: head/stand/libsa/tftp.c Modified: head/stand/libsa/tftp.c

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 22:13:22 2018 New Revision: 340027 URL: https://svnweb.freebsd.org/changeset/base/340027 Log: Don't allow debuggers to modify SSTATUS, only to read it. Reviewed by: markj Sponsored by: DARPA Differential Revision:https://reviews.freebsd.org/D17771

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 22:11:26 2018 New Revision: 340025 URL: https://svnweb.freebsd.org/changeset/base/340025 Log: Implement ptrace_set_pc() and fail PT_*STEP requests explicitly. Reviewed by: markj Sponsored by: DARPA Differential Revision:

svn commit: r340024 - in head/sys/cam: . scsi

2018-11-01 Thread Warner Losh
Author: imp Date: Thu Nov 1 21:51:41 2018 New Revision: 340024 URL: https://svnweb.freebsd.org/changeset/base/340024 Log: Add comments explaining what hold/unhold do They act as a simple one-deep semaphore to keep open/close/probe from running at the same time to avoid races that

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 21:49:49 2018 New Revision: 340023 URL: https://svnweb.freebsd.org/changeset/base/340023 Log: Check cannot_use_txpkts() rather than needs_tso() in add_to_txpkts(). Currently this is a no-op, but will matter in the future when cannot_use_txpkts() starts

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 21:46:37 2018 New Revision: 340022 URL: https://svnweb.freebsd.org/changeset/base/340022 Log: Add support for port unit wiring to cxgbe(4). - Add a bus_child_location_str method to the nexus drivers that prints out 'port=N' as the location string exported

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

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 21:39:33 2018 New Revision: 340021 URL: https://svnweb.freebsd.org/changeset/base/340021 Log: Assert that reclaim_tx_descs() is always making forward progress. MFC after:2 months Sponsored by: Chelsio Communications Modified:

svn commit: r340020 - in head/sys: amd64/amd64 arm/arm arm64/arm64 i386/i386 kern mips/mips powerpc/powerpc sys

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 21:34:17 2018 New Revision: 340020 URL: https://svnweb.freebsd.org/changeset/base/340020 Log: Don't enter DDB for fatal traps before panic by default. Add a new 'debugger_on_trap' knob separate from 'debugger_on_panic' and make the calls to kdb_trap() in MD

svn commit: r340018 - head/tools/tools/crypto

2018-11-01 Thread John Baldwin
Author: jhb Date: Thu Nov 1 21:25:26 2018 New Revision: 340018 URL: https://svnweb.freebsd.org/changeset/base/340018 Log: Compile cryptocheck with in-tree openssl again. Reviewed by: cem MFC after:2 months Sponsored by: Chelsio Communications Differential Revision:

Re: svn commit: r339971 - in head: libexec/rc share/man/man5 share/man/man8

2018-11-01 Thread Devin Teske
> On Nov 1, 2018, at 11:33 AM, Oliver Pinter > wrote: > > > > On Wednesday, October 31, 2018, Devin Teske > wrote: > Author: dteske > Date: Wed Oct 31 20:37:12 2018 > New Revision: 339971 > URL: https://svnweb.freebsd.org/changeset/base/339971 >

Re: svn commit: r339898 - head/lib/libc/amd64/sys

2018-11-01 Thread Charlie Li
On 01/11/2018 12:04, Brooks Davis wrote: > Is this failure with devel/llvm70? It's currently missing the patch > required to make this work. https://reviews.freebsd.org/D17709 contains > this patch among others. I'll see about getting it applied. > Yes, devel/llvm70. Will build with your port

Re: svn commit: r339971 - in head: libexec/rc share/man/man5 share/man/man8

2018-11-01 Thread Oliver Pinter
On Wednesday, October 31, 2018, Devin Teske wrote: > Author: dteske > Date: Wed Oct 31 20:37:12 2018 > New Revision: 339971 > URL: https://svnweb.freebsd.org/changeset/base/339971 > > Log: > Add new rc keywords: enable, disable, delete > > This adds new keywords to rc/service to

svn commit: r340015 - head/usr.sbin/nscd

2018-11-01 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Nov 1 18:19:10 2018 New Revision: 340015 URL: https://svnweb.freebsd.org/changeset/base/340015 Log: Unbreak nscd(8). Without this change the CMSG gets truncated. Reviewed by: des MFC after:2 weeks Sponsored by: Chalmers University of Technology

svn commit: r340014 - head/bin/getfacl

2018-11-01 Thread Mark Johnston
Author: markj Date: Thu Nov 1 17:45:29 2018 New Revision: 340014 URL: https://svnweb.freebsd.org/changeset/base/340014 Log: Avoid copying a struct stat for acl_from_stat() calls. CID: 1375584 MFC after:2 weeks Modified: head/bin/getfacl/getfacl.c Modified:

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

2018-11-01 Thread Andrew Turner
Author: andrew Date: Thu Nov 1 17:43:28 2018 New Revision: 340013 URL: https://svnweb.freebsd.org/changeset/base/340013 Log: Add the ARMv8.3 SCTLR_EL1 fields. While here tag which architecture release fields were added and remove a field that only existed in very early releases of the

svn commit: r340010 - head/sys/dev/ixl

2018-11-01 Thread Eric Joyner
Author: erj Date: Thu Nov 1 17:29:14 2018 New Revision: 340010 URL: https://svnweb.freebsd.org/changeset/base/340010 Log: ixl/iavf(4): Update remaining references of "num_queues" to "num_rx_queues" This should fix a build issue when "options RSS" is set. Reported by: bz@ Sponsored

svn commit: r340009 - head/sys/netinet

2018-11-01 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 1 17:26:18 2018 New Revision: 340009 URL: https://svnweb.freebsd.org/changeset/base/340009 Log: carpstats are the last virtualised variable in the file and end up at the end of the vnet_set. The generated code uses an absolute relocation at one byte beyond the end

svn commit: r340008 - head/sys/arm64/include

2018-11-01 Thread Andrew Turner
Author: andrew Date: Thu Nov 1 17:05:10 2018 New Revision: 340008 URL: https://svnweb.freebsd.org/changeset/base/340008 Log: Add the ARMv8.3 HCR_EL2 register fields. MFC after:1 month Sponsored by: DARPA, AFRL Modified: head/sys/arm64/include/hypervisor.h Modified:

Re: svn commit: r339971 - in head: libexec/rc share/man/man5 share/man/man8

2018-11-01 Thread Devin Teske
> On 31 Oct 2018, at 11:06 PM, Alex Kozlov wrote: > >> On Wed, Oct 31, 2018 at 08:37:12PM +, Devin Teske wrote: >> Author: dteske >> Date: Wed Oct 31 20:37:12 2018 >> New Revision: 339971 >> URL: https://svnweb.freebsd.org/changeset/base/339971 >> >> Log: >> Add new rc keywords: enable,

Re: svn commit: r339898 - head/lib/libc/amd64/sys

2018-11-01 Thread Brooks Davis
On Thu, Nov 01, 2018 at 08:57:24AM -0400, Charlie Li wrote: > On 29/10/2018 20:11, Konstantin Belousov wrote: > > Author: kib > > Date: Tue Oct 30 00:11:30 2018 > > New Revision: 339898 > > URL: https://svnweb.freebsd.org/changeset/base/339898 > > > > Log: > > Convert amd64_get/set_fs/gsbase to

svn commit: r340005 - in head/sys: netinet netinet6

2018-11-01 Thread Mark Johnston
Author: markj Date: Thu Nov 1 15:52:49 2018 New Revision: 340005 URL: https://svnweb.freebsd.org/changeset/base/340005 Log: Remove redundant checks for a NULL lbgroup table. No functional change intended. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential

svn commit: r340004 - head/sys/netinet

2018-11-01 Thread Mark Johnston
Author: markj Date: Thu Nov 1 15:51:49 2018 New Revision: 340004 URL: https://svnweb.freebsd.org/changeset/base/340004 Log: Improve style in in_pcbinslbgrouphash() and related subroutines. No functional change intended. MFC after:2 weeks Sponsored by: The FreeBSD Foundation

svn commit: r340001 - head/share/man/man3

2018-11-01 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Thu Nov 1 15:40:57 2018 New Revision: 340001 URL: https://svnweb.freebsd.org/changeset/base/340001 Log: CMSG_DATA(3): Use consistent variable names The description of CMSG_FIRSTHDR used two variables (mhdr and msg) to reference the same thing. Use

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

2018-11-01 Thread Ben Widawsky
Author: bwidawsk Date: Thu Nov 1 15:30:01 2018 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: linuxkpi: Add GFP flags needed for ttm drivers Submitted by: Johannes Lundberg Requested by: bwidawsk MFC after:3 days Approved by: emaste (mentor)

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

2018-11-01 Thread Rick Macklem
Author: rmacklem Date: Thu Nov 1 15:27:22 2018 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: Fix NFS client vnode locking to avoid a crash during forced dismount. A crash was reported where the crash occurred in nfs_advlock() when the NFS_ISV4(vp) macro

svn commit: r339995 - head/libexec/rc/rc.d

2018-11-01 Thread Dag-Erling Smørgrav
Author: des Date: Thu Nov 1 14:24:12 2018 New Revision: 339995 URL: https://svnweb.freebsd.org/changeset/base/339995 Log: Run unbound-anchor when root.key is empty, not just when it is absent. PR: 232555 Submitted by: Ari Suutari MFC after:3 days Modified:

svn commit: r339994 - head/lib/libbe

2018-11-01 Thread Kyle Evans
Author: kevans Date: Thu Nov 1 14:00:56 2018 New Revision: 339994 URL: https://svnweb.freebsd.org/changeset/base/339994 Log: libbe(3): Don't promote non-cloned BEs Most easily reproducible by attempting to activate the currently activated BE, one would get a "not a cloned filesystem"

svn commit: r339993 - head/stand/libsa

2018-11-01 Thread Toomas Soome
Author: tsoome Date: Thu Nov 1 13:29:55 2018 New Revision: 339993 URL: https://svnweb.freebsd.org/changeset/base/339993 Log: libsa: tftp should use calloc instead of malloc() memset(), use calloc(). Modified: head/stand/libsa/tftp.c Modified: head/stand/libsa/tftp.c

svn commit: r339992 - head/stand/libsa

2018-11-01 Thread Toomas Soome
Author: tsoome Date: Thu Nov 1 13:12:05 2018 New Revision: 339992 URL: https://svnweb.freebsd.org/changeset/base/339992 Log: libsa: tftp should not read past file end When we have the file size via tsize option, use it to make sure we will not attempt to read past file end. Modified:

Re: svn commit: r339898 - head/lib/libc/amd64/sys

2018-11-01 Thread Charlie Li
On 29/10/2018 20:11, Konstantin Belousov wrote: > Author: kib > Date: Tue Oct 30 00:11:30 2018 > New Revision: 339898 > URL: https://svnweb.freebsd.org/changeset/base/339898 > > Log: > Convert amd64_get/set_fs/gsbase to ifunc. > > Note that this is the first use of ifuncs in our userspace.

svn commit: r339991 - head/sys/netinet

2018-11-01 Thread Michael Tuexen
Author: tuexen Date: Thu Nov 1 11:41:40 2018 New Revision: 339991 URL: https://svnweb.freebsd.org/changeset/base/339991 Log: Remove debug code which slipped in accidently. MFC after:4 weeks X-MFC with: r339989 Sponsored by: Netflix, Inc. Modified:

svn commit: r339990 - head/contrib/smbfs/mount_smbfs

2018-11-01 Thread Mateusz Piotrowski
Author: 0mp (ports committer) Date: Thu Nov 1 11:37:19 2018 New Revision: 339990 URL: https://svnweb.freebsd.org/changeset/base/339990 Log: mount_smbfs(8): Add the STANDARDS and HISTORY sections - Document that mount_smbfs(8) only supports SMB1 and that SMB2 and SMB3 are not supported

svn commit: r339989 - head/sys/netinet

2018-11-01 Thread Michael Tuexen
Author: tuexen Date: Thu Nov 1 11:35:28 2018 New Revision: 339989 URL: https://svnweb.freebsd.org/changeset/base/339989 Log: Improve a comment to refer to the actual sections in the TCP specification for the comparisons made. Thanks to lstewart@ for the suggestion. MFC after:

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

2018-11-01 Thread Andrew Turner
Author: andrew Date: Thu Nov 1 10:25:22 2018 New Revision: 339988 URL: https://svnweb.freebsd.org/changeset/base/339988 Log: Use the correct offsets for the trap frame in fork_trampoline. Sponsored by: DARPA, AFRL Modified: head/sys/arm64/arm64/swtch.S Modified:

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

2018-11-01 Thread Dag-Erling Smørgrav
Author: des Date: Thu Nov 1 08:17:27 2018 New Revision: 339985 URL: https://svnweb.freebsd.org/changeset/base/339985 Log: Fix markup issues and add references to updated RFCs. MFC after:3 days Modified: head/share/man/man4/icmp6.4 head/share/man/man4/ip6.4 Modified:

Re: svn commit: r339971 - in head: libexec/rc share/man/man5 share/man/man8

2018-11-01 Thread Alex Kozlov
On Wed, Oct 31, 2018 at 08:37:12PM +, Devin Teske wrote: > Author: dteske > Date: Wed Oct 31 20:37:12 2018 > New Revision: 339971 > URL: https://svnweb.freebsd.org/changeset/base/339971 > > Log: > Add new rc keywords: enable, disable, delete > > This adds new keywords to rc/service to