svn commit: r352952 - in head: sys/kern tests/sys/posixshm

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 02:37:34 2019 New Revision: 352952 URL: https://svnweb.freebsd.org/changeset/base/352952 Log: shm_open2(2): completely unbreak kern_shm_open2(), since conception, completely fails to pass the mode along to kern_shm_open(). This breaks most uses of it.

Re: svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Warner Losh
On Tue, Oct 1, 2019, 2:34 PM Emmanuel Vadot wrote: > On Tue, 01 Oct 2019 14:29:58 -0600 > Ian Lepore wrote: > > > On Tue, 2019-10-01 at 20:21 +, Emmanuel Vadot wrote: > > > Author: manu > > > Date: Tue Oct 1 20:21:49 2019 > > > New Revision: 352940 > > > URL:

Re: svn commit: r352925 - head/sys/dev/xen/control

2019-10-01 Thread Ravi Pokala
Hi Roger, If I'm understanding this diff correctly, all of (poweroff, reboot, suspend) will use the common string "shutdown", rather than an event-specific string. Is that what we want? Thanks, Ravi (rpokala@) -Original Message- From: on behalf of Roger Pau Monné Date:

svn commit: r352951 - head/secure/caroot

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:27:50 2019 New Revision: 352951 URL: https://svnweb.freebsd.org/changeset/base/352951 Log: caroot: add @generated tags to extracted .pem As is the current trend; while these files are manually curated, they are still generated. If they end up in a

svn commit: r352950 - in head/usr.sbin: etcupdate mergemaster

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:06:37 2019 New Revision: 352950 URL: https://svnweb.freebsd.org/changeset/base/352950 Log: [3/3] etcupdate and mergemaster support for certctl This commit add support for certctl in mergemaster and etcupdate. Both will either rehash or prompt for rehash

svn commit: r352949 - in head/usr.sbin: . certctl

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:05:53 2019 New Revision: 352949 URL: https://svnweb.freebsd.org/changeset/base/352949 Log: [2/3] Add certctl(8) This is a simple utility to hash all trusted on the system into /etc/ssl/certs. It also allows the user to blacklist certificates they do

svn commit: r352948 - in head: etc/mtree secure secure/caroot secure/caroot/blacklisted secure/caroot/trusted share/mk

2019-10-01 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 01:05:29 2019 New Revision: 352948 URL: https://svnweb.freebsd.org/changeset/base/352948 Log: [1/3] Initial infrastructure for SSL root bundle in base This setup will add the trusted certificates from the Mozilla NSS bundle to base. This commit

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

2019-10-01 Thread Kirk McKusick
Author: mckusick Date: Tue Oct 1 23:28:22 2019 New Revision: 352947 URL: https://svnweb.freebsd.org/changeset/base/352947 Log: MFC of 352453 Check bread_gb() return value in cluster_collectbufs() code. Modified: stable/11/sys/kern/vfs_cluster.c Directory Properties: stable/11/

svn commit: r352946 - stable/12/sys/kern

2019-10-01 Thread Kirk McKusick
Author: mckusick Date: Tue Oct 1 23:26:52 2019 New Revision: 352946 URL: https://svnweb.freebsd.org/changeset/base/352946 Log: MFC of 352453 Check bread_gb() return value in cluster_collectbufs() code. Modified: stable/12/sys/kern/vfs_cluster.c Directory Properties: stable/12/

svn commit: r352944 - head/sys/dev/usb/controller

2019-10-01 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 1 22:20:03 2019 New Revision: 352944 URL: https://svnweb.freebsd.org/changeset/base/352944 Log: generic_ehci: Enable all phys and resets The number of phys and resets is not defined and it controller dependent so enable/disable every one of them. Modified:

svn commit: r352943 - head/sys/arm/allwinner

2019-10-01 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 1 22:19:12 2019 New Revision: 352943 URL: https://svnweb.freebsd.org/changeset/base/352943 Log: arm: allwinner: a10_ehci: Enable all phys Even if there should be only one phy enable all the ones declared in the dts just to be sure. Modified:

Re: svn commit: r351934 - in head/sys: netinet netinet/tcp_stacks sys

2019-10-01 Thread Brad Davis
On Fri, Sep 6, 2019, at 8:25 AM, Randall Stewart wrote: > Author: rrs > Date: Fri Sep 6 14:25:41 2019 > New Revision: 351934 > URL: https://svnweb.freebsd.org/changeset/base/351934 > > Log: > This adds the final tweaks to LRO that will now allow me > to add BBR. These changes make it so you

Re: svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Emmanuel Vadot
On Tue, 01 Oct 2019 14:29:58 -0600 Ian Lepore wrote: > On Tue, 2019-10-01 at 20:21 +, Emmanuel Vadot wrote: > > Author: manu > > Date: Tue Oct 1 20:21:49 2019 > > New Revision: 352940 > > URL: https://svnweb.freebsd.org/changeset/base/352940 > > > > Log: > > generic_ohci: Look for the

