Author: jhb
Date: Mon May 11 16:14:20 2020
New Revision: 360901
URL: https://svnweb.freebsd.org/changeset/base/360901
Log:
MFC 356840,357344: Add stricter checks on user changes to SSTATUS.
356840:
Check for invalid sstatus values in set_mcontext().
Previously, this check was only
Author: jhb
Date: Sun May 10 14:53:08 2020
New Revision: 360874
URL: https://svnweb.freebsd.org/changeset/base/360874
Log:
MFC 356839: Save and restore floating point registers in get/set_mcontext().
arm64 and riscv were only saving and restoring floating point
registers for sendsig()
Author: jhb
Date: Sun May 10 00:34:09 2020
New Revision: 360862
URL: https://svnweb.freebsd.org/changeset/base/360862
Log:
MFC 357255,357337: Fix definition of SSTATUS_SD and MSTATUS_SD.
357255:
Fix definition of SSTATUS_SD
The SD bit is defined as the MSB of the sstatus register,
Author: jhb
Date: Sat May 9 21:34:50 2020
New Revision: 360857
URL: https://svnweb.freebsd.org/changeset/base/360857
Log:
MFC 357313: Trim duplicate CSR swaps from user exceptions.
The stack pointer is swapped with the sscratch CSR just before the
jump to cpu_exception_handler_user
Author: jhb
Date: Sat May 9 21:32:44 2020
New Revision: 360856
URL: https://svnweb.freebsd.org/changeset/base/360856
Log:
MFC 357305: Remove unused fields from struct pcb.
cpu_switch/throw() and savectx() do not save or restore any values in
these fields which mostly held
Author: jhb
Date: Sat May 9 20:14:05 2020
New Revision: 360855
URL: https://svnweb.freebsd.org/changeset/base/360855
Log:
MFC 357591:
Read the breakpoint instruction to determine its length in BKPT_SKIP.
This fixes continuing from debug.kdb.enter=1 after enabling the use of
compressed
Author: jhb
Date: Sat May 9 20:10:01 2020
New Revision: 360854
URL: https://svnweb.freebsd.org/changeset/base/360854
Log:
MFC 357593: Remove stale workaround for the htif console.
In practice this discarded all characters entered at the DDB prompt.
Modified:
On 5/9/20 10:14 AM, John Baldwin wrote:
> Author: jhb
> Date: Sat May 9 17:14:59 2020
> New Revision: 360850
> URL: https://svnweb.freebsd.org/changeset/base/360850
>
> Log:
> MFC 356499: Use clang and lld as the default toolchain for RISCV.
>
> - Enable clang a
Author: jhb
Date: Sat May 9 20:02:48 2020
New Revision: 360853
URL: https://svnweb.freebsd.org/changeset/base/360853
Log:
MFC 354289,354441,355095: Use lld on armv6.
354289:
armv6: Switch to LLD by default
This could just be ${__TT} == "arm", except armv5 isn't slated for death
Author: jhb
Date: Sat May 9 17:14:59 2020
New Revision: 360850
URL: https://svnweb.freebsd.org/changeset/base/360850
Log:
MFC 356499: Use clang and lld as the default toolchain for RISCV.
- Enable clang and lld as system toolchains.
- Don't use external GCC for universe by default.
-
On 5/8/20 8:05 AM, John Baldwin wrote:
> Author: jhb
> Date: Fri May 8 15:05:05 2020
> New Revision: 360817
> URL: https://svnweb.freebsd.org/changeset/base/360817
>
> Log:
> MFC 354603,354604,354717,354718: Sync PLIC code with head.
This fixes booting under QEMU wi
Author: jhb
Date: Fri May 8 16:41:23 2020
New Revision: 360818
URL: https://svnweb.freebsd.org/changeset/base/360818
Log:
Fix a memory leak for ENCIOC_GETSTRING I introduced in r360171.
MFC after:1 week
Sponsored by: DARPA
Modified:
head/sys/cam/scsi/scsi_enc_ses.c
Modified:
Author: jhb
Date: Fri May 8 15:05:05 2020
New Revision: 360817
URL: https://svnweb.freebsd.org/changeset/base/360817
Log:
MFC 354603,354604,354717,354718: Sync PLIC code with head.
354603:
plic: fix PLIC_MAX_IRQS
The maximum number of PLIC interrupts is defined in the PLIC spec[1]
Author: jhb
Date: Fri May 8 14:48:45 2020
New Revision: 360814
URL: https://svnweb.freebsd.org/changeset/base/360814
Log:
MFC 348611: Expose the kernel's build-ID through sysctl
After our migration (of certain architectures) to lld the kernel is built
with a unique build-ID. Make it
On 5/7/20 10:30 PM, John Baldwin wrote:
> Author: jhb
> Date: Fri May 8 05:30:10 2020
> New Revision: 360808
> URL: https://svnweb.freebsd.org/changeset/base/360808
>
> Log:
> MFC 354719,354720,354721,354722,357480: OpenSBI support.
Booting via -kernel with qemu hangs
Author: jhb
Date: Fri May 8 05:30:10 2020
New Revision: 360808
URL: https://svnweb.freebsd.org/changeset/base/360808
Log:
MFC 354719,354720,354721,354722,357480: OpenSBI support.
354719:
RISC-V: pass arg6 in sbi_call
Allow for an additional argument to sbi_call which will be passed
Author: jhb
Date: Thu May 7 19:19:39 2020
New Revision: 360793
URL: https://svnweb.freebsd.org/changeset/base/360793
Log:
MFC 356481:
Work around lld's inability to handle undefined weak symbols on risc-v.
lld on RISC-V is not yet able to handle undefined weak symbols for
non-PIC code
Author: jhb
Date: Thu May 7 18:47:54 2020
New Revision: 360792
URL: https://svnweb.freebsd.org/changeset/base/360792
Log:
MFC 357145: Compile hack.c with normal CFLAGS + -shared -nostdlib.
Originally, hack.c was compiled into a shard object with just -shared
-nostdlib. This assumed
Author: jhb
Date: Thu May 7 15:59:55 2020
New Revision: 360783
URL: https://svnweb.freebsd.org/changeset/base/360783
Log:
MFC 355403: Use "far" calls and branches so that lld uses valid relocations.
Conditional branch and jump instructions do not always call via PLT
stubs and thus will
Author: jhb
Date: Thu May 7 14:20:52 2020
New Revision: 360780
URL: https://svnweb.freebsd.org/changeset/base/360780
Log:
MFC 355428,356504: Add a new "riscv-relaxations" linker feature.
355428:
Add a new "riscv-relaxations" linker feature.
When the linker doesn't have this
Author: jhb
Date: Wed May 6 23:23:22 2020
New Revision: 360721
URL: https://svnweb.freebsd.org/changeset/base/360721
Log:
MFC 360202,360206: Deprecate 3des support in IPsec for FreeBSD 13.
360202:
Deprecate 3des support in IPsec for FreeBSD 13.
RFC 8221 does not outright ban 3des
Author: jhb
Date: Wed May 6 23:23:22 2020
New Revision: 360721
URL: https://svnweb.freebsd.org/changeset/base/360721
Log:
MFC 360202,360206: Deprecate 3des support in IPsec for FreeBSD 13.
360202:
Deprecate 3des support in IPsec for FreeBSD 13.
RFC 8221 does not outright ban 3des
Author: jhb
Date: Wed May 6 22:49:21 2020
New Revision: 360718
URL: https://svnweb.freebsd.org/changeset/base/360718
Log:
MFC 358415: Rename TOE TLS stats from [rt]x_tls_* to [rt]x_toe_tls_*.
This more clearly differentiates TLS records encrypted and decrypted
in TOE connections from
=====
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/12/sys/dev/cxgbe/crypto/t4_keyctx.c Wed May 6 22:44:53 2020
(r360717, copy of r354667, head/sys/dev/cxgbe/crypto/t4_keyctx.c)
@@ -0,0 +1,1
Author: jhb
Date: Wed May 6 22:20:37 2020
New Revision: 360713
URL: https://svnweb.freebsd.org/changeset/base/360713
Log:
MFC 355724,360166: Software breakpoints on Intel CPUs.
355724:
Support software breakpoints in the debug server on Intel CPUs.
- Allow the userland hypervisor
Author: jhb
Date: Wed May 6 22:15:09 2020
New Revision: 360710
URL: https://svnweb.freebsd.org/changeset/base/360710
Log:
Deprecate ubsec(4) for FreeBSD 13.0.
With the removal of in-tree consumers of DES, Triple DES, and
MD5-HMAC, the only algorithm this driver still supports is
On 5/5/20 7:20 PM, Li-Wen Hsu wrote:
> On Tue, May 5, 2020 at 8:02 AM John Baldwin wrote:
>>
>> Author: jhb
>> Date: Tue May 5 00:02:04 2020
>> New Revision: 360648
>> URL: https://svnweb.freebsd.org/changeset/base/360648
> ...
>> Added:
>> h
Author: jhb
Date: Wed May 6 05:29:00 2020
New Revision: 360681
URL: https://svnweb.freebsd.org/changeset/base/360681
Log:
Update a few more kernel configs for tun -> tuntap.
Modified:
stable/12/sys/mips/conf/GXEMUL
stable/12/sys/mips/conf/GXEMUL32
Modified: stable/12/sys/mips/conf/GXEMUL
On 5/4/20 5:02 PM, John Baldwin wrote:
> Author: jhb
> Date: Tue May 5 00:02:04 2020
> New Revision: 360648
> URL: https://svnweb.freebsd.org/changeset/base/360648
>
> Log:
> Initial support for bhyve save and restore.
This represents a lot of work by the folks at UPB.
Author: jhb
Date: Tue May 5 04:42:47 2020
New Revision: 360653
URL: https://svnweb.freebsd.org/changeset/base/360653
Log:
MFC 357062: Correct the return types of fueword*().
Modified:
stable/11/share/man/man9/fetch.9
Directory Properties:
stable/11/ (props changed)
Changes in other
Author: jhb
Date: Tue May 5 04:42:47 2020
New Revision: 360653
URL: https://svnweb.freebsd.org/changeset/base/360653
Log:
MFC 357062: Correct the return types of fueword*().
Modified:
stable/12/share/man/man9/fetch.9
Directory Properties:
stable/12/ (props changed)
Changes in other
Author: jhb
Date: Tue May 5 04:37:05 2020
New Revision: 360652
URL: https://svnweb.freebsd.org/changeset/base/360652
Log:
MFC 356508: Use falloc_noinstall + finstall for crypto file descriptors.
Modified:
stable/12/sys/opencrypto/cryptodev.c
Directory Properties:
stable/12/ (props
Author: jhb
Date: Tue May 5 04:25:25 2020
New Revision: 360651
URL: https://svnweb.freebsd.org/changeset/base/360651
Log:
MFC 355683: Don't call into the debug server if it isn't configured.
Modified:
stable/12/usr.sbin/bhyve/bhyverun.c
Directory Properties:
stable/12/ (props changed)
Author: jhb
Date: Tue May 5 00:02:04 2020
New Revision: 360648
URL: https://svnweb.freebsd.org/changeset/base/360648
Log:
Initial support for bhyve save and restore.
Save and restore (also known as suspend and resume) permits a snapshot
to be taken of a guest's state that can later be
Author: jhb
Date: Mon May 4 22:31:38 2020
New Revision: 360642
URL: https://svnweb.freebsd.org/changeset/base/360642
Log:
Use a lookup table of algorithm types for alg_is_* helpers.
This makes it easier to maintain these functions as algorithms are
added or removed.
Reviewed by:
Author: jhb
Date: Mon May 4 16:50:01 2020
New Revision: 360634
URL: https://svnweb.freebsd.org/changeset/base/360634
Log:
Add RFC reference for AES-CTR with IPsec.
MFC after:1 week
Sponsored by: Chelsio Communications
Modified:
head/sbin/setkey/setkey.8
Modified:
Author: jhb
Date: Mon May 4 16:30:36 2020
New Revision: 360633
URL: https://svnweb.freebsd.org/changeset/base/360633
Log:
MFC 355600: Add a callout_func_t typedef for functions used with callout_*().
This typedef is the same as timeout_t except that it is in the callout
namespace and
Author: jhb
Date: Mon May 4 16:30:36 2020
New Revision: 360633
URL: https://svnweb.freebsd.org/changeset/base/360633
Log:
MFC 355600: Add a callout_func_t typedef for functions used with callout_*().
This typedef is the same as timeout_t except that it is in the callout
namespace and
ile need to be updated and old links added
to ObsoleteFiles.inc?
--
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"
Author: jhb
Date: Sat May 2 17:18:32 2020
New Revision: 360565
URL: https://svnweb.freebsd.org/changeset/base/360565
Log:
Actually remove support for Triple DES, not just the warning.
Missed in r360562.
Modified:
head/sys/opencrypto/cryptodev.c
Modified:
Author: jhb
Date: Sat May 2 14:23:55 2020
New Revision: 360563
URL: https://svnweb.freebsd.org/changeset/base/360563
Log:
Document removal of deprecated algorithms from /dev/crypto.
Modified:
head/RELNOTES
Modified: head/RELNOTES
Author: jhb
Date: Sat May 2 14:20:32 2020
New Revision: 360562
URL: https://svnweb.freebsd.org/changeset/base/360562
Log:
Remove support for the algorithms deprecated in r348876.
This removes support for the following algorithms:
- ARC4
- Blowfish
- CAST128
- DES
- 3DES
-
Author: jhb
Date: Sat May 2 13:42:03 2020
New Revision: 360561
URL: https://svnweb.freebsd.org/changeset/base/360561
Log:
MFC 354661,354693: Fix WITH_CLANG_BOOTSTRAP without WITH_CLANG_IS_CC.
354661:
Force MK_CLANG_IS_CC on in XMAKE.
This ensures that a bootstrap clang compiler is
Author: jhb
Date: Sat May 2 01:00:29 2020
New Revision: 360560
URL: https://svnweb.freebsd.org/changeset/base/360560
Log:
Don't pass bogus keys down for NULL algorithms.
The changes in r359374 added various sanity checks in sessions and
requests created by crypto consumers in part to
On 5/1/20 5:06 PM, John Baldwin wrote:
> Author: jhb
> Date: Sat May 2 00:06:58 2020
> New Revision: 360557
> URL: https://svnweb.freebsd.org/changeset/base/360557
>
> Log:
> Remove support for IPsec algorithms deprecated in r348205 and r360202.
>
> Exampl
Author: jhb
Date: Sat May 2 00:08:44 2020
New Revision: 360558
URL: https://svnweb.freebsd.org/changeset/base/360558
Log:
Document removal of deprecated IPsec algorithms.
Modified:
head/RELNOTES
Modified: head/RELNOTES
Author: jhb
Date: Sat May 2 00:06:58 2020
New Revision: 360557
URL: https://svnweb.freebsd.org/changeset/base/360557
Log:
Remove support for IPsec algorithms deprecated in r348205 and r360202.
Examples of depecrated algorithms in manual pages and sample configs
are updated where
Author: jhb
Date: Thu Apr 30 22:08:40 2020
New Revision: 360511
URL: https://svnweb.freebsd.org/changeset/base/360511
Log:
Remove the SYMVER build option.
This option was added as a transition aide when symbol versioning was
first added. It was enabled by default in 2007 and is
Author: jhb
Date: Thu Apr 30 15:24:05 2020
New Revision: 360497
URL: https://svnweb.freebsd.org/changeset/base/360497
Log:
MFC 354660: Enable the RISC-V LLVM backend by default.
Modified:
stable/12/share/mk/src.opts.mk
Directory Properties:
stable/12/ (props changed)
Modified:
Author: jhb
Date: Wed Apr 29 16:04:59 2020
New Revision: 360468
URL: https://svnweb.freebsd.org/changeset/base/360468
Log:
MFC 350069: Use PT_GET_SC_ARGS and PT_GET_SC_RET in truss.
This removes all of the architecture-specific functions from truss.
A per-ABI structure is still needed
inspected to
> remove non-cross-build-safe tools, used for buildworld/buildkernel,
> and potentially incremental build support.
>
> Sponsored by: Dell EMC
Thanks for the quick fix!
--
John Baldwin
___
svn-src-all@freebsd.org ma
ry as a build
tool and use that instead of the host config binary. I'm not quite
sure where to start on fixing that though.
Previously riscv broke this when it bumped the config version for
GENERICSF, but I just reverted that bump yesterday, however riscv
dyi
On 4/27/20 4:17 PM, John Baldwin wrote:
> Author: jhb
> Date: Mon Apr 27 23:17:19 2020
> New Revision: 360408
> URL: https://svnweb.freebsd.org/changeset/base/360408
>
> Log:
> Initial support for kernel offload of TLS receive.
>
> - Add a new TCP_RXTLS_
Author: jhb
Date: Tue Apr 28 15:44:39 2020
New Revision: 360439
URL: https://svnweb.freebsd.org/changeset/base/360439
Log:
MFC 350017: Add ptrace op PT_GET_SC_RET.
This ptrace operation returns a structure containing the error and
return values from the current system call. It is only
Author: jhb
Date: Tue Apr 28 00:06:49 2020
New Revision: 360418
URL: https://svnweb.freebsd.org/changeset/base/360418
Log:
Bump __FreeBSD_version for KTLS RX support.
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
Author: jhb
Date: Mon Apr 27 23:59:42 2020
New Revision: 360417
URL: https://svnweb.freebsd.org/changeset/base/360417
Log:
Add support for KTLS RX over TOE to T6.
This largely reuses the TLS TOE support added in r330884. However,
this uses the KTLS framework in upstream OpenSSL rather
Author: jhb
Date: Mon Apr 27 23:17:19 2020
New Revision: 360408
URL: https://svnweb.freebsd.org/changeset/base/360408
Log:
Initial support for kernel offload of TLS receive.
- Add a new TCP_RXTLS_ENABLE socket option to set the encryption and
authentication algorithms and keys as well
Author: jhb
Date: Mon Apr 27 22:31:42 2020
New Revision: 360402
URL: https://svnweb.freebsd.org/changeset/base/360402
Log:
Add the initial sequence number to the TLS enable socket option.
This will be needed for KTLS RX.
Reviewed by: gallatin
Sponsored by: Chelsio Communications
Author: jhb
Date: Mon Apr 27 22:27:35 2020
New Revision: 360399
URL: https://svnweb.freebsd.org/changeset/base/360399
Log:
Update the cached MSI state when any MSI capability register is written.
bhyve uses cached copies of the MSI capability registers to generate
MSI interrupts for
Author: jhb
Date: Mon Apr 27 21:51:22 2020
New Revision: 360397
URL: https://svnweb.freebsd.org/changeset/base/360397
Log:
Retire the GENERICSF kernel config.
Now that hw.machine_arch handles soft-float vs hard-float there is no
longer a reason for this config.
Submitted by: mhorne
Author: jhb
Date: Mon Apr 27 21:19:46 2020
New Revision: 360393
URL: https://svnweb.freebsd.org/changeset/base/360393
Log:
MFC 350014: Add a test for PT_GET_SC_ARGS.
Modified:
stable/12/tests/sys/kern/ptrace_test.c
Directory Properties:
stable/12/ (props changed)
Modified:
Author: jhb
Date: Mon Apr 27 20:37:11 2020
New Revision: 360392
URL: https://svnweb.freebsd.org/changeset/base/360392
Log:
MFC 350013: Don't pass error from syscallenter() to syscallret().
syscallret() doesn't use error anymore. Fix a few other places to permit
removing the return value
Author: jhb
Date: Mon Apr 27 18:04:42 2020
New Revision: 360388
URL: https://svnweb.freebsd.org/changeset/base/360388
Log:
Don't run strcmp() against strings stored in user memory.
Instead, copy the strings into a temporary buffer on the stack and
run strcmp on the copies.
Reviewed
Author: jhb
Date: Mon Apr 27 17:55:40 2020
New Revision: 360387
URL: https://svnweb.freebsd.org/changeset/base/360387
Log:
Improve MACHINE_ARCH handling for hard vs soft-float on RISC-V.
For userland, MACHINE_ARCH reflects the current ABI via preprocessor
directives. For the kernel, the
Author: jhb
Date: Mon Apr 27 17:53:38 2020
New Revision: 360386
URL: https://svnweb.freebsd.org/changeset/base/360386
Log:
Extend support in sysctls for supporting multiple native ABIs.
This extends some of the changes in place to support reporting support
for 32-bit ABIs to permit
Author: jhb
Date: Mon Apr 27 04:47:02 2020
New Revision: 360363
URL: https://svnweb.freebsd.org/changeset/base/360363
Log:
MFC 350012: Always set td_errno to the error value of a system call.
Early errors prior to a system call did not set td_errno. This commit
sets td_errno for all
Author: jhb
Date: Fri Apr 24 22:17:13 2020
New Revision: 360286
URL: https://svnweb.freebsd.org/changeset/base/360286
Log:
MFC 349871: Use 'retval' label for first error in syscallenter().
This is more consistent with the rest of the function and lets us
unindent most of the function.
Author: jhb
Date: Fri Apr 24 22:10:02 2020
New Revision: 360285
URL: https://svnweb.freebsd.org/changeset/base/360285
Log:
Don't indirect user pointers directly in two 802.11s ioctls.
IEEE80211_MESH_RTCMD_ADD was invoking memcmp() to validate the
supplied address directly on the user
methods "pci" bus devices expect their parent
to have, etc. I suspect in the case of "iichb" the same is true and
that would be fine having all these drivers use the same name and rely
on the description string to differentiate different vendors, etc.
--
John Baldwin
tiny modules in the
past, but that solution is probably worse as the dependencies are usually
the wrong way around (the "leaf" drivers probably depend on the parent drivers
so they get loaded in the exact wrong order for this case where you want all
the leaf drivers registered
Author: jhb
Date: Wed Apr 22 21:03:24 2020
New Revision: 360206
URL: https://svnweb.freebsd.org/changeset/base/360206
Log:
Fix name of 3DES cipher in deprecation warning.
Submitted by: cem
MFC after:1 week
Modified:
head/sys/netipsec/xform_esp.c
Modified:
Author: jhb
Date: Wed Apr 22 20:43:18 2020
New Revision: 360203
URL: https://svnweb.freebsd.org/changeset/base/360203
Log:
Update blake2 accelerated software tests to work after OCF refactoring.
- Lookup device drivers to test by name instead of assuming that the
software / hardware
Author: jhb
Date: Wed Apr 22 19:44:33 2020
New Revision: 360202
URL: https://svnweb.freebsd.org/changeset/base/360202
Log:
Deprecate 3des support in IPsec for FreeBSD 13.
RFC 8221 does not outright ban 3des as the algorithms deprecated for
13 in r348205, but it is listed as a SHOULD NOT
Author: jhb
Date: Tue Apr 21 23:38:54 2020
New Revision: 360179
URL: https://svnweb.freebsd.org/changeset/base/360179
Log:
Don't pass a user buffer pointer as the data pointer in a CCB.
Allocate a temporary buffer in the kernel to serve as the CCB data
pointer for a pass-through
Author: jhb
Date: Tue Apr 21 21:48:35 2020
New Revision: 360178
URL: https://svnweb.freebsd.org/changeset/base/360178
Log:
Map negative types passed to vm_capability_type2name to NULL.
Submitted by: vangyzen
Modified:
head/lib/libvmmapi/vmmapi.c
Modified: head/lib/libvmmapi/vmmapi.c
Author: jhb
Date: Tue Apr 21 17:47:05 2020
New Revision: 360171
URL: https://svnweb.freebsd.org/changeset/base/360171
Log:
Don't access a user buffer directly from the kernel.
The handle_string callback for the ENCIOC_SETSTRING ioctl was passing
a user pointer to memcpy(). Fix by using
Author: jhb
Date: Tue Apr 21 17:42:32 2020
New Revision: 360170
URL: https://svnweb.freebsd.org/changeset/base/360170
Log:
Retire two unused background fsck sysctls.
These two sysctls were added to support UFS softupdates journalling
with snapshots. However, the changes to fsck to use
Author: jhb
Date: Tue Apr 21 17:40:23 2020
New Revision: 360169
URL: https://svnweb.freebsd.org/changeset/base/360169
Log:
Check the magic value in longjmp() before calling sigprocmask().
This avoids passing garbage to sigprocmask() if the jump buffer is
invalid.
Reviewed by:
Author: jhb
Date: Tue Apr 21 17:38:07 2020
New Revision: 360168
URL: https://svnweb.freebsd.org/changeset/base/360168
Log:
Handle non-dtrace-triggered kernel breakpoint traps in mips.
If DTRACE is enabled at compile time, all kernel breakpoint traps are
first given to dtrace to see if
Author: jhb
Date: Tue Apr 21 17:32:57 2020
New Revision: 360167
URL: https://svnweb.freebsd.org/changeset/base/360167
Log:
Abort transfer if fseeko() fails.
CID: 1420215
Reviewed by: asomers
MFC after:1 week
Sponsored by: DARPA
Differential Revision:
Author: jhb
Date: Tue Apr 21 17:30:56 2020
New Revision: 360166
URL: https://svnweb.freebsd.org/changeset/base/360166
Log:
Add description string for VM_CAP_BPT_EXIT.
While here, replace the array of mapping structures with an array of
string pointers where the index is the capability
Author: jhb
Date: Mon Apr 20 22:57:15 2020
New Revision: 360137
URL: https://svnweb.freebsd.org/changeset/base/360137
Log:
Update comments about IVs used in IPsec ESP.
Add some prose and a diagram describing the layout of the cipher IV
for AES-CTR and AES-GCM and how it relates to the
Author: jhb
Date: Mon Apr 20 22:24:49 2020
New Revision: 360136
URL: https://svnweb.freebsd.org/changeset/base/360136
Log:
Retire the CRYPTO_F_IV_GENERATE flag.
The sole in-tree user of this flag has been retired, so remove this
complexity from all drivers. While here, add a helper
Author: jhb
Date: Mon Apr 20 22:20:26 2020
New Revision: 360135
URL: https://svnweb.freebsd.org/changeset/base/360135
Log:
Generate IVs directly in esp_output.
This is the only place that uses CRYPTO_F_IV_GENERATE. All crypto
drivers currently duplicate the same boilerplate code to
Author: jhb
Date: Fri Apr 17 18:24:47 2020
New Revision: 360050
URL: https://svnweb.freebsd.org/changeset/base/360050
Log:
Use the right type for 64-bit coprocessor registers.
The use of "int" here caused the compiler to believe that it needs to
insert a "sll $n, $n, 0" to sign extend as
Author: jhb
Date: Fri Apr 17 18:19:13 2020
New Revision: 360048
URL: https://svnweb.freebsd.org/changeset/base/360048
Log:
Don't try to copyout() to a kernel buffer.
The handle_string callback for the ENCIOC_GET_ENCNAME and
ENCIOC_GETENCID ioctls tries to copy the size of the generated
Author: jhb
Date: Thu Apr 16 20:46:35 2020
New Revision: 360023
URL: https://svnweb.freebsd.org/changeset/base/360023
Log:
Use %zu to print a size_t value instead of %ju.
This fixes the build for 32-bit kernels.
Modified:
head/sys/powerpc/aim/mmu_oea64.c
Modified:
Author: jhb
Date: Thu Apr 16 20:45:54 2020
New Revision: 360022
URL: https://svnweb.freebsd.org/changeset/base/360022
Log:
Add 'gpio' since mmc now requires gpio_if.h.
Modified:
head/sys/mips/conf/std.XLP
Modified: head/sys/mips/conf/std.XLP
name (the string name in a manual driver_t) and that needs to
stay "pcib" here.
The change to DRIVER_MODULE() in this file is correct though.
--
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"
Author: jhb
Date: Thu Apr 16 17:41:32 2020
New Revision: 360016
URL: https://svnweb.freebsd.org/changeset/base/360016
Log:
Document TCP_TLS_MODE_TOE.
Modified:
head/share/man/man4/tcp.4
Modified: head/share/man/man4/tcp.4
Author: jhb
Date: Wed Apr 15 21:05:38 2020
New Revision: 359993
URL: https://svnweb.freebsd.org/changeset/base/359993
Log:
Use crypto_contiguous_subsegment().
This driver used a home-rolled version that predated the function and
didn't support mbufs.
Modified:
Author: jhb
Date: Wed Apr 15 19:33:42 2020
New Revision: 359984
URL: https://svnweb.freebsd.org/changeset/base/359984
Log:
Document removal of deprecated algorithms from geli(4).
Modified:
head/RELNOTES
Modified: head/RELNOTES
Author: jhb
Date: Wed Apr 15 19:28:51 2020
New Revision: 359983
URL: https://svnweb.freebsd.org/changeset/base/359983
Log:
Set inp_flowid's for TOE connections.
KTLS uses the flowid to distribute software encryption tasks among its
pool of worker threads. Without this change, all
Author: jhb
Date: Wed Apr 15 19:23:53 2020
New Revision: 359982
URL: https://svnweb.freebsd.org/changeset/base/359982
Log:
Clear CPL_GET_TCB_RPL handler on module unload.
This fixes a panic when unloading and reloading t4_tom.ko since the
old pointer is still stored when t4_tom_load
Author: jhb
Date: Wed Apr 15 18:27:28 2020
New Revision: 359979
URL: https://svnweb.freebsd.org/changeset/base/359979
Log:
Mark eli_metadata_crypto_supported inline.
This quiets warnings about it not being always used.
Reported by: kevans
Modified:
head/sys/geom/eli/g_eli.h
On 4/15/20 10:55 AM, Kyle Evans wrote:
> On Tue, Apr 14, 2020 at 7:15 PM John Baldwin wrote:
>>
>> Author: jhb
>> Date: Wed Apr 15 00:14:50 2020
>> New Revision: 359945
>> URL: https://svnweb.freebsd.org/changeset/base/359945
>>
>> Log:
>>
On 4/14/20 5:22 PM, Alan Somers wrote:
> On Tue, Apr 14, 2020 at 6:15 PM John Baldwin wrote:
>
>> Author: jhb
>> Date: Wed Apr 15 00:14:50 2020
>> New Revision: 359945
>> URL: https://svnweb.freebsd.org/changeset/base/359945
>>
>> Log:
>>
Author: jhb
Date: Wed Apr 15 00:14:50 2020
New Revision: 359945
URL: https://svnweb.freebsd.org/changeset/base/359945
Log:
Remove support for geli(4) algorithms deprecated in r348206.
This removes support for reading and writing volumes using the
following algorithms:
- Triple DES
Author: jhb
Date: Mon Apr 13 20:59:09 2020
New Revision: 359900
URL: https://svnweb.freebsd.org/changeset/base/359900
Log:
Export a sysctl count of RX FIFO overrun events.
uart(4) backends currently detect RX FIFO overrun errors and report
them to the uart(4) core layer. They are then
Author: jhb
Date: Mon Apr 13 20:43:57 2020
New Revision: 359899
URL: https://svnweb.freebsd.org/changeset/base/359899
Log:
Correct baud rate error calculation.
Shifting right by 1 is not the same as dividing by 2 for signed
values. In particular, dividing a signed value by 2 gives the
401 - 500 of 7166 matches
Mail list logo