svn commit: r345463 - stable/12/share/examples/kld/dyn_sysctl

2019-03-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 23 23:44:40 2019 New Revision: 345463 URL: https://svnweb.freebsd.org/changeset/base/345463 Log: MFC r345220: Fix build for KLD dyn_sysctl example Looks like the example was broken by change of SYSCTL_STATIC_CHILDREN definition in r267992. Fix build by

svn commit: r345462 - stable/12/sys/dev/beri/virtio

2019-03-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 23 23:43:33 2019 New Revision: 345462 URL: https://svnweb.freebsd.org/changeset/base/345462 Log: MFC r343998: Fix off-by-one error in BERI virtio driver The hardcoded ident is exactly 20 bytes long but sprintf adds terminating zero, so there is one byte

svn commit: r345461 - head/sys/netinet

2019-03-23 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 23 22:56:03 2019 New Revision: 345461 URL: https://svnweb.freebsd.org/changeset/base/345461 Log: Limit the size of messages sent on 1-to-many style SCTP sockets with the SCTP_SENDALL flag. Allow also only one operation per SCTP endpoint. This fixes an issue

svn commit: r345460 - head/sys/netinet

2019-03-23 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 23 22:46:29 2019 New Revision: 345460 URL: https://svnweb.freebsd.org/changeset/base/345460 Log: Limit the number of bytes which can be queued for SCTP sockets. This is joint work with rrs@. Reported by:

svn commit: r345459 - stable/12/sys/compat/ndis

2019-03-23 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Mar 23 22:44:11 2019 New Revision: 345459 URL: https://svnweb.freebsd.org/changeset/base/345459 Log: MFC r343298: [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 amd64 miniport drivers are allowed to use FPU which triggers "Unregistered use of

svn commit: r345458 - in head: share/man/man4 sys/netinet

2019-03-23 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 23 21:36:59 2019 New Revision: 345458 URL: https://svnweb.freebsd.org/changeset/base/345458 Log: Add sysctl variable net.inet.tcp.rexmit_initial for setting RTO.Initial used by TCP. Reviewed by: rrs@, 0mp@ Sponsored by: Netflix, Inc.

svn commit: r345457 - in head: lib/libc/gen sys/kern

2019-03-23 Thread Ravi Pokala
Author: rpokala Date: Sat Mar 23 19:53:15 2019 New Revision: 345457 URL: https://svnweb.freebsd.org/changeset/base/345457 Log: Add descriptions for sysctls in kern_mib.c and sysctl.3 which lack them. r343532 noted the difference between "hw.realmem" and "hw.physmem", which I was

Re: svn commit: r345455 - head/sys/mips/conf

2019-03-23 Thread Warner Losh
On Sat, Mar 23, 2019 at 12:53 PM Konstantin Belousov wrote: > On Sat, Mar 23, 2019 at 06:32:24PM +, Warner Losh wrote: > > Author: imp > > Date: Sat Mar 23 18:32:24 2019 > > New Revision: 345455 > > URL: https://svnweb.freebsd.org/changeset/base/345455 > > > > Log: > > Add device xz. This

Re: svn commit: r345455 - head/sys/mips/conf

2019-03-23 Thread Konstantin Belousov
On Sat, Mar 23, 2019 at 06:32:24PM +, Warner Losh wrote: > Author: imp > Date: Sat Mar 23 18:32:24 2019 > New Revision: 345455 > URL: https://svnweb.freebsd.org/changeset/base/345455 > > Log: > Add device xz. This was somehow missed in the last round. Because the config has #NO_UNIVERSE

svn commit: r345456 - head/sys/mips/conf

2019-03-23 Thread Warner Losh
Author: imp Date: Sat Mar 23 18:32:28 2019 New Revision: 345456 URL: https://svnweb.freebsd.org/changeset/base/345456 Log: Remove duplicate options. Modified: head/sys/mips/conf/DIR-825C1 Modified: head/sys/mips/conf/DIR-825C1

svn commit: r345455 - head/sys/mips/conf

2019-03-23 Thread Warner Losh
Author: imp Date: Sat Mar 23 18:32:24 2019 New Revision: 345455 URL: https://svnweb.freebsd.org/changeset/base/345455 Log: Add device xz. This was somehow missed in the last round. Submitted by: Brandon Bergren Modified: head/sys/mips/conf/DIR-825C1 Modified:

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-23 Thread Bruce Evans
On Sat, 23 Mar 2019, Bruce Evans wrote: I now have an almost perfect skew measuring program. It has a variance of about 2 cycles. Output on i4790k (only for CPU 0 vs CPU [1-7], since nothing different happens for the general CPU i vs CPU j comparison): XX(min/avg/max/sd) XX |

