Re: svn commit: r363263 - in head/lib/csu: . common

2021-02-26 Thread John Baldwin
On 2/26/21 6:02 AM, Kyle Evans wrote: On Thu, Jul 16, 2020 at 4:58 PM John Baldwin wrote: Author: jhb Date: Thu Jul 16 21:58:43 2020 New Revision: 363263 URL: https://svnweb.freebsd.org/changeset/base/363263 Log: Include ABI note tag in shared libraries. Split the ELF feature note

Re: svn commit: r368789 - head/libexec/rtld-elf/rtld-libc

2020-12-21 Thread John Baldwin
On 12/19/20 8:27 PM, Ryan Libby wrote: > On Sat, Dec 19, 2020 at 7:23 PM John Baldwin wrote: >> >> On 12/19/20 12:38 AM, Ryan Libby wrote: >>> Author: rlibby >>> Date: Sat Dec 19 08:38:31 2020 >>> New Revision: 368789 >>> URL: https://s

Re: svn commit: r368789 - head/libexec/rtld-elf/rtld-libc

2020-12-19 Thread John Baldwin
probably safely link against it directly unlike libc where we have to pick specific object files. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r368768 - in head/sys: amd64/amd64 arm64/arm64 i386/i386 riscv/riscv

2020-12-18 Thread John Baldwin
Author: jhb Date: Fri Dec 18 20:41:23 2020 New Revision: 368768 URL: https://svnweb.freebsd.org/changeset/base/368768 Log: Skip the vm.pmap.kernel_maps sysctl by default. This sysctl node can generate very verbose output, so don't trigger it for sysctl -a or sysctl vm.pmap. Reviewed

svn commit: r368741 - in head/sys/dev/usb: . controller

2020-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:45:10 2020 New Revision: 368741 URL: https://svnweb.freebsd.org/changeset/base/368741 Log: Use __containerof() instead of home-rolled versions. Reviewed by: imp, hselasky Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:

svn commit: r368739 - in head/sys: conf kern tools

2020-12-17 Thread John Baldwin
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/kern/firmw.S Thu Dec 17 20:31:17 2020(r368739) @@ -0,0 +1,49 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2020 John Baldwin + * + * This sof

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

2020-12-17 Thread John Baldwin
Author: jhb Date: Thu Dec 17 20:28:53 2020 New Revision: 368738 URL: https://svnweb.freebsd.org/changeset/base/368738 Log: Cleanups to *ERR* compat shims. - Use [u]intptr_t casts to convert pointers to integers. - Change IS_ERR* to return bool instead of long. Reviewed by: manu

Re: svn commit: r368667 - in head: . gnu/usr.bin gnu/usr.bin/binutils gnu/usr.bin/gdb tools/build/mk

2020-12-16 Thread John Baldwin
On 12/16/20 9:41 AM, Ed Maste wrote: > On Tue, 15 Dec 2020 at 18:25, John Baldwin wrote: >> >> On 12/15/20 9:44 AM, Ed Maste wrote: >>> Author: emaste >>> Date: Tue Dec 15 17:44:19 2020 >>> New Revision: 368667 >>> URL: https://svnweb.freebsd.

svn commit: r368688 - head/sys/dev/usb

2020-12-15 Thread John Baldwin
Author: jhb Date: Wed Dec 16 00:27:28 2020 New Revision: 368688 URL: https://svnweb.freebsd.org/changeset/base/368688 Log: Use more standard types for manipulating pointers. - Use a uintptr_t cast to get the virtual address of a pointer in USB_P2U() instead of a ptrdiff_t. - Add

svn commit: r368687 - head/sys/dev/mxge

2020-12-15 Thread John Baldwin
Author: jhb Date: Wed Dec 16 00:17:54 2020 New Revision: 368687 URL: https://svnweb.freebsd.org/changeset/base/368687 Log: Use uintptr_t instead of unsigned long for integers holding pointers. Reviewed by: imp, gallatin Obtained from:CheriBSD Sponsored by: DARPA Differential

svn commit: r368686 - head/sys/dev/mrsas

2020-12-15 Thread John Baldwin
Author: jhb Date: Wed Dec 16 00:13:32 2020 New Revision: 368686 URL: https://svnweb.freebsd.org/changeset/base/368686 Log: Use uintptr_t instead of unsigned long for pointers. The sense_ptr thing is quite broken. As near as I can tell, the driver tries to copyout to a physical address

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

2020-12-15 Thread John Baldwin
Author: jhb Date: Wed Dec 16 00:11:30 2020 New Revision: 368685 URL: https://svnweb.freebsd.org/changeset/base/368685 Log: Use the 't' modifier to print a ptrdiff_t. Reviewed by: imp Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:

Re: svn commit: r368667 - in head: . gnu/usr.bin gnu/usr.bin/binutils gnu/usr.bin/gdb tools/build/mk

