svn commit: r354028 - head/sys/kern

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 18:13:26 2019 New Revision: 354028 URL: https://svnweb.freebsd.org/changeset/base/354028 Log: Use a counter with a random base for explicit IVs in GCM. This permits constructing the entire TLS header in ktls_frame() rather than ktls_seq(). This also matches t

svn commit: r353932 - head

2019-10-23 Thread John Baldwin
Author: jhb Date: Wed Oct 23 16:43:51 2019 New Revision: 353932 URL: https://svnweb.freebsd.org/changeset/base/353932 Log: Strip "sf" suffix when generating a target triple. This fixes the target triple used when compiling riscv64sf with clang. Discussed with: mhorne MFC after:

svn commit: r353931 - head/sys/riscv/include

2019-10-23 Thread John Baldwin
Author: jhb Date: Wed Oct 23 16:41:31 2019 New Revision: 353931 URL: https://svnweb.freebsd.org/changeset/base/353931 Log: Fix atomic_*cmpset32 on riscv64 with clang. The lr.w instruction used to read the value from memory sign-extends the value read from memory. GCC sign-extends the 32-

Re: svn commit: r353907 - head

2019-10-23 Thread John Baldwin
e > MFC after: 3 days I still feel like these explicit entries shouldn't be needed since the original .so files are marked as OLD_LIBS and we add .debug entries for OLD_LIBS automatically. -- John Baldwin ___ svn-src-all@freebsd.org mailing lis

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

2019-10-22 Thread John Baldwin
Author: jhb Date: Tue Oct 22 20:41:54 2019 New Revision: 353900 URL: https://svnweb.freebsd.org/changeset/base/353900 Log: Split Chelsio send tags into a generic base tag and a ratelimit tag. NIC KTLS will add a new TLS send tag type in cxgbe(4) that is a distinct tag from a ratelimit tag

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

2019-10-22 Thread John Baldwin
Author: jhb Date: Tue Oct 22 20:01:47 2019 New Revision: 353899 URL: https://svnweb.freebsd.org/changeset/base/353899 Log: Always allocate the atid table during attach. Previously the table was allocated on first use by TOE and the ratelimit code. The forthcoming NIC KTLS code also uses

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

2019-10-17 Thread John Baldwin
Author: jhb Date: Thu Oct 17 23:48:29 2019 New Revision: 353707 URL: https://svnweb.freebsd.org/changeset/base/353707 Log: MFC 348472: Whitespace cleanups, no functional change. Modified: stable/12/usr.sbin/bhyve/pci_emul.c Directory Properties: stable/12/ (props changed) Modified: stabl

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

2019-10-17 Thread John Baldwin
Author: jhb Date: Thu Oct 17 23:29:52 2019 New Revision: 353706 URL: https://svnweb.freebsd.org/changeset/base/353706 Log: MFC 348779: Keep the shadow PCIR_COMMAND synced with the real one for pass through. This ensures that bhyve properly recognizes when decoding is disabled for BARs o

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

2019-10-17 Thread John Baldwin
Author: jhb Date: Thu Oct 17 23:26:39 2019 New Revision: 353705 URL: https://svnweb.freebsd.org/changeset/base/353705 Log: MFC 348778,348998: Enable memory and I/O decoding in PCI devices on demand. 348778: Enable memory and I/O decoding in PCI devices on demand. Rather than uncoditi

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

2019-10-17 Thread John Baldwin
Author: jhb Date: Thu Oct 17 23:22:00 2019 New Revision: 353704 URL: https://svnweb.freebsd.org/changeset/base/353704 Log: MFC 348253: Add initial support for 'qSupported' to the debug server. This doesn't recognize any features yet, but does parse the features string. It advertises an a

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

2019-10-17 Thread John Baldwin
Author: jhb Date: Thu Oct 17 23:17:56 2019 New Revision: 353703 URL: https://svnweb.freebsd.org/changeset/base/353703 Log: MFC 348212,348712: Add support for writing to guest memory in the debug server. 348212: Add support for writing to guest memory in the debug server. - Add a wri

svn commit: r353587 - head/sys/dev/acpica

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 19:12:09 2019 New Revision: 353587 URL: https://svnweb.freebsd.org/changeset/base/353587 Log: Install an ACPI PCI bus notify handler. Rescan a PCI bus when the ACPI_NOTIFY_BUS_CHECK event is posted to a PCI bus. Reviewed by: scottl MFC after:2 week

svn commit: r353586 - head/sys/dev/acpica

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 19:04:39 2019 New Revision: 353586 URL: https://svnweb.freebsd.org/changeset/base/353586 Log: Support hot insertion and removal of PCI devices on EC2. Install ACPI notify handlers on PCI devices with an _EJ0 method. This handler is invoked when devices are ad

svn commit: r353585 - head/sys/dev/pci

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 18:58:01 2019 New Revision: 353585 URL: https://svnweb.freebsd.org/changeset/base/353585 Log: Export pci_attach() and pci_detach(). Reviewed by: imp MFC after:1 week Differential Revision:https://reviews.freebsd.org/D21948 Modified: head/sys/