svn commit: r352942 - head/share/mk

2019-10-01 Thread Simon J. Gerraty
Author: sjg Date: Tue Oct 1 20:32:03 2019 New Revision: 352942 URL: https://svnweb.freebsd.org/changeset/base/352942 Log: Need to use ${${_${group}DIR_${file}}} for STAGE_DIR STAGE_DIR.${${_${group}DIR_${file}}:C,[/*],_,g} was getting ${STAGE_OBJTOP}BINDIR rather than

Re: svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Ian Lepore
On Tue, 2019-10-01 at 20:21 +, Emmanuel Vadot wrote: > Author: manu > Date: Tue Oct 1 20:21:49 2019 > New Revision: 352940 > URL: https://svnweb.freebsd.org/changeset/base/352940 > > Log: > generic_ohci: Look for the phy based on the id > > phy-names was never in the bindings schema

svn commit: r352941 - head/sys/arm/allwinner

2019-10-01 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 1 20:22:54 2019 New Revision: 352941 URL: https://svnweb.freebsd.org/changeset/base/352941 Log: arm: allwinner: a10_ehci: Look for the phy based on the id phy-names was never in the bindings schema even if it was present in some DTS. Get the optional phy

svn commit: r352940 - head/sys/dev/usb/controller

2019-10-01 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 1 20:21:49 2019 New Revision: 352940 URL: https://svnweb.freebsd.org/changeset/base/352940 Log: generic_ohci: Look for the phy based on the id phy-names was never in the bindings schema even if it was present in some DTS. Get the optional phy based on its ID.

svn commit: r352939 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2019-10-01 Thread Alexander Motin
Author: mav Date: Tue Oct 1 20:09:25 2019 New Revision: 352939 URL: https://svnweb.freebsd.org/changeset/base/352939 Log: Improve latency of synchronous 128KB writes. Before my ZIL space optimization few years ago 128KB writes were logged as two 64KB+ records in two 128KB log blocks.

Re: svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Ian Lepore
On Tue, 2019-10-01 at 22:49 +0300, Konstantin Belousov wrote: > On Tue, Oct 01, 2019 at 07:39:00PM +, Ian Lepore wrote: > > Author: ian > > Date: Tue Oct 1 19:39:00 2019 > > New Revision: 352938 > > URL: https://svnweb.freebsd.org/changeset/base/352938 > > > > Log: > > Add 8 and 16 bit

Re: svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Konstantin Belousov
On Tue, Oct 01, 2019 at 07:39:00PM +, Ian Lepore wrote: > Author: ian > Date: Tue Oct 1 19:39:00 2019 > New Revision: 352938 > URL: https://svnweb.freebsd.org/changeset/base/352938 > > Log: > Add 8 and 16 bit versions of atomic_cmpset and atomic_fcmpset for arm. > > This adds 8 and 16

svn commit: r352938 - head/sys/arm/include

2019-10-01 Thread Ian Lepore
Author: ian Date: Tue Oct 1 19:39:00 2019 New Revision: 352938 URL: https://svnweb.freebsd.org/changeset/base/352938 Log: Add 8 and 16 bit versions of atomic_cmpset and atomic_fcmpset for arm. This adds 8 and 16 bit versions of the cmpset and fcmpset functions. Macros are used to

svn commit: r352937 - head/sys/dev/iicbus

2019-10-01 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 1 18:32:27 2019 New Revision: 352937 URL: https://svnweb.freebsd.org/changeset/base/352937 Log: syr827: Switch to iicdev_{readfrom,writeto} Also use IIC_INTRWAIT as we need this to work with the rockchip i2c driver. Modified: head/sys/dev/iicbus/syr827.c

svn commit: r352936 - head/sys/arm64/rockchip

2019-10-01 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 1 18:30:06 2019 New Revision: 352936 URL: https://svnweb.freebsd.org/changeset/base/352936 Log: arm64: rockchip: rk805: Switch to iicdev_{readfrom,writeto} This simpify the code a bit. Modified: head/sys/arm64/rockchip/rk805.c Modified:

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Ed Maste
On Tue, 1 Oct 2019 at 14:13, Brooks Davis wrote: > > Also ioctl. I didn't handle the *sys() ones since they are internal only. Ah, yes - I didn't notice ioctl because syscalls.master lacked a XXX or ... comment. ___ svn-src-all@freebsd.org mailing