2020-12-15 Thread John Baldwin
excessively outdated GDB in FreeBSD 13. > > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D27610 Are you going to remove the -gdwarf-2 bits from kern.mk now? (Does ctfconvert support newer DWARF?) -- John Baldwin ___

svn commit: r368642 - stable/12/sys/amd64/vmm/io

2020-12-14 Thread John Baldwin
Author: jhb Date: Mon Dec 14 20:48:59 2020 New Revision: 368642 URL: https://svnweb.freebsd.org/changeset/base/368642 Log: MFC 368004: Pull the check for VM ownership into ppt_find(). This reduces some code duplication. One behavior change is that ppt_assign_device() will now only

svn commit: r368641 - in stable/12: lib/libvmmapi sys/amd64/include sys/amd64/vmm sys/amd64/vmm/io usr.sbin/bhyve

2020-12-14 Thread John Baldwin
Author: jhb Date: Mon Dec 14 20:40:21 2020 New Revision: 368641 URL: https://svnweb.freebsd.org/changeset/base/368641 Log: MFC 368003: Honor the disabled setting for MSI-X interrupts for passthrough devices. Add a new ioctl to disable all MSI-X interrupts for a PCI passthrough device

svn commit: r368584 - stable/12/sbin/sysctl

2020-12-12 Thread John Baldwin
Author: jhb Date: Sat Dec 12 17:11:22 2020 New Revision: 368584 URL: https://svnweb.freebsd.org/changeset/base/368584 Log: MFC 367188: Use a dynamic buffer for the copy of a node's new value. This permits setting a node's value to a string longer than BUFSIZ. Modified:

svn commit: r368583 - stable/12/sys/dev/cxgbe/tom

2020-12-12 Thread John Baldwin
Author: jhb Date: Sat Dec 12 17:07:33 2020 New Revision: 368583 URL: https://svnweb.freebsd.org/changeset/base/368583 Log: MFC 367578: Clear tp->tod in t4_pcb_detach(). Otherwise, a socket can have a non-NULL tp->tod while TF_TOE is clear. In particular, if a newly accepted socket falls

svn commit: r368582 - stable/12/sys/dev/cxgbe/tom

2020-12-12 Thread John Baldwin
Author: jhb Date: Sat Dec 12 17:04:54 2020 New Revision: 368582 URL: https://svnweb.freebsd.org/changeset/base/368582 Log: MFC 366955: Handle CPL_RX_DATA on active TLS sockets. In certain edge cases, the NIC might have only received a partial TLS record which it needs to return to the

svn commit: r368581 - stable/12/sys/dev/cxgbe/tom

2020-12-12 Thread John Baldwin
Author: jhb Date: Sat Dec 12 16:55:23 2020 New Revision: 368581 URL: https://svnweb.freebsd.org/changeset/base/368581 Log: MFC 366854: Re-enable receive flow control for TOE TLS sockets. Flow control was disabled during initial TOE TLS development to workaround a hang (and to match the

svn commit: r368545 - in stable/12/lib/csu/tests: . dynamic dynamicpie

2020-12-10 Thread John Baldwin
Author: jhb Date: Fri Dec 11 01:06:49 2020 New Revision: 368545 URL: https://svnweb.freebsd.org/changeset/base/368545 Log: MFC 367576: Add C startup code tests for PIE binaries. - Force dynamic to be a non-PIE binary. - Add a dynamicpie test which uses a PIE binary. Added:

svn commit: r368544 - stable/12/lib/csu/tests

2020-12-10 Thread John Baldwin
Author: jhb Date: Fri Dec 11 01:04:36 2020 New Revision: 368544 URL: https://svnweb.freebsd.org/changeset/base/368544 Log: MFC 367575: Fix dso_handle_check for PIE executables. PIE executables use crtbeginS.o and have a non-NULL dso_handle as a result. Modified:

svn commit: r368531 - stable/12/lib/csu/common

2020-12-10 Thread John Baldwin
Author: jhb Date: Thu Dec 10 23:58:27 2020 New Revision: 368531 URL: https://svnweb.freebsd.org/changeset/base/368531 Log: MFC 367574: Rename __JCR_LIST__ to __JCR_END__ in crtend.c. This is more consistent with the names used for .ctor and .dtor symbols and better reflects __JCR_END__'s

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

2020-12-10 Thread John Baldwin
Author: jhb Date: Thu Dec 10 22:26:51 2020 New Revision: 368528 URL: https://svnweb.freebsd.org/changeset/base/368528 Log: MFC 366584: Don't invoke semunload() if seminit() fails during MOD_LOAD. The module handler code invokes a MOD_UNLOAD event immediately if MOD_LOAD fails. The

svn commit: r368526 - in stable/12/sys: conf dev/md