svn commit: r345454 - stable/12/usr.sbin/bhyve

2019-03-23 Thread Chuck Tuffli
Author: chuck Date: Sat Mar 23 16:46:33 2019 New Revision: 345454 URL: https://svnweb.freebsd.org/changeset/base/345454 Log: MFC r345170: bhyve(8): Fix bhyve's NVMe Identify Namespace data Approved by: imp (mentor) Modified: stable/12/usr.sbin/bhyve/pci_nvme.c Directory Properties:

svn commit: r345453 - stable/12/usr.sbin/bhyve

2019-03-23 Thread Chuck Tuffli
Author: chuck Date: Sat Mar 23 16:42:05 2019 New Revision: 345453 URL: https://svnweb.freebsd.org/changeset/base/345453 Log: MFC r342761: bhyve(8): Fix bhyve's NVMe queue bookkeeping Approved by: imp (mentor) Modified: stable/12/usr.sbin/bhyve/pci_nvme.c Directory Properties:

svn commit: r345452 - head/sys/vm

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 16:36:18 2019 New Revision: 345452 URL: https://svnweb.freebsd.org/changeset/base/345452 Log: ASLR: check for max_addr after applying randomization, not before. Otherwise resulting address from vm_map_find() migh not satisfy the upper limit. For instance, it

svn commit: r345451 - stable/12/usr.sbin/bhyve

2019-03-23 Thread Chuck Tuffli
Author: chuck Date: Sat Mar 23 16:30:50 2019 New Revision: 345451 URL: https://svnweb.freebsd.org/changeset/base/345451 Log: MFC r342762: bhyve(8): Fix bhyve's NVMe Completion Queue entry values Approved by: imp (mentor) Modified: stable/12/usr.sbin/bhyve/pci_nvme.c Directory

svn commit: r345450 - in head: libexec/rc/rc.d share/man/man5

2019-03-23 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 23 15:41:32 2019 New Revision: 345450 URL: https://svnweb.freebsd.org/changeset/base/345450 Log: Add ability to automatically load ipfw_nat64, ipfw_nptv6 and ipfw_pmod modules by declaring corresponding variables in rc.conf. Also document them in rc.conf(5).

svn commit: r345449 - head/contrib/llvm/lib/Target/ARM

2019-03-23 Thread Dimitry Andric
Author: dim Date: Sat Mar 23 14:10:05 2019 New Revision: 345449 URL: https://svnweb.freebsd.org/changeset/base/345449 Log: Pull in r356809 from upstream llvm trunk (by Eli Friedman): [ARM] Don't form "ands" when it isn't scheduled correctly. In r322972/r323136, the iteration here

svn commit: r345448 - head/sys/kern

2019-03-23 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Mar 23 13:41:14 2019 New Revision: 345448 URL: https://svnweb.freebsd.org/changeset/base/345448 Log: Remove trunc_page_ps() and round_page_ps() macros. This completes the undoing of r100384. Reviewed by: kib MFC after:2 weeks Sponsored by: DARPA, AFRL

svn commit: r345447 - stable/12/usr.bin/proccontrol

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 11:51:12 2019 New Revision: 345447 URL: https://svnweb.freebsd.org/changeset/base/345447 Log: MFC r345229: proccontrol(1): Add kpti control mode. Modified: stable/12/usr.bin/proccontrol/proccontrol.c Directory Properties: stable/12/ (props changed)

svn commit: r345446 - in stable/12/sys: amd64/amd64 amd64/include arm/arm arm/include arm64/arm64 arm64/include compat/freebsd32 i386/i386 i386/include kern mips/include mips/mips powerpc/include p...

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 11:47:13 2019 New Revision: 345446 URL: https://svnweb.freebsd.org/changeset/base/345446 Log: MFC r345228: amd64 KPTI: add control from procctl(2). Added: stable/12/sys/amd64/include/procctl.h - copied unchanged from r345228,