svn commit: r353579 - head/contrib/libc++/include

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 18:16:10 2019 New Revision: 353579 URL: https://svnweb.freebsd.org/changeset/base/353579 Log: Use __FreeBSD_version to determine if gets() has been removed. GCC compilers set __FreeBSD__ statically to a build-time determined targeted version (which in ports al

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

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 17:28:26 2019 New Revision: 353576 URL: https://svnweb.freebsd.org/changeset/base/353576 Log: Use -march=octeon+ for OCTEON1. External binutils requires octeon+ for saa. Reviewed by: imp Differential Revision:https://reviews.freebsd.org/D22033 M

svn commit: r353574 - head/sys/mips/nlm/dev/net/ucore

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 17:17:16 2019 New Revision: 353574 URL: https://svnweb.freebsd.org/changeset/base/353574 Log: Fix a write-only variable warning from external GCC. Reviewed by: imp Differential Revision:https://reviews.freebsd.org/D22032 Modified: head/sys/mips/nlm

svn commit: r353573 - head/sys/mips/nlm/dev/net/ucore

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 17:14:30 2019 New Revision: 353573 URL: https://svnweb.freebsd.org/changeset/base/353573 Log: Don't set the OUTPUT_FORMAT explicitly but let ld derive it. This fixes an error with modern ld.bfd and is inline with the changes in r215251 and r217612. Review

svn commit: r353572 - in head/sys: conf mips/conf

2019-10-15 Thread John Baldwin
Author: jhb Date: Tue Oct 15 17:11:42 2019 New Revision: 353572 URL: https://svnweb.freebsd.org/changeset/base/353572 Log: Update MIPS kernel builds to work with mips-gcc. - Use a default -march of mips64 on N64 and N32 kernels. - Set the endianness (via MIPS_ENDIAN) and ABI (via MIPS_ABI

Re: svn commit: r353523 - head

2019-10-14 Thread John Baldwin
On 10/14/19 2:22 PM, John Baldwin wrote: > Author: jhb > Date: Mon Oct 14 21:22:42 2019 > New Revision: 353523 > URL: https://svnweb.freebsd.org/changeset/base/353523 > > Log: > Disconnect powerpc from the default tinderbox for now. > > The wrong toolchain was

svn commit: r353523 - head

2019-10-14 Thread John Baldwin
Author: jhb Date: Mon Oct 14 21:22:42 2019 New Revision: 353523 URL: https://svnweb.freebsd.org/changeset/base/353523 Log: Disconnect powerpc from the default tinderbox for now. The wrong toolchain was set in MAKE_PARAMS_powerpc, however, there are some other issues preventing powerpc fro

svn commit: r353499 - head

2019-10-14 Thread John Baldwin
Author: jhb Date: Mon Oct 14 18:31:11 2019 New Revision: 353499 URL: https://svnweb.freebsd.org/changeset/base/353499 Log: Remove the aarch64 libclang_rt.profile library from llvm 8.0.1. Reported by: np Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

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

2019-10-14 Thread John Baldwin
Author: jhb Date: Mon Oct 14 18:02:56 2019 New Revision: 353498 URL: https://svnweb.freebsd.org/changeset/base/353498 Log: Remove an unused parameter from get_new_keyid(). Modified: head/sys/dev/cxgbe/tom/t4_tls.c Modified: head/sys/dev/cxgbe/tom/t4_tls.c

svn commit: r353378 - head/sys/modules/cxgbe/tom

2019-10-09 Thread John Baldwin
Author: jhb Date: Wed Oct 9 23:35:42 2019 New Revision: 353378 URL: https://svnweb.freebsd.org/changeset/base/353378 Log: Add opt_kern_tls.h to the sources from t4_tom.ko. Missed in r353328. Sponsored by: Chelsio Communications Modified: head/sys/modules/cxgbe/tom/Makefile Modifie

svn commit: r353371 - head/sys/kern

2019-10-09 Thread John Baldwin
Author: jhb Date: Wed Oct 9 21:20:39 2019 New Revision: 353371 URL: https://svnweb.freebsd.org/changeset/base/353371 Log: Don't free the cursor boundary tag during vmem_destroy(). The cursor boundary tag is statically allocated in the vmem instead of from the vmem_bt_zone. Explicitly re

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

2019-10-09 Thread John Baldwin
Author: jhb Date: Wed Oct 9 21:08:51 2019 New Revision: 353369 URL: https://svnweb.freebsd.org/changeset/base/353369 Log: Remove adapters from t4_list earlier during detach. This ensures the clip task won't race with t4_destroy_clip_table. While here, make some mutex destroys uncondit

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

2019-10-08 Thread John Baldwin
Author: jhb Date: Tue Oct 8 21:40:42 2019 New Revision: 353330 URL: https://svnweb.freebsd.org/changeset/base/353330 Log: Add support for KTLS in the Chelsio TOE module. This adds a TOE hook to allocate a KTLS session. It also recognizes TLS mbufs in the socket buffer and sends those to

svn commit: r353328 - in head/sys: kern netinet sys

2019-10-08 Thread John Baldwin
Author: jhb Date: Tue Oct 8 21:34:06 2019 New Revision: 353328 URL: https://svnweb.freebsd.org/changeset/base/353328 Log: Add a TOE KTLS mode and a TOE hook for allocating TLS sessions. This adds the glue to allocate TLS sessions and invokes it from the TLS enable socket option handler.