2020-12-10 Thread John Baldwin
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ stable/12/sys/dev/md/embedfs.S Thu Dec 10 21:12:25 2020 (r368526, copy of r366897, head/sys/dev/md/embedfs.S) @@ -0,0 +1,46 @@ +/*- + * SPDX-License-Identifie

svn commit: r368522 - stable/12/sys/dev/drm2

2020-12-10 Thread John Baldwin
Author: jhb Date: Thu Dec 10 20:44:05 2020 New Revision: 368522 URL: https://svnweb.freebsd.org/changeset/base/368522 Log: MFC 366494: Don't permit DRM buffer mappings to be upgraded to executable. Modified: stable/12/sys/dev/drm2/drm_bufs.c Directory Properties: stable/12/ (props

svn commit: r368455 - in head/sys: arm64/arm64 arm64/include cddl/dev/dtrace/aarch64 cddl/dev/fbt

2020-12-08 Thread John Baldwin
Author: jhb Date: Tue Dec 8 18:00:58 2020 New Revision: 368455 URL: https://svnweb.freebsd.org/changeset/base/368455 Log: Check that the frame pointer is within the current stack. This same check is used on other architectures. Previously this would permit a stack frame to unwind into

svn commit: r368454 - in head/sys: cddl/dev/dtrace/riscv cddl/dev/fbt riscv/include riscv/riscv

2020-12-08 Thread John Baldwin
Author: jhb Date: Tue Dec 8 17:57:18 2020 New Revision: 368454 URL: https://svnweb.freebsd.org/changeset/base/368454 Log: Stack unwinding robustness fixes for RISC-V. - Push the kstack_contains check down into unwind_frame() so that it is honored by DDB and DTrace. - Check that

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread John Baldwin
On 12/7/20 12:37 PM, Kyle Evans wrote: > On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote: >> >> qemu-user uses this flag? What on earth can it be using it for? >> > > It was faithfully responding that it wasn't implemented to any > target-application usage, appar

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread John Baldwin
On 12/7/20 11:11 AM, Kyle Evans wrote: > On Mon, Dec 7, 2020 at 12:58 PM John Baldwin wrote: >> >> On 12/6/20 8:51 PM, Steve Wills wrote: >>> Hi, >>> >>> On 11/24/20 7:10 PM, John Baldwin wrote: >>>> Author: jhb >>>> Date:

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-12-07 Thread John Baldwin
On 12/6/20 8:51 PM, Steve Wills wrote: > Hi, > > On 11/24/20 7:10 PM, John Baldwin wrote: >> Author: jhb >> Date: Wed Nov 25 00:10:54 2020 >> New Revision: 368005 >> URL: https://svnweb.freebsd.org/changeset/base/368005 >> >> Log: >>

svn commit: r368417 - head/sys/sys

2020-12-07 Thread John Baldwin
Author: jhb Date: Mon Dec 7 18:58:08 2020 New Revision: 368417 URL: https://svnweb.freebsd.org/changeset/base/368417 Log: Bump __FreeBSD_version for removal of crypto fd's in r368005. Requested by: swills Sponsored by: Chelsio Communications Modified: head/sys/sys/param.h Modified:

svn commit: r368347 - head/sys/mips/mips

2020-12-04 Thread John Baldwin
Author: jhb Date: Fri Dec 4 20:14:25 2020 New Revision: 368347 URL: https://svnweb.freebsd.org/changeset/base/368347 Log: Various fixes for the MIPS DDB stack unwinder. - Fix kernel stack unwinding end-of-function false-positive The kernel stack unwinder assumes that any jr $ra

svn commit: r368320 - stable/12/tools/tools/crypto

2020-12-03 Thread John Baldwin
Author: jhb Date: Fri Dec 4 01:11:09 2020 New Revision: 368320 URL: https://svnweb.freebsd.org/changeset/base/368320 Log: MFC 350813: tools/tools/crypto: cryptokeytest: Fix build with newer OpenSSL Also, drag into this decade. Modified: stable/12/tools/tools/crypto/cryptokeytest.c

svn commit: r368319 - in stable/12: share/man/man4 sys/opencrypto

2020-12-03 Thread John Baldwin
Author: jhb Date: Fri Dec 4 01:09:51 2020 New Revision: 368319 URL: https://svnweb.freebsd.org/changeset/base/368319 Log: MFC 366844: Mark asymmetric cryptography via OCF deprecated for 14.0. Only one MIPS-specific driver implements support for one of the asymmetric operations. There

svn commit: r368316 - in head/sys/dev/cxgbe: . tom

2020-12-03 Thread John Baldwin
Author: jhb Date: Thu Dec 3 22:06:08 2020 New Revision: 368316 URL: https://svnweb.freebsd.org/changeset/base/368316 Log: Clear TLS offload mode if a TLS socket hangs without receiving data. By default, if a TOE TLS socket stops receiving data for more than 5 seconds, revert the

svn commit: r368314 - head/sys/dev/cxgbe/tom

2020-12-03 Thread John Baldwin
Author: jhb Date: Thu Dec 3 22:01:13 2020 New Revision: 368314 URL: https://svnweb.freebsd.org/changeset/base/368314 Log: Don't transmit mbufs that aren't yet ready on TOE sockets. This includes mbufs waiting for data from sendfile() I/O requests, or mbufs awaiting encryption for KTLS.

svn commit: r368312 - head/sys/dev/cxgbe/tom

2020-12-03 Thread John Baldwin
Author: jhb Date: Thu Dec 3 21:59:47 2020 New Revision: 368312 URL: https://svnweb.freebsd.org/changeset/base/368312 Log: Clear TLS offload mode for unsupported cipher suites and versions. If TOE TLS is requested for an unsupported cipher suite or TLS version, disable TLS processing and

svn commit: r368311 - in head/sys/dev/cxgbe: . tom

2020-12-03 Thread John Baldwin
Author: jhb Date: Thu Dec 3 21:49:20 2020 New Revision: 368311 URL: https://svnweb.freebsd.org/changeset/base/368311 Log: Fix downgrading of TOE TLS sockets to plain TOE. If a TOE TLS socket ends up using an unsupported TLS version or ciphersuite, it must be downgraded to a "plain" TOE

Re: svn commit: r366857 - head/libexec/rc/rc.d

2020-12-02 Thread John Baldwin
and not all interfaces that would be a happy-enough compromise that would still satisfy the original PR? -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

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

2020-12-02 Thread John Baldwin
Author: jhb Date: Wed Dec 2 23:16:24 2020 New Revision: 368289 URL: https://svnweb.freebsd.org/changeset/base/368289 Log: MFC 355686: Fix a mismerge in r355683 and remove the local gdb_port from main. PR: 251501 Reported by: Yuichiro NAITO Modified:

Re: svn commit: r368263 - head/sys/cddl/dev/dtrace/amd64

2020-12-02 Thread John Baldwin
s (arm64, riscv, mips) in the patch series that had functional changes and fixed those while testing the functional changes. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe,

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

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 18:57:37 2020 New Revision: 368247 URL: https://svnweb.freebsd.org/changeset/base/368247 Log: Fix a couple of typos. Submitted by: rmacklem Modified: head/share/man/man4/ktls.4 Modified: head/share/man/man4/ktls.4

svn commit: r368245 - in head/sys: arm64/arm64 arm64/include cddl/dev/dtrace/aarch64

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 18:22:34 2020 New Revision: 368245 URL: https://svnweb.freebsd.org/changeset/base/368245 Log: Use uintptr_t instead of uint64_t for pointers in stack frames. Reviewed by: andrew Obtained from:CheriBSD Sponsored by: DARPA Differential Revision:

svn commit: r368242 - head/sys/cddl/dev/dtrace/riscv

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 18:08:22 2020 New Revision: 368242 URL: https://svnweb.freebsd.org/changeset/base/368242 Log: Use uintptr_t for pointers in stack frames. This catches up to the changes made to struct unwind_state in r364180. Reviewed by: mhorne Obtained from:

svn commit: r368241 - head/sys/mips/mips

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 17:17:22 2020 New Revision: 368241 URL: https://svnweb.freebsd.org/changeset/base/368241 Log: Make stack_save*() more robust on MIPS. - Validate any stack addresses read from against td_kstack before reading. If an unwind operation would attempt to read

svn commit: r368240 - in head/sys: cddl/dev/dtrace/amd64 cddl/dev/dtrace/i386 ddb riscv/riscv sys x86/x86

2020-12-01 Thread John Baldwin
Author: jhb Date: Tue Dec 1 17:04:46 2020 New Revision: 368240 URL: https://svnweb.freebsd.org/changeset/base/368240 Log: Add a kstack_contains() helper function. This is useful for stack unwinders which need to avoid out-of-bounds reads of a kernel stack which can trigger kernel

Re: svn commit: r368187 - head/sys/dev/nvme

2020-11-30 Thread John Baldwin
d you known how are compiler guys creative >> with generating of new warnings... >> I known that C++17 have 'maybe_unused' attribute, but relationship to >> standard '__unused' looks unclear. >> >> In any case, I have not single problem to change this to the proposed &g

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

2020-11-27 Thread John Baldwin
Author: jhb Date: Sat Nov 28 04:21:22 2020 New Revision: 368119 URL: https://svnweb.freebsd.org/changeset/base/368119 Log: Suspend I/O on ahci-cd devices during a snapshot. Submitted by: Vitaliy Gusev Modified: head/usr.sbin/bhyve/snapshot.c Modified: head/usr.sbin/bhyve/snapshot.c

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

2020-11-27 Thread John Baldwin
Author: jhb Date: Sat Nov 28 04:06:09 2020 New Revision: 368118 URL: https://svnweb.freebsd.org/changeset/base/368118 Log: bhyve: Add snapshot support for virtio-rnd. This uses the same snapshot routine as other VirtIO devices. Submitted by: Vitaliy Gusev Differential Revision:

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

2020-11-27 Thread John Baldwin
Author: jhb Date: Sat Nov 28 03:54:48 2020 New Revision: 368117 URL: https://svnweb.freebsd.org/changeset/base/368117 Log: bhyve: 'xhci,tablet' snapshot fixes Permit suspend/resume of a XHCI device model that has not been attached to by a driver in a guest OS. Submitted by: Vitaliy

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

2020-11-25 Thread John Baldwin
Author: jhb Date: Wed Nov 25 23:17:23 2020 New Revision: 368040 URL: https://svnweb.freebsd.org/changeset/base/368040 Log: Add a manpage for kernel TLS. This subsumes some of the content from tcp(4) describing the socket options but also adds additional notes. Reviewed by:

Re: svn commit: r368038 - head/sys/kern

2020-11-25 Thread John Baldwin
pipelock(wpipe, 0); > if (error != 0) > break; > + continue; A continue as the last line of a while() loop seems spurious? -- John Baldwin ___ svn-src-all@freebsd.org mai

Re: svn commit: r368022 - head/lib/libsysdecode

2020-11-25 Thread John Baldwin
~PROT_MAX(protm);'. As it is, if there are any invalid bits set, those are now lost. The change to mask off only the PROT_MAX bits would preserve any invalid/unknown bits. (To test, try passing -1 or the like as a prot value and comparing the decoded output for kdump or truss.) -- John Baldwin ___

svn commit: r368008 - in head: tests/sys/opencrypto tools/tools/crypto

2020-11-24 Thread John Baldwin
Author: jhb Date: Wed Nov 25 01:31:00 2020 New Revision: 368008 URL: https://svnweb.freebsd.org/changeset/base/368008 Log: Remove uses of CRIOGET in OCF tests after r368005. Pointy hat to:jhb Sponsored by: Chelsio Communications Differential Revision:

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-11-24 Thread John Baldwin
On 11/24/20 4:10 PM, John Baldwin wrote: > Author: jhb > Date: Wed Nov 25 00:10:54 2020 > New Revision: 368005 > URL: https://svnweb.freebsd.org/changeset/base/368005 > > Log: > Remove the cloned file descriptors for /dev/crypto. > > Crypto file descriptors wer

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

2020-11-24 Thread John Baldwin
Author: jhb Date: Wed Nov 25 01:09:58 2020 New Revision: 368007 URL: https://svnweb.freebsd.org/changeset/base/368007 Log: Remove a reference to CRIOGET missed in r368005. Modified: head/share/man/man4/crypto.4 Modified: head/share/man/man4/crypto.4

Re: svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-11-24 Thread John Baldwin
On 11/24/20 4:10 PM, John Baldwin wrote: > Author: jhb > Date: Wed Nov 25 00:10:54 2020 > New Revision: 368005 > URL: https://svnweb.freebsd.org/changeset/base/368005 > > Log: > Remove the cloned file descriptors for /dev/crypto. > > Crypto file descriptors wer

Re: svn commit: r367945 - head

2020-11-24 Thread John Baldwin
it-svn. > > Reported By:jhb > > Modified: > head/.arcconfig In my case I wasn't using git svn, just using arc with git branches from the GH mirror. Thanks for fixing! -- John Baldwin ___ svn-src-all@freebsd.or

svn commit: r368005 - in head: lib/libprocstat share/man/man4 sys/opencrypto sys/sys tools/tools/crypto usr.bin/procstat

2020-11-24 Thread John Baldwin
Author: jhb Date: Wed Nov 25 00:10:54 2020 New Revision: 368005 URL: https://svnweb.freebsd.org/changeset/base/368005 Log: Remove the cloned file descriptors for /dev/crypto. Crypto file descriptors were added in the original OCF import as a way to provide per-open data (specifically the

svn commit: r368004 - head/sys/amd64/vmm/io

2020-11-24 Thread John Baldwin
Author: jhb Date: Tue Nov 24 23:56:33 2020 New Revision: 368004 URL: https://svnweb.freebsd.org/changeset/base/368004 Log: Pull the check for VM ownership into ppt_find(). This reduces some code duplication. One behavior change is that ppt_assign_device() will now only succeed if the

svn commit: r368003 - in head: lib/libvmmapi sys/amd64/include sys/amd64/vmm sys/amd64/vmm/io usr.sbin/bhyve

2020-11-24 Thread John Baldwin
Author: jhb Date: Tue Nov 24 23:18:52 2020 New Revision: 368003 URL: https://svnweb.freebsd.org/changeset/base/368003 Log: Honor the disabled setting for MSI-X interrupts for passthrough devices. Add a new ioctl to disable all MSI-X interrupts for a PCI passthrough device and invoke it

svn commit: r368002 - head

2020-11-24 Thread John Baldwin
Author: jhb Date: Tue Nov 24 22:52:12 2020 New Revision: 368002 URL: https://svnweb.freebsd.org/changeset/base/368002 Log: Correct entries for manpages removed in r359374. Reported by: Yuri Pankov Sponsored by: Chelsio Communications Modified: head/ObsoleteFiles.inc Modified:

Re: svn commit: r367530 - in head/sys/netinet: . tcp_stacks

2020-11-19 Thread John Baldwin
On 11/19/20 2:55 PM, John Baldwin wrote: > On 11/9/20 1:49 PM, Michael Tuexen wrote: >> Author: tuexen >> Date: Mon Nov 9 21:49:40 2020 >> New Revision: 367530 >> URL: https://svnweb.freebsd.org/changeset/base/367530 >> >> Log: >> RFC 7323 specifies

Re: svn commit: r367530 - in head/sys/netinet: . tcp_stacks

2020-11-19 Thread John Baldwin
language in RFC 7323 3.2 is all about segments on an existing connection, not segments from a new connection I think? That is, I think we should perhaps move this check after the TH_SYN check so that a mismatch doesn't prevent recycling? -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r367695 - in head/sys: kern sys

2020-11-19 Thread John Baldwin
On 11/18/20 8:52 PM, Mark Johnston wrote: > On Wed, Nov 18, 2020 at 03:37:36PM -0800, John Baldwin wrote: >> On 11/18/20 2:16 PM, Mateusz Guzik wrote: >>> On 11/17/20, John Baldwin wrote: >>>> On 11/14/20 11:22 AM, Mateusz Guzik wrote: >>> Interested pa

Re: svn commit: r367695 - in head/sys: kern sys

2020-11-18 Thread John Baldwin
On 11/18/20 2:16 PM, Mateusz Guzik wrote: > On 11/17/20, John Baldwin wrote: >> On 11/14/20 11:22 AM, Mateusz Guzik wrote: > Interested parties can check the consumer (also seen in the diff) to > see this is for consistency. I don't think any comments are warranted > in the h

svn commit: r367806 - head/sys/kern

2020-11-18 Thread John Baldwin
Author: jhb Date: Wed Nov 18 16:21:37 2020 New Revision: 367806 URL: https://svnweb.freebsd.org/changeset/base/367806 Log: Fix a few nits in vn_printf(). - Mask out recently added VV_* bits to avoid printing them twice. - Keep VI_LOCKed on the same line as the rest of the flags.

Re: svn commit: r367692 - head/sys/sys

2020-11-17 Thread John Baldwin
On 11/17/20 2:37 PM, Warner Losh wrote: > On Tue, Nov 17, 2020 at 3:18 PM John Baldwin wrote: > >> On 11/14/20 2:34 PM, Warner Losh wrote: >>> true, but a version bump forces that and versions are cheap enough... >> >> Strictly speaking, version bumps

Re: svn commit: r367692 - head/sys/sys

2020-11-17 Thread John Baldwin
ild, but that's mostly a side effect, not due to explicit magic around __FreeBSD_version. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-

Re: svn commit: r367695 - in head/sys: kern sys

2020-11-17 Thread John Baldwin
r better or for worse). Better would be: static __inline void credbatch_prep() { ... } static __inline void credbatch_process() { ... } void credbatch_add(); void credbatch_final(); It seems you just have a duplicate credbatch_add() in fact. Also, why have an empty inline function? These c

Re: svn commit: r367694 - in head/sys: kern sys

2020-11-17 Thread John Baldwin
refcount_releasen(>pl_refcnt, n)) > + free((void *)limp, M_PLIMIT); You don't need this cast. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r367578 - head/sys/dev/cxgbe/tom

2020-11-10 Thread John Baldwin
Author: jhb Date: Tue Nov 10 19:54:39 2020 New Revision: 367578 URL: https://svnweb.freebsd.org/changeset/base/367578 Log: Clear tp->tod in t4_pcb_detach(). Otherwise, a socket can have a non-NULL tp->tod while TF_TOE is clear. In particular, if a newly accepted socket falls back to

svn commit: r367576 - in head/lib/csu/tests: . dynamic dynamicpie

2020-11-10 Thread John Baldwin
Author: jhb Date: Tue Nov 10 19:09:35 2020 New Revision: 367576 URL: https://svnweb.freebsd.org/changeset/base/367576 Log: Add C startup code tests for PIE binaries. - Force dynamic to be a non-PIE binary. - Add a dynamicpie test which uses a PIE binary. Reviewed by: andrew

svn commit: r367575 - head/lib/csu/tests

2020-11-10 Thread John Baldwin
Author: jhb Date: Tue Nov 10 19:07:30 2020 New Revision: 367575 URL: https://svnweb.freebsd.org/changeset/base/367575 Log: Fix dso_handle_check for PIE executables. PIE executables use crtbeginS.o and have a non-NULL dso_handle as a result. Reviewed by: andrew, emaste MFC after:

svn commit: r367574 - head/lib/csu/common

2020-11-10 Thread John Baldwin
Author: jhb Date: Tue Nov 10 19:04:54 2020 New Revision: 367574 URL: https://svnweb.freebsd.org/changeset/base/367574 Log: Rename __JCR_LIST__ to __JCR_END__ in crtend.c. This is more consistent with the names used for .ctor and .dtor symbols and better reflects __JCR_END__'s role.

svn commit: r367449 - in stable: 11/sys/kern 12/sys/kern

2020-11-07 Thread John Baldwin
Author: jhb Date: Sat Nov 7 16:20:37 2020 New Revision: 367449 URL: https://svnweb.freebsd.org/changeset/base/367449 Log: MFC 366296: Avoid a dubious assignment to bio_data in aio_qbio(). A user pointer is not a suitable value for bio_data and the next block of code always overwrites

svn commit: r367449 - in stable: 11/sys/kern 12/sys/kern

2020-11-07 Thread John Baldwin
Author: jhb Date: Sat Nov 7 16:20:37 2020 New Revision: 367449 URL: https://svnweb.freebsd.org/changeset/base/367449 Log: MFC 366296: Avoid a dubious assignment to bio_data in aio_qbio(). A user pointer is not a suitable value for bio_data and the next block of code always overwrites

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

2020-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 23:37:59 2020 New Revision: 367437 URL: https://svnweb.freebsd.org/changeset/base/367437 Log: Update copies of ioctl structures to match recent changes in head. - Update for C99 types and void pointers. - Update example algorithms to not use removed

svn commit: r367426 - head/sys/opencrypto

2020-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 18:09:52 2020 New Revision: 367426 URL: https://svnweb.freebsd.org/changeset/base/367426 Log: Use void * in place of caddr_t. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:https://reviews.freebsd.org/D27065

svn commit: r367425 - head/sys/opencrypto

2020-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 18:05:29 2020 New Revision: 367425 URL: https://svnweb.freebsd.org/changeset/base/367425 Log: Group session management routines together before first use. - Rename cse*() to cse_*() to more closely match other local APIs in this file. - Merge the old

svn commit: r367424 - in stable/12/sys: amd64/amd64 x86/include

2020-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 17:52:04 2020 New Revision: 367424 URL: https://svnweb.freebsd.org/changeset/base/367424 Log: MFC 365642: Add constant for the DE_CFG MSR on AMD CPUs. Modified: stable/12/sys/amd64/amd64/initcpu.c stable/12/sys/x86/include/specialreg.h Directory Properties:

svn commit: r367410 - head/sys/opencrypto

2020-11-05 Thread John Baldwin
Author: jhb Date: Fri Nov 6 00:15:52 2020 New Revision: 367410 URL: https://svnweb.freebsd.org/changeset/base/367410 Log: Move cryptof_ioctl() below the routines it calls. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:

svn commit: r367409 - head/sys/opencrypto

2020-11-05 Thread John Baldwin
Author: jhb Date: Fri Nov 6 00:10:58 2020 New Revision: 367409 URL: https://svnweb.freebsd.org/changeset/base/367409 Log: Split logic to create new sessions into a separate function. This simplifies cryptof_ioctl as it now a wrapper around functions that contain the bulk of the

svn commit: r367408 - in stable: 11/usr.sbin/bhyvectl 12/usr.sbin/bhyvectl

2020-11-05 Thread John Baldwin
Author: jhb Date: Fri Nov 6 00:07:46 2020 New Revision: 367408 URL: https://svnweb.freebsd.org/changeset/base/367408 Log: MFC 365842,365844: Remove support for setting some obscure fields. 365842: Remove support for setting some obscure fields. Don't permit setting the exception

svn commit: r367408 - in stable: 11/usr.sbin/bhyvectl 12/usr.sbin/bhyvectl

2020-11-05 Thread John Baldwin
Author: jhb Date: Fri Nov 6 00:07:46 2020 New Revision: 367408 URL: https://svnweb.freebsd.org/changeset/base/367408 Log: MFC 365842,365844: Remove support for setting some obscure fields. 365842: Remove support for setting some obscure fields. Don't permit setting the exception

svn commit: r367407 - head/sys/opencrypto

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 23:42:36 2020 New Revision: 367407 URL: https://svnweb.freebsd.org/changeset/base/367407 Log: Move cryptodev_cb earlier before it is used. This is consistent with cryptodevkey_cb being defined before it is used and removes a prototype in the middle of the

svn commit: r367406 - head/sys/crypto/aesni

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 23:31:58 2020 New Revision: 367406 URL: https://svnweb.freebsd.org/changeset/base/367406 Log: Check cipher key lengths during probesession. OCF drivers in general should perform as many session parameter checks as possible during probesession rather than when

svn commit: r367405 - stable/12/lib/libc/tests/sys

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 23:28:46 2020 New Revision: 367405 URL: https://svnweb.freebsd.org/changeset/base/367405 Log: MFC 365280: Pass a valid mode with O_CREATE to open(2). CheriABI is pickier about the arguments to open(2) and crashes with a fault if a mode isn't passed to an

svn commit: r367404 - head/sys/opencrypto

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 23:28:05 2020 New Revision: 367404 URL: https://svnweb.freebsd.org/changeset/base/367404 Log: Style fixes for function prototypes and definitions. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:

svn commit: r367403 - head/sys/opencrypto

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 23:26:02 2020 New Revision: 367403 URL: https://svnweb.freebsd.org/changeset/base/367403 Log: Don't modify the destination pointer in ioctl requests. This breaks the case where the original pointer was NULL but an in-line IV was used. Reviewed by: markj

svn commit: r367401 - stable/12/lib/libc/tests/resolv

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 22:35:45 2020 New Revision: 367401 URL: https://svnweb.freebsd.org/changeset/base/367401 Log: MFC 365055: Fix a buffer overrun. getln() returns 'len' valid characters. line[len] is out of bounds. Modified: stable/12/lib/libc/tests/resolv/resolv_test.c

svn commit: r367396 - in stable/12: lib/libipsec sbin/setkey sys/net usr.bin/netstat

2020-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 19:37:56 2020 New Revision: 367396 URL: https://svnweb.freebsd.org/changeset/base/367396 Log: MFC 361810: Refer to AES-CBC as "aes-cbc" rather than "rijndael-cbc" for IPsec. At this point, AES is the more common name for Rijndael128. setkey(8) will still

svn commit: r367336 - stable/12/sys/geom/eli

2020-11-04 Thread John Baldwin
Author: jhb Date: Wed Nov 4 17:22:12 2020 New Revision: 367336 URL: https://svnweb.freebsd.org/changeset/base/367336 Log: MFC 359263: Use the newer EINTEGRITY error when authentication fails. GELI used to fail with EINVAL when a read request spanned a disk sector whose contents did not

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

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 22:53:23 2020 New Revision: 367311 URL: https://svnweb.freebsd.org/changeset/base/367311 Log: Remove unnecessary __DECONST(). Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:https://reviews.freebsd.org/D27063

svn commit: r367310 - in head/sys: crypto opencrypto

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 22:32:30 2020 New Revision: 367310 URL: https://svnweb.freebsd.org/changeset/base/367310 Log: Replace some K function definitions with ANSI C. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:

svn commit: r367309 - in head/sys: crypto crypto/chacha20 crypto/des crypto/rijndael crypto/skein opencrypto

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 22:27:54 2020 New Revision: 367309 URL: https://svnweb.freebsd.org/changeset/base/367309 Log: Consistently use C99 fixed-width types in the in-kernel crypto code. Reviewed by: markj Sponsored by: Chelsio Communications Differential Revision:

svn commit: r367305 - in stable/12: libexec/tftpd libexec/tftpd/tests usr.bin/tftp

2020-11-03 Thread John Baldwin
Author: jhb Date: Tue Nov 3 20:43:01 2020 New Revision: 367305 URL: https://svnweb.freebsd.org/changeset/base/367305 Log: MFC 358556,360167: Add support for the TFTP windowsize option. 358556: Add support for the TFTP windowsize option described in RFC 7440. The windowsize option

svn commit: r367188 - head/sbin/sysctl

2020-10-30 Thread John Baldwin
Author: jhb Date: Fri Oct 30 21:13:05 2020 New Revision: 367188 URL: https://svnweb.freebsd.org/changeset/base/367188 Log: Use a dynamic buffer for the copy of a node's new value. This permits setting a node's value to a string longer than BUFSIZ. Reported by: Sony Arpita Das @

svn commit: r367187 - head/sys/dev/mlx5/mlx5_en

2020-10-30 Thread John Baldwin
Author: jhb Date: Fri Oct 30 21:05:50 2020 New Revision: 367187 URL: https://svnweb.freebsd.org/changeset/base/367187 Log: Remove IF_SND_TAG_TYPE_TLS_RATE_LIMIT conditionals. Support for TLS rate limit tags is now in the tree, so this macro is always defined. Reviewed by: hselasky

Re: svn commit: r367185 - head/tests/sys/opencrypto

2020-10-30 Thread John Baldwin
On 10/30/20 12:53 PM, Jung-uk Kim wrote: > Author: jkim > Date: Fri Oct 30 19:53:16 2020 > New Revision: 367185 > URL: https://svnweb.freebsd.org/changeset/base/367185 > > Log: > Add ossl(4) to cryptotest. Thanks! My bad for missing th

  1   2   3   4   5   6   7   8   9   10   >