svn commit: r345445 - in stable/12/sys: amd64/amd64 amd64/include arm/arm arm64/arm64 i386/i386 kern mips/mips powerpc/powerpc riscv/riscv sparc64/sparc64 sys

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 11:43:41 2019 New Revision: 345445 URL: https://svnweb.freebsd.org/changeset/base/345445 Log: MFC r345227: amd64: Add md process flags and first P_MD_PTI flag. Modified: stable/12/sys/amd64/amd64/pmap.c stable/12/sys/amd64/amd64/vm_machdep.c

svn commit: r345442 - in head: . share/man/man4

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 10:13:01 2019 New Revision: 345442 URL: https://svnweb.freebsd.org/changeset/base/345442 Log: Add UPDATING note for geom_uzip(4)/xz, and bump geom_uzip(4) man page date. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/UPDATING

svn commit: r345444 - stable/12/sys/amd64/amd64

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 10:38:28 2019 New Revision: 345444 URL: https://svnweb.freebsd.org/changeset/base/345444 Log: MFC r345226: amd64: fix switching to the pmap with pti disabled. Modified: stable/12/sys/amd64/amd64/pmap.c Directory Properties: stable/12/ (props changed)

svn commit: r345443 - stable/12/sys/amd64/amd64

2019-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 10:37:26 2019 New Revision: 345443 URL: https://svnweb.freebsd.org/changeset/base/345443 Log: MFC r345225: amd64: rewrite cpu_switch.S fragment to reload tss.rsp0 on context switch. Modified: stable/12/sys/amd64/amd64/cpu_switch.S Directory Properties:

svn commit: r345441 - head/sys/netinet

2019-03-23 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 23 09:56:41 2019 New Revision: 345441 URL: https://svnweb.freebsd.org/changeset/base/345441 Log: Fix a KASSERT() in tcp_output(). When checking the length of the headers at this point, the IP level options have not been added to the mbuf chain. So don't

svn commit: r345440 - stable/12/sys/netpfil/pf

2019-03-23 Thread Kristof Provost
Author: kp Date: Sat Mar 23 07:07:44 2019 New Revision: 345440 URL: https://svnweb.freebsd.org/changeset/base/345440 Log: MFC r345223: pf: Rename pfsync bucket lock Previously the main pfsync lock and the bucket locks shared the same name. This lead to spurious warnings from WITNESS

svn commit: r345438 - in head/sys: conf dev/random dev/tpm sys

2019-03-23 Thread Marcin Wojtas
Author: mw Date: Sat Mar 23 05:13:51 2019 New Revision: 345438 URL: https://svnweb.freebsd.org/changeset/base/345438 Log: Allow using TPM as entropy source. TPM has a built-in RNG, with its own entropy source. The driver was extended to harvest 16 random bytes from TPM every 10 seconds.

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

2019-03-23 Thread Cy Schubert
Author: cy Date: Sat Mar 23 04:32:10 2019 New Revision: 345437 URL: https://svnweb.freebsd.org/changeset/base/345437 Log: The check for $ippool_rules in start_cmd is tautological. Reported by: hrs@ MFC after:13 days X-MFC with: r345400 Modified: head/libexec/rc/rc.d/ippool

Re: svn commit: r345400 - in head/libexec/rc: . rc.d

2019-03-23 Thread Cy Schubert
In message <20190323.125853.93885646440204179@allbsd.org>, Hiroki Sato writ es: > Security_Multipart(Sat_Mar_23_12_58_53_2019_110)-- > Content-Type: Text/Plain; charset=us-ascii > Content-Transfer-Encoding: 7bit > > Cy Schubert wrote > in <201903220130.x2m1uq0p042...@repo.freebsd.org>:

svn commit: r345439 - stable/11/sys/netpfil/pf

2019-03-23 Thread Kristof Provost
Author: kp Date: Sat Mar 23 07:07:41 2019 New Revision: 345439 URL: https://svnweb.freebsd.org/changeset/base/345439 Log: MFC r345223: pf: Rename pfsync bucket lock Previously the main pfsync lock and the bucket locks shared the same name. This lead to spurious warnings from WITNESS

Re: svn commit: r345400 - in head/libexec/rc: . rc.d

2019-03-23 Thread Hiroki Sato
Cy Schubert wrote in <201903220130.x2m1uq0p042...@repo.freebsd.org>: cy> Author: cy cy> Date: Fri Mar 22 01:30:51 2019 cy> New Revision: 345400 cy> URL: https://svnweb.freebsd.org/changeset/base/345400 cy> cy> Log: cy> Add rc.d support for ippool(8). cy> cy> I've been using ippool at my