svn commit: r353323 - head/sys/dev/cxgbe/crypto

2019-10-08 Thread John Baldwin
Author: jhb Date: Tue Oct 8 20:22:05 2019 New Revision: 353323 URL: https://svnweb.freebsd.org/changeset/base/353323 Log: Set the FID field in lookaside crypto requests to the rx queue ID. The PCI block in the adapter requires this field to be set to a valid queue ID. It is not clear wh

Re: svn commit: r353283 - in head: lib lib/libstats share/man/man3 share/mk sys/amd64/conf sys/conf sys/kern sys/sys tools/build/options

2019-10-07 Thread John Baldwin
; .Dt ARB 3 > .Os > .Sh NAME > @@ -94,7 +94,8 @@ > .Nm ARB_INIT , > .Nm ARB_INSERT , > .Nm ARB_REMOVE , > -.Nm ARB_REINSERT > +.Nm ARB_REINSERT , > +.Nm ARB_RESET_TREE > .Nd "array-based red-black trees" > .Sh SYNOPSIS > .I

svn commit: r353291 - in stable: 11/sys/opencrypto 12/sys/opencrypto

2019-10-07 Thread John Baldwin
Author: jhb Date: Mon Oct 7 20:41:55 2019 New Revision: 353291 URL: https://svnweb.freebsd.org/changeset/base/353291 Log: MFC 351557: Adjust the deprecated warnings for /dev/crypto to be less noisy. Warn when actual operations are performed instead of when sessions are created. The /dev

svn commit: r353291 - in stable: 11/sys/opencrypto 12/sys/opencrypto

2019-10-07 Thread John Baldwin
Author: jhb Date: Mon Oct 7 20:41:55 2019 New Revision: 353291 URL: https://svnweb.freebsd.org/changeset/base/353291 Log: MFC 351557: Adjust the deprecated warnings for /dev/crypto to be less noisy. Warn when actual operations are performed instead of when sessions are created. The /dev

Re: svn commit: r353103 - head/sys/net

2019-10-04 Thread John Baldwin
find and > fix this kind of thing to keep ifconfig(8) up-to-date and help ensure good > discipline in tun handling. Why are you using d_close for last close anyway? It's not really reliable compared to using cdevpriv and a cdevpriv dtor. -- John Baldwin

svn commit: r353072 - head/sys/arm64/conf

2019-10-03 Thread John Baldwin
Author: jhb Date: Thu Oct 3 21:37:01 2019 New Revision: 353072 URL: https://svnweb.freebsd.org/changeset/base/353072 Log: Remove aw_ehci from NOTES to fix LINT kernel builds after r353063. Reported by: Jenkins Modified: head/sys/arm64/conf/NOTES Modified: head/sys/arm64/conf/NOTES ===

svn commit: r353059 - head/usr.bin/netstat

2019-10-03 Thread John Baldwin
Author: jhb Date: Thu Oct 3 18:24:41 2019 New Revision: 353059 URL: https://svnweb.freebsd.org/changeset/base/353059 Log: Restore description of packets dropped due to full reassembly queue. r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more specific description. r2

svn commit: r353058 - head/usr.bin/truss

2019-10-03 Thread John Baldwin
Author: jhb Date: Thu Oct 3 18:12:34 2019 New Revision: 353058 URL: https://svnweb.freebsd.org/changeset/base/353058 Log: Fix a typo in a comment. Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin/truss/syscalls.c

svn commit: r353023 - head/sys/conf

2019-10-02 Thread John Baldwin
Author: jhb Date: Wed Oct 2 21:49:39 2019 New Revision: 353023 URL: https://svnweb.freebsd.org/changeset/base/353023 Log: Fix the EMBEDFS_FORMAT helper variable for riscv64. It was defined with the wrong MACHINE_ARCH previously. This permits using an MFS image without defining MD_ROOT_S

svn commit: r352845 - head

2019-09-28 Thread John Baldwin
Author: jhb Date: Sat Sep 28 14:20:28 2019 New Revision: 352845 URL: https://svnweb.freebsd.org/changeset/base/352845 Log: Disable build of LOCAL_MODULES for cross-builds by default. WITHOUT_LOCAL_MODULES can be set to disable LOCAL_MODULES for native builds. WITH_LOCAL_MODULES can be se

svn commit: r352844 - head/sys/conf

2019-09-28 Thread John Baldwin
Author: jhb Date: Sat Sep 28 14:14:42 2019 New Revision: 352844 URL: https://svnweb.freebsd.org/changeset/base/352844 Log: Disable REPRODUCIBLE_BUILD for kernel builds. The REPRODUCIBLE_BUILD option is actually managed in two separate files. src.opts.mk governs the setting for world buil

Re: svn commit: r352248 - head/usr.sbin/ntp/libntp