svn commit: r352935 - in head/usr.sbin: . httpd simple_httpd

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 18:14:37 2019 New Revision: 352935 URL: https://svnweb.freebsd.org/changeset/base/352935 Log: Move httpd to simple_httpd... This avoids PATH conflicts with a real httpd, as a user will likely almost always prefer the more fully-featured httpd. This also

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Brooks Davis
On Tue, Oct 01, 2019 at 01:08:27PM -0400, Ed Maste wrote: > On Tue, 1 Oct 2019 at 12:23, Brooks Davis wrote: > > > > This isn't true with CHERI and as a result I've moved the variadic > > argument handling (except for syscall() and __syscall()) into libc. > > My grep found: open, openat, fcntl,

svn commit: r352932 - releng/12.1/cddl/contrib/opensolaris/lib/libzfs/common

2019-10-01 Thread Sean Eric Fagan
Author: sef Date: Tue Oct 1 18:05:51 2019 New Revision: 352932 URL: https://svnweb.freebsd.org/changeset/base/352932 Log: Fix a regression introduced in r344601, and work properly with the -v and -n options. PR: 240640 Reported by: Andriy Gapon Reviewed by: avg

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Ed Maste
On Tue, 1 Oct 2019 at 12:23, Brooks Davis wrote: > > This isn't true with CHERI and as a result I've moved the variadic > argument handling (except for syscall() and __syscall()) into libc. My grep found: open, openat, fcntl, semsys, msgsys, shmsys Is that the full list?

svn commit: r352931 - head/sys/kern

2019-10-01 Thread Ed Maste
Author: emaste Date: Tue Oct 1 17:05:21 2019 New Revision: 352931 URL: https://svnweb.freebsd.org/changeset/base/352931 Log: sysalls.master: remove superfluous ellipsis in comment A single period is sufficient in this comment, and making this change lets us find references to varargs

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Konstantin Belousov
On Tue, Oct 01, 2019 at 04:23:05PM +, Brooks Davis wrote: > On Sat, Sep 28, 2019 at 10:25:48AM +0300, Konstantin Belousov wrote: > > On Fri, Sep 27, 2019 at 03:19:59PM -0600, Warner Losh wrote: > > > On Fri, Sep 27, 2019 at 2:38 PM Mateusz Guzik wrote: > > > > > > > On 9/27/19, Konstantin

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-01 Thread Brooks Davis
On Sat, Sep 28, 2019 at 10:25:48AM +0300, Konstantin Belousov wrote: > On Fri, Sep 27, 2019 at 03:19:59PM -0600, Warner Losh wrote: > > On Fri, Sep 27, 2019 at 2:38 PM Mateusz Guzik wrote: > > > > > On 9/27/19, Konstantin Belousov wrote: > > > > On Fri, Sep 27, 2019 at 08:32:20PM +0200, Mateusz

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

2019-10-01 Thread Alan Cox
Author: alc Date: Tue Oct 1 15:33:47 2019 New Revision: 352930 URL: https://svnweb.freebsd.org/changeset/base/352930 Log: In short, pmap_enter_quick_locked("user space", ..., VM_PROT_READ) doesn't work. More precisely, it doesn't set ATTR_AP(ATTR_AP_USER) in the page table entry, so any

svn commit: r352929 - head

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 15:10:35 2019 New Revision: 352929 URL: https://svnweb.freebsd.org/changeset/base/352929 Log: Add a top-level makeman target Abstracting away the details of how src.conf(5) is generated is arguably a good thing; do so with a top-level makeman target.

svn commit: r352928 - head/share/man/man5

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 14:56:31 2019 New Revision: 352928 URL: https://svnweb.freebsd.org/changeset/base/352928 Log: Regen src.conf(5) after r352927 (HTTPD option added) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r352927 - in head: release/picobsd/tinyware/simple_httpd share/mk tools/build/options usr.sbin usr.sbin/httpd

2019-10-01 Thread Kyle Evans
Author: kevans Date: Tue Oct 1 14:55:16 2019 New Revision: 352927 URL: https://svnweb.freebsd.org/changeset/base/352927 Log: Move simple_httpd out of picobsd, add HTTPD option (default OFF) picobsd/tinyware has had this compact HTTPD server for a long time, and some people do use it.

svn commit: r352926 - head/sys/conf

2019-10-01 Thread Ryan Stone
Author: rstone Date: Tue Oct 1 13:36:01 2019 New Revision: 352926 URL: https://svnweb.freebsd.org/changeset/base/352926 Log: Clean up duplicate entries in sys/conf/files Reviewed by: imp Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r352925 - head/sys/dev/xen/control

2019-10-01 Thread Roger Pau Monné
Author: royger Date: Tue Oct 1 08:21:41 2019 New Revision: 352925 URL: https://svnweb.freebsd.org/changeset/base/352925 Log: xen/ctrl: acknowledge all control requests Currently only suspend requests are acknowledged by writing an empty string back to the xenstore control node, but