2019-09-12 Thread John Baldwin
es, not sources or files from the host > machine being used to do the build. I think the issue is that the readline compat headers are installed at /usr/include/edit/readline/foo.h, so you need the equivalent of -I/usr/include/edit. If there was a way to make -I honor --sysroot (e.g. -I=/

svn commit: r346360 - head/sys/netinet

2019-09-03 Thread John Baldwin
Author: jhb Date: Thu Apr 18 23:21:26 2019 New Revision: 346360 URL: https://svnweb.freebsd.org/changeset/base/346360 Log: Push down INP_WLOCK slightly in tcp_ctloutput. The inp lock is not needed for testing the V6 flag as that flag is set once when the inp is created and never changes.

svn commit: r346617 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:23:06 2019 New Revision: 346617 URL: https://svnweb.freebsd.org/changeset/base/346617 Log: Test the AES-CCM test vectors from the NIST Known Answer Tests. The CCM test vectors use a slightly different file format in that there are global key-value pairs as

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

2019-09-03 Thread John Baldwin
On 4/20/19 9:43 AM, Enji Cooper wrote: > >> On Apr 20, 2019, at 9:38 AM, John Baldwin wrote: >> >> On 4/20/19 9:32 AM, Enji Cooper wrote: >>> >>>> On Apr 20, 2019, at 9:31 AM, Enji Cooper wrote: >>>> >>>> >>>>>

Re: svn commit: r346441 - in head/sys/modules: em fusefs iavf

2019-09-03 Thread John Baldwin
think this will fix it. msdosfs >> doesn't support either symlinks or hardlinks. Or is there some other >> problem? >> -Alan >> > > Yes it is. Well that's a bummer then. I thought we faked symlinks on > msdosfs, but on second thought not sure how well would do that. You could just use cp instead of a link? -- 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: r346443 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
nful for the 4-5 open reviews I have outstanding as it makes a merge disaster. -- 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: r346441 - in head/sys/modules: em fusefs iavf

2019-09-03 Thread John Baldwin
On 4/20/19 10:21 AM, Warner Losh wrote: > On Sat, Apr 20, 2019, 10:44 AM John Baldwin wrote: > >> On 4/20/19 6:23 AM, Justin Hibbits wrote: >>> On Sat, Apr 20, 2019, 08:21 Alan Somers wrote: >>> >>>> On Sat, Apr 20, 2019 at 6:58 AM Justin Hibbits >&

svn commit: r346419 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
Author: jhb Date: Fri Apr 19 21:58:51 2019 New Revision: 346419 URL: https://svnweb.freebsd.org/changeset/base/346419 Log: Sync cryptographic algorithm constants with current cryptodev.h. Reviewed by: cem MFC after:2 weeks Sponsored by: Chelsio Communications Differential Revisio

svn commit: r346421 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
Author: jhb Date: Fri Apr 19 22:20:42 2019 New Revision: 346421 URL: https://svnweb.freebsd.org/changeset/base/346421 Log: Test SHA2-224-HMAC now that OCF supports it. Reviewed by: cem MFC after:2 weeks Sponsored by: Chelsio Communications Differential Revision:https://re

svn commit: r346616 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:16:39 2019 New Revision: 346616 URL: https://svnweb.freebsd.org/changeset/base/346616 Log: Run the plain SHA digest tests from NIST. Pass in an explicit digest length to the Crypto constructor since it was assuming only sessions with a MAC key would have a

svn commit: r346615 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:14:37 2019 New Revision: 346615 URL: https://svnweb.freebsd.org/changeset/base/346615 Log: Use more descriptive algorithm names in skip messages. Reviewed by: cem, ngie MFC after:1 month Sponsored by: Chelsio Communications Differential Revision:

svn commit: r346614 - head/tests/sys/opencrypto

2019-09-03 Thread John Baldwin
Author: jhb Date: Wed Apr 24 00:10:21 2019 New Revision: 346614 URL: https://svnweb.freebsd.org/changeset/base/346614 Log: Skip tests with missing test vectors instead of failing. This copes more gracefully when older version of the nist-kat package are intalled that don't have newer test

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

2019-09-03 Thread John Baldwin
On 4/20/19 9:32 AM, Enji Cooper wrote: > >> On Apr 20, 2019, at 9:31 AM, Enji Cooper wrote: >> >> >>> On Apr 20, 2019, at 9:30 AM, John Baldwin >> <mailto:j...@freebsd.org>> wrote: >>> >>> On 4/20/19 8:43 AM, Enji Cooper wrote:

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread John Baldwin
On 4/16/19 4:43 PM, Conrad Meyer wrote: > On Tue, Apr 16, 2019 at 4:28 PM John Baldwin wrote: >> Still, what I would suggest is to have the existing arc4random() use >> WITNESS_WARN. >> We could provide an alternative API that is non-blocking and returns >> EW

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread John Baldwin
On 4/16/19 3:49 PM, Conrad Meyer wrote: > On Tue, Apr 16, 2019 at 2:32 PM John Baldwin wrote: >> There are definitely places arc4random is used where sleeping is not allowed. > > Sure. > >> ipsec generating nonces for AES-CBC is one example I can think of off the >>

Re: svn commit: r341586 - head/sys/dev/mlx5/mlx5_en

2019-09-03 Thread John Baldwin
ip6_output:return 35 >> ^C >> >> # dtrace -n 'fbt::mlx5e_xmit:return {printf("%d", arg1);}' >> dtrace: description 'fbt::mlx5e_xmit:return ' matched 1 probe >> CPU IDFUNCTION:NAME >> 16 69030

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread John Baldwin
s why in my reply I focused on qemu for mips (or riscv) as for x86 hypervisors there are existing, somewhat-standarized solutions for the hypervisor to provide entropy to the guest. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.f

Re: svn commit: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread John Baldwin
s when doing development using qemu for non-x86 architectures. For example, when booting mips from qemu, there is no loader, the kernel just starts, and since the endian is opposite, I frequently regenerate the filesystem using makefs. -- John Baldwin _

Re: svn commit: r346341 - head/tools/build

2019-09-03 Thread John Baldwin
nd legacy includes which augment the host's sources on >> legacay system, hence the name. It's never the correct thing to use. >> >> The problem that we have here is not that the file is missing (which is >> why >> it was added the way it was a long time ago), but rather missing >> functionality in a file that's been around for a long time. >> >> So, since it is that class of problem, the canonical way we've dealt >> with >> it in the past is to do something like create a file foo.h that looks >> something like >> >> #include_next >> >> #ifndev SOMETHING_NEW >> #define SOMETHING_NEW 0 /* Or other values that are fail-safe on the >> old >> system */ >> #endif >> >> and that's the change that needs to be made here. Sometimes, more >> extensive >> things need to be done when the old library can't work at all with the >> new >> code. In those cases, the pattern is for foo.h to include #define >> problem_fn my_problem_fn and then write a my_problem_fn that wraps >> problem_fn in a way that works on the old system. Kinda a poor man's >> symbol >> versioning, in a way (note: we can't use symbol version for this since >> we're building new binaries). >> >> The "stop gap" gets things compiling, and maybe OK for the moment, >> unless >> the SOMETHING_NEW variable that's used (in this case FA_OPEN) causes >> the >> old library to do the wrong thing. I've not done the deep dive to see >> if >> this is the case or not. >> >> So, does that make sense? >> >> Warner > > This solves one problem but what about the cases when a new krb5, ntp, or amd > is imported but fails to build because it is using the old headers in > /usr/include and linking against old libraries on the running system? > > These examples BTW have been fixed. My concern is there could be other > examples in contrib, yet to be discovered, that might also have the same > issues. We don't build those as bootstrap tools. This step is a special thing only needed to build tools that run on the _host_ that are used when compiling the world. All of the rest of world, etc. is compiled against the SYSROOT. This step is how you build the tools you need to generate the SYSROOT. strings is one of these special tools, so it requires extra care. -- 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: r346250 - in head: share/man/man4 share/man/man9 sys/dev/random sys/kern sys/libkern sys/sys

2019-09-03 Thread John Baldwin
On 4/16/19 4:48 PM, Conrad Meyer wrote: > On Tue, Apr 16, 2019 at 4:31 PM John Baldwin wrote: >> bhyveload is effectively the loader in this case. It runs the normal loader >> scripts and logic and so would load the guests's /boot/entropy and pass it >> to the guest ke

Re: svn commit: r346145 - in stable/12: contrib/bearssl etc/mtree include lib lib/libbearssl lib/libsecureboot lib/libsecureboot/tests sbin sbin/veriexec share/mk stand stand/common stand/ficl stand/f

2019-09-03 Thread John Baldwin
a followup commit is fine. I don't think it's really useful to try to MFC the 344853 change as-is. -- 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: r346052 - head/sys/dev/usb/net

2019-09-03 Thread John Baldwin
On 4/9/19 12:48 PM, Rodney W. Grimes wrote: >> On 4/9/19 9:59 AM, Ian Lepore wrote: >>> On Tue, 2019-04-09 at 09:33 -0700, John Baldwin wrote: >>>> On 4/9/19 9:17 AM, Ian Lepore wrote: >>>>> On Tue, 2019-04-09 at 09:11 -0700, John Baldwin wrote: >>&

svn commit: r346063 - head/sys/dev/acpica

2019-09-03 Thread John Baldwin
Author: jhb Date: Tue Apr 9 19:22:08 2019 New Revision: 346063 URL: https://svnweb.freebsd.org/changeset/base/346063 Log: Don't pre-reserve resources for CPU devices when they are set. CPUs can use shared (RF_SHAREABLE) resources for the I/O port used for entering and exiting C states.

svn commit: r346066 - head/sys/dev/acpica

2019-09-03 Thread John Baldwin
Author: jhb Date: Tue Apr 9 21:18:02 2019 New Revision: 346066 URL: https://svnweb.freebsd.org/changeset/base/346066 Log: Refine r330113 to honor the ProducerConsumer flag most of the time. While it is true that the ACPI spec says that the flag is only valid on Extended Address Space Des

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread John Baldwin
On 4/9/19 9:17 AM, Ian Lepore wrote: > On Tue, 2019-04-09 at 09:11 -0700, John Baldwin wrote: >> On 4/9/19 6:54 AM, Ganbold Tsagaankhuu wrote: >>> Author: ganbold >>> Date: Tue Apr 9 13:54:08 2019 >>> New Revision: 346052 >>> URL: https://svnweb.

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread John Baldwin
56 It would be best to not use a purely random mac address and to use the function kevans@ added recently. That function generates a MAC address from the FreeBSD OUI using a cryptographic hash so you get a stable address across boots on a given host. -- John Baldwin

Re: svn commit: r346052 - head/sys/dev/usb/net

2019-09-03 Thread John Baldwin
On 4/9/19 9:59 AM, Ian Lepore wrote: > On Tue, 2019-04-09 at 09:33 -0700, John Baldwin wrote: >> On 4/9/19 9:17 AM, Ian Lepore wrote: >>> On Tue, 2019-04-09 at 09:11 -0700, John Baldwin wrote: >>>> On 4/9/19 6:54 AM, Ganbold Tsagaankhuu wrote: >>>>> Au

Re: svn commit: r345970 - head/libexec/rc

2019-09-03 Thread John Baldwin
ot; > ifconfig_vlan32="vlan 32 vlandev em0 SYNCDHCP" > > I have worked around it, but it would be nice if this "just worked". Why not use the vlans thing btw? ifconfig_em0="up" vlans_em0="32" ifconfig_em0_32="SYNCDHCP" I think you probably s

svn commit: r345712 - head/sys/netinet

2019-09-03 Thread John Baldwin
Author: jhb Date: Fri Mar 29 19:47:42 2019 New Revision: 345712 URL: https://svnweb.freebsd.org/changeset/base/345712 Log: Don't check the inp socket pointer in in_pcboutput_eagain. Reviewed by: hps (by saying it was ok to be removed) MFC after:1 month Sponsored by: Netflix Modifi

svn commit: r345665 - stable/11/sys/arm/conf

2019-09-03 Thread John Baldwin
Author: jhb Date: Fri Mar 29 00:04:50 2019 New Revision: 345665 URL: https://svnweb.freebsd.org/changeset/base/345665 Log: MFC 318562: Exclude ccr(4) from arm LINT since it excludes cxgbe(4). Modified: stable/11/sys/arm/conf/NOTES Directory Properties: stable/11/ (props changed) Modified

svn commit: r345659 - head/sys/net

2019-09-03 Thread John Baldwin
Author: jhb Date: Thu Mar 28 21:00:54 2019 New Revision: 345659 URL: https://svnweb.freebsd.org/changeset/base/345659 Log: Use a dedicated malloc type for lagg(4)'s structures. Reviewed by: gallatin MFC after:1 month Sponsored by: Netflix Differential Revision:https://rev

svn commit: r345655 - head/sys/net

2019-09-03 Thread John Baldwin
Author: jhb Date: Thu Mar 28 20:25:36 2019 New Revision: 345655 URL: https://svnweb.freebsd.org/changeset/base/345655 Log: Remove nested epochs from lagg(4). lagg_bcast_start appeared to have a bug in that was using the last lagg port structure after exiting the epoch that was keeping tha

svn commit: r345664 - in stable/11/sys: dev/cxgbe dev/cxgbe/crypto dev/cxgbe/cxgbei dev/cxgbe/firmware dev/cxgbe/tom modules/cxgbe/tom

2019-09-03 Thread John Baldwin
Author: jhb Date: Thu Mar 28 23:43:38 2019 New Revision: 345664 URL: https://svnweb.freebsd.org/changeset/base/345664 Log: MFC 330040,330041,330079,330884,330946,330947,331649,333068,333810,337722, 340466,340468,340469,340473: Add TOE-based TLS offload. Note that this requires a modified

svn commit: r351625 - head

2019-08-30 Thread John Baldwin
Author: jhb Date: Fri Aug 30 16:30:09 2019 New Revision: 351625 URL: https://svnweb.freebsd.org/changeset/base/351625 Log: Add entries for unmapped mbufs and KTLS. Modified: head/RELNOTES Modified: head/RELNOTES == -

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

2019-08-29 Thread John Baldwin
Author: jhb Date: Thu Aug 29 18:23:38 2019 New Revision: 351609 URL: https://svnweb.freebsd.org/changeset/base/351609 Log: Simplify bhyve vlapic ESR logic. The bhyve virtual local APIC uses an instance-global flag to indicate when an error LVT is being delivered to prevent infinite recurs

svn commit: r351591 - in head/sys/amd64/vmm: . amd

2019-08-28 Thread John Baldwin
Author: jhb Date: Wed Aug 28 23:40:57 2019 New Revision: 351591 URL: https://svnweb.freebsd.org/changeset/base/351591 Log: Use get_pcpu() to fetch the current CPU's pcpu pointer. This avoids encoding knowledge about how pcpu objects are allocated and is also a few instructions shorter.

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
On 8/27/19 12:16 PM, John Baldwin wrote: > On 8/27/19 10:05 AM, Peter Holm wrote: >> On Tue, Aug 27, 2019 at 09:02:31AM -0700, John Baldwin wrote: >>> On 8/27/19 7:39 AM, Peter Holm wrote: >>>> On Tue, Aug 27, 2019 at 12:01:57AM +, John Baldwin wrote: >>&g

svn commit: r351558 - head/sys/kern

2019-08-27 Thread John Baldwin
Author: jhb Date: Tue Aug 27 22:21:18 2019 New Revision: 351558 URL: https://svnweb.freebsd.org/changeset/base/351558 Log: Only define the 'tls' member of sfio in KERN_TLS is defined. This field was not initialized in the !KERN_TLS case triggering an assertion failure when using sendfile(

svn commit: r351557 - head/sys/opencrypto

2019-08-27 Thread John Baldwin
Author: jhb Date: Tue Aug 27 21:29:37 2019 New Revision: 351557 URL: https://svnweb.freebsd.org/changeset/base/351557 Log: Adjust the deprecated warnings for /dev/crypto to be less noisy. Warn when actual operations are performed instead of when sessions are created. The /dev/crypto engi

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
On 8/27/19 10:05 AM, Peter Holm wrote: > On Tue, Aug 27, 2019 at 09:02:31AM -0700, John Baldwin wrote: >> On 8/27/19 7:39 AM, Peter Holm wrote: >>> On Tue, Aug 27, 2019 at 12:01:57AM +, John Baldwin wrote: >>>> Author: jhb >>>> Date: Tue Aug 27 00:01:

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
On 8/27/19 6:04 AM, Shawn Webb wrote: > On Mon, Aug 26, 2019 at 05:14:42PM -0700, John Baldwin wrote: >> On 8/26/19 5:01 PM, John Baldwin wrote: >>> Author: jhb >>> Date: Tue Aug 27 00:01:56 2019 >>> New Revision: 351522 >>> URL: https://svnweb.

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-27 Thread John Baldwin
On 8/27/19 7:39 AM, Peter Holm wrote: > On Tue, Aug 27, 2019 at 12:01:57AM +0000, John Baldwin wrote: >> Author: jhb >> Date: Tue Aug 27 00:01:56 2019 >> New Revision: 351522 >> URL: https://svnweb.freebsd.org/changeset/base/351522 >> >> Log: >>

svn commit: r351523 - in stable: 11/sys/netinet 12/sys/netinet

2019-08-26 Thread John Baldwin
Author: jhb Date: Tue Aug 27 00:29:30 2019 New Revision: 351523 URL: https://svnweb.freebsd.org/changeset/base/351523 Log: MFC 349474: Reject attempts to register a TCP stack being unloaded. Modified: stable/11/sys/netinet/tcp_subr.c Directory Properties: stable/11/ (props changed) Chang

svn commit: r351523 - in stable: 11/sys/netinet 12/sys/netinet

2019-08-26 Thread John Baldwin
Author: jhb Date: Tue Aug 27 00:29:30 2019 New Revision: 351523 URL: https://svnweb.freebsd.org/changeset/base/351523 Log: MFC 349474: Reject attempts to register a TCP stack being unloaded. Modified: stable/12/sys/netinet/tcp_subr.c Directory Properties: stable/12/ (props changed) Chang

Re: svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/

2019-08-26 Thread John Baldwin
On 8/26/19 5:01 PM, John Baldwin wrote: > Author: jhb > Date: Tue Aug 27 00:01:56 2019 > New Revision: 351522 > URL: https://svnweb.freebsd.org/changeset/base/351522 > > Log: > Add kernel-side support for in-kernel TLS. The length of the commit message notwithstanding, t

svn commit: r351522 - in head: sbin/ifconfig share/man/man4 sys/conf sys/kern sys/modules sys/modules/ktls_ocf sys/net sys/netinet sys/netinet/tcp_stacks sys/netinet6 sys/opencrypto sys/sys tools/t...

2019-08-26 Thread John Baldwin
r the original design and implementation; Drew Gallatin for several optimizations including the use of ext_pgs mbufs, the M_NOTREADY mechanism for TLS records awaiting software encryption, and pluggable software crypto backends; and John Baldwin for modifications to support hardware TLS

svn commit: r351513 - in head/sys: crypto/des kgssapi/krb5 netsmb opencrypto

2019-08-26 Thread John Baldwin
Author: jhb Date: Mon Aug 26 17:25:07 2019 New Revision: 351513 URL: https://svnweb.freebsd.org/changeset/base/351513 Log: Stop using des_cblock * for arguments to DES functions. This amounts to a char ** since it is a char[8] *. Evil casts mostly resolved the fact that what was actually

Re: svn commit: r351423 - in head: . sbin/ping6 sbin/ping6/tests

2019-08-26 Thread John Baldwin
he fact that we have ping6 instead of ping -6 (compared to say, traceroute, ssh, etc. which all have unified commands) is just a user-interface bug we are stuck maintaining compatibility for, not a goal to shoot for. -- John Baldwin ___ svn-src-

Re: svn commit: r351456 - head/sys/amd64/amd64

2019-08-26 Thread John Baldwin
re about this being a stylistic preference. We usually > write code to express the required actions. I removed constraints > which did not added anything neither to code correctness nor to the > performance. Judging by the thread on current though, this fixes boot panics on machines with N

svn commit: r351449 - in stable: 11/sys/amd64/amd64 11/sys/i386/i386 12/sys/amd64/amd64 12/sys/i386/i386

2019-08-23 Thread John Baldwin
Author: jhb Date: Sat Aug 24 00:35:59 2019 New Revision: 351449 URL: https://svnweb.freebsd.org/changeset/base/351449 Log: MFC 350551: Don't reset memory attributes when mapping physical addresses for ACPI. Previously, AcpiOsMemory was using pmap_mapbios which would always map the reque

svn commit: r351449 - in stable: 11/sys/amd64/amd64 11/sys/i386/i386 12/sys/amd64/amd64 12/sys/i386/i386

2019-08-23 Thread John Baldwin
Author: jhb Date: Sat Aug 24 00:35:59 2019 New Revision: 351449 URL: https://svnweb.freebsd.org/changeset/base/351449 Log: MFC 350551: Don't reset memory attributes when mapping physical addresses for ACPI. Previously, AcpiOsMemory was using pmap_mapbios which would always map the reque

svn commit: r351439 - in stable/11/sys/amd64: amd64 include pci

2019-08-23 Thread John Baldwin
Author: jhb Date: Fri Aug 23 22:03:50 2019 New Revision: 351439 URL: https://svnweb.freebsd.org/changeset/base/351439 Log: MFC 339432: Do not flush cache for PCIe config window. Apparently AMD machines cannot tolerate this. This was uncovered by r339386, where cache flush started really f

svn commit: r351434 - head/sys/conf

2019-08-23 Thread John Baldwin
Author: jhb Date: Fri Aug 23 18:26:34 2019 New Revision: 351434 URL: https://svnweb.freebsd.org/changeset/base/351434 Log: Fix universe to include arm LINT kernel configs. Strip comments from the NOTES.armv[57] files as is done for other NOTES files when building the corresponding LINT co

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

2019-08-22 Thread John Baldwin
ing it. I think that is more consistent with what we have done elsewhere in the tree. -- 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: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto

2019-08-22 Thread John Baldwin
On 8/22/19 2:39 AM, Bjoern A. Zeeb wrote: > On 22 Aug 2019, at 0:02, John Baldwin wrote: > > Hi, > >> Author: jhb >> Date: Thu Aug 22 00:02:08 2019 >> New Revision: 351364 >> URL: https://svnweb.freebsd.org/changeset/base/351364 >> >> Log: >

Re: svn commit: r351368 - head/sys/gdb

2019-08-22 Thread John Baldwin
, (k)gdb needs to be built with the --with-expat option. > I would encourage enabling this option by default in our GDB port, if it is > not already. FYI, it is as the 'catch syscall' bits also depend on this. -- John Baldwin ___ svn-src-

svn commit: r351364 - in head/sys: crypto/blowfish crypto/chacha20 crypto/des opencrypto

2019-08-21 Thread John Baldwin
Author: jhb Date: Thu Aug 22 00:02:08 2019 New Revision: 351364 URL: https://svnweb.freebsd.org/changeset/base/351364 Log: Use 'const' for keys and IVs passed to software encryption algorithms. Specifically, use 'const' for the key passed to the 'setkey' method and 'const' for the 'iv' pa

svn commit: r351362 - in stable: 11/usr.bin/netstat 12/usr.bin/netstat

2019-08-21 Thread John Baldwin
Author: jhb Date: Wed Aug 21 23:44:46 2019 New Revision: 351362 URL: https://svnweb.freebsd.org/changeset/base/351362 Log: MFC 350666: Tidy up the list of auth and encryption algorithms for IPsec stats. - Use keyed-md5 and keyed_sha1 instead of md5 and sha1 to match the names accepted

svn commit: r351362 - in stable: 11/usr.bin/netstat 12/usr.bin/netstat

2019-08-21 Thread John Baldwin
Author: jhb Date: Wed Aug 21 23:44:46 2019 New Revision: 351362 URL: https://svnweb.freebsd.org/changeset/base/351362 Log: MFC 350666: Tidy up the list of auth and encryption algorithms for IPsec stats. - Use keyed-md5 and keyed_sha1 instead of md5 and sha1 to match the names accepted

svn commit: r351358 - in stable: 11/share/man/man9 11/sys/kern 11/sys/kgssapi/krb5 11/sys/netipsec 11/sys/opencrypto 11/sys/sys 12/share/man/man9 12/sys/kern 12/sys/kgssapi/krb5 12/sys/netipsec 12/...

2019-08-21 Thread John Baldwin
Author: jhb Date: Wed Aug 21 22:42:08 2019 New Revision: 351358 URL: https://svnweb.freebsd.org/changeset/base/351358 Log: MFC 348970,348974: Make the warning intervals for deprecated crypto algorithms tunable. 348970: Make the warning intervals for deprecated crypto algorithms tunable.

svn commit: r351358 - in stable: 11/share/man/man9 11/sys/kern 11/sys/kgssapi/krb5 11/sys/netipsec 11/sys/opencrypto 11/sys/sys 12/share/man/man9 12/sys/kern 12/sys/kgssapi/krb5 12/sys/netipsec 12/...

2019-08-21 Thread John Baldwin
Author: jhb Date: Wed Aug 21 22:42:08 2019 New Revision: 351358 URL: https://svnweb.freebsd.org/changeset/base/351358 Log: MFC 348970,348974: Make the warning intervals for deprecated crypto algorithms tunable. 348970: Make the warning intervals for deprecated crypto algorithms tunable.

<    3   4   5   6   7   8   9   10   11   12   >