Author: jhb
Date: Fri Oct 30 00:06:36 2020
New Revision: 367153
URL: https://svnweb.freebsd.org/changeset/base/367153
Log:
Fix a couple of silly bugs in r367149.
- Assign the TLS rate limit value to the correct member of the
rl_params for the nested rate limit tag.
- Remove a dead
Author: jhb
Date: Thu Oct 29 23:28:39 2020
New Revision: 367151
URL: https://svnweb.freebsd.org/changeset/base/367151
Log:
Add m_snd_tag_alloc() as a wrapper around if_snd_tag_alloc().
This gives a more uniform API for send tag life cycle management.
Reviewed by: gallatin, hselasky
Author: jhb
Date: Thu Oct 29 22:22:27 2020
New Revision: 367149
URL: https://svnweb.freebsd.org/changeset/base/367149
Log:
Use public interfaces to manage the nested rate limit send tag.
Each TLS send tag in mlx5 contains a nested rate limit send tag.
Previously, the driver was calling
Author: jhb
Date: Thu Oct 29 22:18:56 2020
New Revision: 367148
URL: https://svnweb.freebsd.org/changeset/base/367148
Log:
Call m_snd_tag_rele() to free send tags.
Send tags are refcounted and if_snd_tag_free() is called by
m_snd_tag_rele() when the last reference is dropped on a send
Author: jhb
Date: Thu Oct 29 22:16:59 2020
New Revision: 367147
URL: https://svnweb.freebsd.org/changeset/base/367147
Log:
Remove an extra if_ref().
In r348254, if_snd_tag_alloc() routines were changed to bump the ifp
refcount via m_snd_tag_init(). This function wasn't in the tree at
Author: jhb
Date: Thu Oct 29 22:14:34 2020
New Revision: 367146
URL: https://svnweb.freebsd.org/changeset/base/367146
Log:
Store the new send tag in the right place.
r350501 added the 'st' parameter, but did not pass it down to
if_snd_tag_alloc().
Reviewed by: gallatin
Sponsored
On 10/28/20 5:23 PM, John Baldwin wrote:
> Author: jhb
> Date: Thu Oct 29 00:23:16 2020
> New Revision: 367123
> URL: https://svnweb.freebsd.org/changeset/base/367123
>
> Log:
> Support hardware rate limiting (pacing) with TLS offload.
>
> ...
>
Author: jhb
Date: Thu Oct 29 00:23:16 2020
New Revision: 367123
URL: https://svnweb.freebsd.org/changeset/base/367123
Log:
Support hardware rate limiting (pacing) with TLS offload.
- Add a new send tag type for a send tag that supports both rate
limiting (packet pacing) and TLS offload
Author: jhb
Date: Thu Oct 29 00:03:19 2020
New Revision: 367122
URL: https://svnweb.freebsd.org/changeset/base/367122
Log:
Save the current TCP pacing rate in t_pacing_rate.
Reviewed by: gallatin, gnn
Sponsored by: Netflix
Differential Revision:
Author: jhb
Date: Fri Oct 23 00:23:54 2020
New Revision: 366955
URL: https://svnweb.freebsd.org/changeset/base/366955
Log:
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 driver. For
Author: jhb
Date: Tue Oct 20 17:50:18 2020
New Revision: 366901
URL: https://svnweb.freebsd.org/changeset/base/366901
Log:
Add a kernel crypto driver using assembly routines from OpenSSL.
Currently, this supports SHA1 and SHA2-{224,256,384,512} both as plain
hashes and in HMAC mode on
Author: jhb
Date: Tue Oct 20 17:00:43 2020
New Revision: 366898
URL: https://svnweb.freebsd.org/changeset/base/366898
Log:
Move generated OpenSSL assembly routines into the kernel sources.
Sponsored by: Netflix
Added:
head/sys/crypto/openssl/
head/sys/crypto/openssl/aarch64/
-
=
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/md/embedfs.S Tue Oct 20 16:48:45 2020(r366897)
@@ -0,0 +1,46 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2020 John Baldwin
+ *
+ * This softwar
Author: jhb
Date: Mon Oct 19 20:08:50 2020
New Revision: 366854
URL: https://svnweb.freebsd.org/changeset/base/366854
Log:
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 Linux TOE TLS
Author: jhb
Date: Mon Oct 19 20:04:03 2020
New Revision: 366852
URL: https://svnweb.freebsd.org/changeset/base/366852
Log:
Fix a couple of bugs for asym crypto introduced in r359374.
- Check for null pointers in the crypto_drivers[] array when checking
for empty slots in
Author: jhb
Date: Mon Oct 19 18:24:06 2020
New Revision: 366845
URL: https://svnweb.freebsd.org/changeset/base/366845
Log:
Check TF_TOE not the tod pointer to determine if TOE is active.
The TF_TOE flag is the check used in the rest of the network stack to
determine if TOE is active on a
Author: jhb
Date: Mon Oct 19 18:21:41 2020
New Revision: 366844
URL: https://svnweb.freebsd.org/changeset/base/366844
Log:
Mark asymmetric cryptography via OCF deprecated for 14.0.
Only one MIPS-specific driver implements support for one of the
asymmetric operations. There are no
Author: jhb
Date: Mon Oct 19 17:35:45 2020
New Revision: 366843
URL: https://svnweb.freebsd.org/changeset/base/366843
Log:
Properly clear PCB_KERNNPX in fpu_kern_leave().
PR: 250423
Reported by: CI
Tested by:lwhsu
Modified:
head/sys/i386/i386/npx.c
Modified:
bit premature. 'make USE_GCC_TOOLCHAINS=yes tinderbox'
still uses gcc6 as I still have several open reviews for gcc9 fixes, though
OpenZFS regressed the build for both gcc6 and gcc9 as Adrian is finding.
I think I would also just suggest 'pkg install ${TARGET_ARCH}-gcc6' rather than
building th
On 10/13/20 3:20 PM, John Baldwin wrote:
> Author: jhb
> Date: Tue Oct 13 22:20:03 2020
> New Revision: 366687
> URL: https://svnweb.freebsd.org/changeset/base/366687
>
> Log:
> Fix various warnings with higher WARNS.
>
> - Rename global 'crid' to 'request
Author: jhb
Date: Tue Oct 13 22:20:03 2020
New Revision: 366687
URL: https://svnweb.freebsd.org/changeset/base/366687
Log:
Fix various warnings with higher WARNS.
- Rename global 'crid' to 'requested_crid' to avoid shadowing.
- Remove some unused function arguments.
- Use __DECONST().
Author: jhb
Date: Tue Oct 13 18:04:19 2020
New Revision: 366677
URL: https://svnweb.freebsd.org/changeset/base/366677
Log:
Add support to the KTLS OCF module for AES-CBC MTE ciphersuites.
This is a simplistic approach which encrypts each TLS record in two
separate passes: one to generate
Author: jhb
Date: Tue Oct 13 17:30:34 2020
New Revision: 366674
URL: https://svnweb.freebsd.org/changeset/base/366674
Log:
Permit sending empty fragments for TLS 1.0.
Due to a weakness in the TLS 1.0 protocol, OpenSSL will periodically
send empty TLS records ("empty fragments"). These
Author: jhb
Date: Tue Oct 13 17:27:37 2020
New Revision: 366673
URL: https://svnweb.freebsd.org/changeset/base/366673
Log:
Add support for FPU_KERN_NOCTX.
This mirrors the implementation on amd64.
Reviewed by: kib
Sponsored by: Netflix
Differential Revision:
Author: jhb
Date: Tue Oct 13 17:26:12 2020
New Revision: 366672
URL: https://svnweb.freebsd.org/changeset/base/366672
Log:
Add a for i386 that includes .
arm64 has a similar wrapper. This permits defining as
the standard header for fpu_kern_*.
Reviewed by: kib
Sponsored by:
Author: jhb
Date: Fri Oct 9 20:20:42 2020
New Revision: 366584
URL: https://svnweb.freebsd.org/changeset/base/366584
Log:
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 result was that
Author: jhb
Date: Tue Oct 6 18:13:15 2020
New Revision: 366494
URL: https://svnweb.freebsd.org/changeset/base/366494
Log:
Don't permit DRM buffer mappings to be upgraded to executable.
Reviewed by: kib
MFC after:1 month
Sponsored by: DARPA
Differential Revision:
Author: jhb
Date: Tue Oct 6 18:07:52 2020
New Revision: 366493
URL: https://svnweb.freebsd.org/changeset/base/366493
Log:
Simplify swcr_authcompute() after removal of deprecated algorithms.
- Just use sw->octx != NULL to handle the HMAC case when finalizing
the MAC.
- Explicitly
Author: jhb
Date: Tue Oct 6 18:02:33 2020
New Revision: 366492
URL: https://svnweb.freebsd.org/changeset/base/366492
Log:
Check if_capenable, not if_capabilities when enabling rate limiting.
if_capabilities is a read-only mask of supported capabilities.
if_capenable is a mask under
Author: jhb
Date: Tue Oct 6 17:58:56 2020
New Revision: 366491
URL: https://svnweb.freebsd.org/changeset/base/366491
Log:
Store the send tag type in the common send tag header.
Both cxgbe(4) and mlx5(4) wrapped the existing send tag header with
their own identical headers that stored
head/sys/arm/conf/NOTES
> head/sys/arm64/conf/NOTES
> head/sys/i386/conf/NOTES
> head/sys/powerpc/conf/NOTES
Perhaps sys/x86/conf/NOTES rather than sys/{amd64,i386}/conf/NOTES?
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
http
Author: jhb
Date: Thu Oct 1 17:30:38 2020
New Revision: 366332
URL: https://svnweb.freebsd.org/changeset/base/366332
Log:
MFS 366297: Revert most of r360179.
I had failed to notice that sgsendccb() was using cam_periph_mapmem()
and thus was not passing down user pointers directly to
Author: jhb
Date: Thu Oct 1 17:16:05 2020
New Revision: 366331
URL: https://svnweb.freebsd.org/changeset/base/366331
Log:
bhyve: Fix build with option BHYVE_SNAPSHOT
'ident' was replaced with 'ata_ident' in revision r363596.
Submitted by: Vitaliy Gusev
Reviewed by: Darius Mihai
Author: jhb
Date: Thu Oct 1 16:45:11 2020
New Revision: 366328
URL: https://svnweb.freebsd.org/changeset/base/366328
Log:
Clear the upper 32-bits of registers in x86_emulate_cpuid().
Per the Intel manuals, CPUID is supposed to unconditionally zero the
upper 32 bits of the involved
Author: jhb
Date: Wed Sep 30 18:09:50 2020
New Revision: 366297
URL: https://svnweb.freebsd.org/changeset/base/366297
Log:
MFC 366175: Revert most of r360179.
I had failed to notice that sgsendccb() was using cam_periph_mapmem()
and thus was not passing down user pointers directly to
Author: jhb
Date: Wed Sep 30 18:09:50 2020
New Revision: 366297
URL: https://svnweb.freebsd.org/changeset/base/366297
Log:
MFC 366175: Revert most of r360179.
I had failed to notice that sgsendccb() was using cam_periph_mapmem()
and thus was not passing down user pointers directly to
Author: jhb
Date: Wed Sep 30 17:49:06 2020
New Revision: 366296
URL: https://svnweb.freebsd.org/changeset/base/366296
Log:
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 bio_data
Author: jhb
Date: Tue Sep 29 21:51:32 2020
New Revision: 366269
URL: https://svnweb.freebsd.org/changeset/base/366269
Log:
Fallback to software for more GCM and CCM requests.
ccr(4) uses software to handle GCM and CCM requests not supported by
the crypto engine (e.g. with only AAD and no
Author: jhb
Date: Fri Sep 25 21:19:56 2020
New Revision: 366175
URL: https://svnweb.freebsd.org/changeset/base/366175
Log:
Revert most of r360179.
I had failed to notice that sgsendccb() was using cam_periph_mapmem()
and thus was not passing down user pointers directly to drivers. In
Author: jhb
Date: Fri Sep 25 21:18:43 2020
New Revision: 366174
URL: https://svnweb.freebsd.org/changeset/base/366174
Log:
MFC 365013: Suppress -Wempty-body warnings in GCC 6.x and later.
libc++ in LLVM 11 uses an empty else clause in
include/c++/v1/__thread_support which triggers this
Author: jhb
Date: Wed Sep 23 21:57:29 2020
New Revision: 366094
URL: https://svnweb.freebsd.org/changeset/base/366094
Log:
MFC 365278: Don't assume objects in program sections have a size of a pointer.
The size of the object at 'addr' is unknown and might be smaller than
the size of a
Author: jhb
Date: Wed Sep 23 21:57:29 2020
New Revision: 366094
URL: https://svnweb.freebsd.org/changeset/base/366094
Log:
MFC 365278: Don't assume objects in program sections have a size of a pointer.
The size of the object at 'addr' is unknown and might be smaller than
the size of a
On 9/17/20 3:44 PM, Olivier Cochard-Labbé wrote:
> On Thu, Sep 17, 2020 at 10:21 PM John Baldwin wrote:
>> I think long term we want OCF's notions of sessions to be a bit more
>> fluid such that "client" sessions for things like GELI and IPSec can
>> be backed b
ALSO
> .Xr ipsec 4 ,
> -.Xr bus_dma 9 ,
Did you mean to lose this one? (Rest looks fine)
--
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"
/etc/rc.d/ipsec restart' post-boot without
unloading any modules which would also fix your benchmark.
I think long term we want OCF's notions of sessions to be a bit more
fluid such that "client" sessions for things like GELI and IPSec can
be backed by one or more "driver" sessions
Author: jhb
Date: Thu Sep 17 18:06:57 2020
New Revision: 365844
URL: https://svnweb.freebsd.org/changeset/base/365844
Log:
Remove no longer used variable.
Pointy hat to:jhb
Reported by: kevans
MFC after:1 week
Modified:
head/usr.sbin/bhyvectl/bhyvectl.c
Modified:
Author: jhb
Date: Thu Sep 17 17:07:04 2020
New Revision: 365842
URL: https://svnweb.freebsd.org/changeset/base/365842
Log:
Remove support for setting some obscure fields.
Don't permit setting the exception bitmap or VMCS entry interrupt
information. These are not generally useful to
Author: jhb
Date: Wed Sep 16 22:55:27 2020
New Revision: 365819
URL: https://svnweb.freebsd.org/changeset/base/365819
Log:
MFC 365276: Compute the correct size of the string to move forward.
Previously this was counting the amount of spare room at the start of
the buffer that the string
Author: jhb
Date: Wed Sep 16 22:55:27 2020
New Revision: 365819
URL: https://svnweb.freebsd.org/changeset/base/365819
Log:
MFC 365276: Compute the correct size of the string to move forward.
Previously this was counting the amount of spare room at the start of
the buffer that the string
Author: jhb
Date: Fri Sep 11 20:32:40 2020
New Revision: 365642
URL: https://svnweb.freebsd.org/changeset/base/365642
Log:
Add constant for the DE_CFG MSR on AMD CPUs.
Reported by: Patrick Mooney
MFC after:2 weeks
Differential Revision:https://reviews.freebsd.org/D25885
Author: jhb
Date: Fri Sep 11 00:06:16 2020
New Revision: 365620
URL: https://svnweb.freebsd.org/changeset/base/365620
Log:
Disable WITNESS for spin locks by default.
This matches all other architectures and removes substantial overhead.
Reported by: arichardson (indirectly)
Author: jhb
Date: Thu Sep 10 22:22:23 2020
New Revision: 365616
URL: https://svnweb.freebsd.org/changeset/base/365616
Log:
Use vmcb_read/write for the vmcb snapshot functions.
This avoids some unnecessary layers of indirection.
Modified:
head/sys/amd64/vmm/amd/vmcb.c
Modified:
Author: jhb
Date: Thu Sep 10 20:34:44 2020
New Revision: 365611
URL: https://svnweb.freebsd.org/changeset/base/365611
Log:
MFC 363459:
Pass the right size to memcpy() when copying the array of FP registers.
The size of the containing structure was passed instead of the size of
the
On 9/4/20 8:33 AM, John Baldwin wrote:
> On 9/3/20 11:39 AM, Eugene Grosbein wrote:
>> 04.09.2020 1:16, Eugene Grosbein wrote:
>> Additional rollback of r365277 gave me successfull buildworld.
>
> Ah, it is MODULES_WITH_WORLD that is tripping you up. What is pro
Author: jhb
Date: Tue Sep 8 23:19:59 2020
New Revision: 365482
URL: https://svnweb.freebsd.org/changeset/base/365482
Log:
MFC 362123: Fix AES-CCM requests with an AAD size smaller than a single block.
The amount to copy for the first block is the minimum of the size of
the AAD region or
Author: jhb
Date: Tue Sep 8 22:50:24 2020
New Revision: 365480
URL: https://svnweb.freebsd.org/changeset/base/365480
Log:
MFC 359900: 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.
Author: jhb
Date: Tue Sep 8 22:50:24 2020
New Revision: 365480
URL: https://svnweb.freebsd.org/changeset/base/365480
Log:
MFC 359900: 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.
Author: jhb
Date: Tue Sep 8 22:19:06 2020
New Revision: 365476
URL: https://svnweb.freebsd.org/changeset/base/365476
Log:
MFC 359899: 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
Author: jhb
Date: Tue Sep 8 22:19:06 2020
New Revision: 365476
URL: https://svnweb.freebsd.org/changeset/base/365476
Log:
MFC 359899: 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
Author: jhb
Date: Tue Sep 8 20:53:44 2020
New Revision: 365474
URL: https://svnweb.freebsd.org/changeset/base/365474
Log:
MFC 359467: Trim some duplicate EIO descriptions.
While here, drop an extra conjunction from the list of error
conditions for the remaining EIO description in
Author: jhb
Date: Tue Sep 8 20:53:44 2020
New Revision: 365474
URL: https://svnweb.freebsd.org/changeset/base/365474
Log:
MFC 359467: Trim some duplicate EIO descriptions.
While here, drop an extra conjunction from the list of error
conditions for the remaining EIO description in
Author: jhb
Date: Tue Sep 8 20:51:19 2020
New Revision: 365473
URL: https://svnweb.freebsd.org/changeset/base/365473
Log:
MFC 359465: Document EINTEGRITY errors for many system calls.
EINTEGRITY was previously documented as a UFS-specific error for
mount(2). This documents EINTEGRITY
Author: jhb
Date: Tue Sep 8 18:58:38 2020
New Revision: 365470
URL: https://svnweb.freebsd.org/changeset/base/365470
Log:
MFC 361764: Revise r361712 to disable tcpmd5.ko for 'options TCP_SIGNATURE'
Modified:
stable/11/sys/modules/tcp/Makefile
Directory Properties:
stable/11/ (props
Author: jhb
Date: Tue Sep 8 18:58:38 2020
New Revision: 365470
URL: https://svnweb.freebsd.org/changeset/base/365470
Log:
MFC 361764: Revise r361712 to disable tcpmd5.ko for 'options TCP_SIGNATURE'
Modified:
stable/12/sys/modules/tcp/Makefile
Directory Properties:
stable/12/ (props
Author: jhb
Date: Tue Sep 8 18:49:58 2020
New Revision: 365469
URL: https://svnweb.freebsd.org/changeset/base/365469
Log:
Use kmod.opts.mk in sys/modules/tcp/Makefile to fix standalone builds.
This was included in the original commit to head that added use of
KERN_OPTS (r361638) but was
Author: jhb
Date: Tue Sep 8 18:49:58 2020
New Revision: 365469
URL: https://svnweb.freebsd.org/changeset/base/365469
Log:
Use kmod.opts.mk in sys/modules/tcp/Makefile to fix standalone builds.
This was included in the original commit to head that added use of
KERN_OPTS (r361638) but was
Author: jhb
Date: Tue Sep 8 18:33:41 2020
New Revision: 365468
URL: https://svnweb.freebsd.org/changeset/base/365468
Log:
Partial MFC 357275: if_vlan grew a dependency on opt_inet6.h in r356993
Modified:
stable/12/sys/modules/if_vlan/Makefile
Modified:
Author: jhb
Date: Tue Sep 8 18:29:20 2020
New Revision: 365467
URL: https://svnweb.freebsd.org/changeset/base/365467
Log:
MFC 361634: Add opt_ipsec.h to fix standalone builds after r361633.
Modified:
stable/12/sys/modules/if_enc/Makefile
Directory Properties:
stable/12/ (props changed)
Author: jhb
Date: Tue Sep 8 18:29:20 2020
New Revision: 365467
URL: https://svnweb.freebsd.org/changeset/base/365467
Log:
MFC 361634: Add opt_ipsec.h to fix standalone builds after r361633.
Modified:
stable/11/sys/modules/if_enc/Makefile
Directory Properties:
stable/11/ (props changed)
Author: jhb
Date: Tue Sep 8 16:43:32 2020
New Revision: 365465
URL: https://svnweb.freebsd.org/changeset/base/365465
Log:
MFC 354970: Add a kmod.opts.mk.
This Makefile sets KERN_OPTS. This permits kernel module Makefiles to
use KERN_OPTS to control the value of variables such as SRCS
Author: jhb
Date: Tue Sep 8 16:43:32 2020
New Revision: 365465
URL: https://svnweb.freebsd.org/changeset/base/365465
Log:
MFC 354970: Add a kmod.opts.mk.
This Makefile sets KERN_OPTS. This permits kernel module Makefiles to
use KERN_OPTS to control the value of variables such as SRCS
y. The result would be that on head src.conf(5) would
say:
WITH_MALLOC_PRODUCTION
Set to disable assertions...
And on stable src.conf(5) would say:
WITHOUT_MALLOC_PRODUCTION
Set to enable assertions...
Just as when other defaults change across branches, the current vs
stable different is handled by the
t; stage
> 4.3: building everything
> but then it fails there:
>
> ===> sys/modules/if_enc (all)
> Building /usr/local/obj/home/src/sys/modules/if_enc/if_enc.o
> --- if_enc.o ---
> /home/src/sys/net/if_enc.c:33:10: fatal error: 'opt_ipsec.h' file n
Author: jhb
Date: Fri Sep 4 00:11:01 2020
New Revision: 365318
URL: https://svnweb.freebsd.org/changeset/base/365318
Log:
Quiet int-to-pointer-cast warnings on i386 with GCC 9.
Reviewed by: emaste
Differential Revision:https://reviews.freebsd.org/D26200
Modified:
Author: jhb
Date: Thu Sep 3 14:50:15 2020
New Revision: 365302
URL: https://svnweb.freebsd.org/changeset/base/365302
Log:
Various fixes to the load() function.
- Use getline() instead of fgetln(). This ensures the returned string
is always null-terminated without losing the last
Author: jhb
Date: Wed Sep 2 22:27:30 2020
New Revision: 365283
URL: https://svnweb.freebsd.org/changeset/base/365283
Log:
Fix the variable name passed to OF_getprop().
Reported by: tinderbox
Modified:
head/sys/dev/iicbus/mux/ltc430x.c
Modified: head/sys/dev/iicbus/mux/ltc430x.c
Author: jhb
Date: Wed Sep 2 22:10:08 2020
New Revision: 365282
URL: https://svnweb.freebsd.org/changeset/base/365282
Log:
libifconfig now depends on libm due to usage of log10().
ld.bfd in particular requires -lm to come after libifconfig on the
command line when linking rescue.
On 9/2/20 2:36 PM, John Baldwin wrote:
> Author: jhb
> Date: Wed Sep 2 21:36:55 2020
> New Revision: 365281
> URL: https://svnweb.freebsd.org/changeset/base/365281
>
> Log:
> MFC 361638,361712: Only build ipsec modules for kernels with IPSEC_SUPPORT.
>
> 3
Author: jhb
Date: Wed Sep 2 21:36:55 2020
New Revision: 365281
URL: https://svnweb.freebsd.org/changeset/base/365281
Log:
MFC 361638,361712: Only build ipsec modules for kernels with IPSEC_SUPPORT.
361638:
Only build ipsec modules if the kernel includes IPSEC_SUPPORT.
Honoring the
Author: jhb
Date: Wed Sep 2 21:36:55 2020
New Revision: 365281
URL: https://svnweb.freebsd.org/changeset/base/365281
Log:
MFC 361638,361712: Only build ipsec modules for kernels with IPSEC_SUPPORT.
361638:
Only build ipsec modules if the kernel includes IPSEC_SUPPORT.
Honoring the
Author: jhb
Date: Wed Sep 2 21:17:54 2020
New Revision: 365280
URL: https://svnweb.freebsd.org/changeset/base/365280
Log:
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 open() when
Author: jhb
Date: Wed Sep 2 20:43:08 2020
New Revision: 365278
URL: https://svnweb.freebsd.org/changeset/base/365278
Log:
Don't assume objects in program sections have a size of a pointer.
The size of the object at 'addr' is unknown and might be smaller than
the size of a pointer (e.g.
Author: jhb
Date: Wed Sep 2 20:36:33 2020
New Revision: 365277
URL: https://svnweb.freebsd.org/changeset/base/365277
Log:
MFC 361633: Consistently include opt_ipsec.h for consumers of
.
This fixes ipsec.ko to include all of IPSEC_DEBUG.
Modified:
stable/11/sys/net/if_enc.c
Author: jhb
Date: Wed Sep 2 20:36:33 2020
New Revision: 365277
URL: https://svnweb.freebsd.org/changeset/base/365277
Log:
MFC 361633: Consistently include opt_ipsec.h for consumers of
.
This fixes ipsec.ko to include all of IPSEC_DEBUG.
Modified:
stable/12/sys/net/if_enc.c
On 9/2/20 12:09 PM, Mark Johnston wrote:
> On Wed, Sep 02, 2020 at 11:43:56AM -0700, John Baldwin wrote:
>> On 9/2/20 11:17 AM, Mark Johnston wrote:
>>> Author: markj
>>> Date: Wed Sep 2 18:17:08 2020
>>> New Revision: 365268
>>> URL: https://svnweb.
Author: jhb
Date: Wed Sep 2 20:04:26 2020
New Revision: 365276
URL: https://svnweb.freebsd.org/changeset/base/365276
Log:
Compute the correct size of the string to move forward.
Previously this was counting the amount of spare room at the start of
the buffer that the string needed to
Author: jhb
Date: Wed Sep 2 19:02:48 2020
New Revision: 365270
URL: https://svnweb.freebsd.org/changeset/base/365270
Log:
MFC 361632: Honor opt_ipsec.h from kernel builds.
To make this simpler, set the default contents of opt_ipsec.h
for standalone modules in sys/conf/config.mk.
Author: jhb
Date: Wed Sep 2 19:02:48 2020
New Revision: 365270
URL: https://svnweb.freebsd.org/changeset/base/365270
Log:
MFC 361632: Honor opt_ipsec.h from kernel builds.
To make this simpler, set the default contents of opt_ipsec.h
for standalone modules in sys/conf/config.mk.
XPAGESIZES is increased.
> - Add a "S,pagesize" formatter to sysctl(8).
Doesn't sysctl(8) handle scalar types that are arrays? That is, couldn't
this change just be the change to not truncate 'len' without needing to make
it opaque and needing a custom printer, etc.?
--
John Baldwin
___
},
> -
> { 0, NULL }
> };
While many of the fixes are correct, I feel that this one (along with similar
changes to remove a blank line before table terminators in devmethod tables,
or in tables in the acpi drivers I saw in acpi_support) are a regression.
Also, in general some
Author: jhb
Date: Tue Sep 1 16:20:42 2020
New Revision: 365055
URL: https://svnweb.freebsd.org/changeset/base/365055
Log:
Fix a buffer overrun.
getln() returns 'len' valid characters. line[len] is out of bounds.
Reported by: CHERI
Reviewed by: brooks
Obtained from:
Author: jhb
Date: Mon Aug 31 21:57:01 2020
New Revision: 365013
URL: https://svnweb.freebsd.org/changeset/base/365013
Log:
Suppress -Wempty-body warnings in GCC 6.x and later.
libc++ in LLVM 11 uses an empty else clause in
include/c++/v1/__thread_support which triggers this warning.
Author: jhb
Date: Mon Aug 31 21:55:25 2020
New Revision: 365012
URL: https://svnweb.freebsd.org/changeset/base/365012
Log:
Fix the build of scandir_b with GCC.
Use explicit typedefs for block thunk structures as in r264143.
Reviewed by: kib, adrian
MFC after:1 week
Author: jhb
Date: Fri Aug 28 19:52:16 2020
New Revision: 364934
URL: https://svnweb.freebsd.org/changeset/base/364934
Log:
MFC 361613: Permit SO_NO_DDP and SO_NO_OFFLOAD to be read via getsockopt(2).
Modified:
stable/11/sys/kern/uipc_socket.c
Directory Properties:
stable/11/ (props
Author: jhb
Date: Fri Aug 28 19:52:16 2020
New Revision: 364934
URL: https://svnweb.freebsd.org/changeset/base/364934
Log:
MFC 361613: Permit SO_NO_DDP and SO_NO_OFFLOAD to be read via getsockopt(2).
Modified:
stable/12/sys/kern/uipc_socket.c
Directory Properties:
stable/12/ (props
On 8/27/20 1:28 PM, Benjamin Kaduk wrote:
> On Thu, Aug 27, 2020 at 1:25 PM John Baldwin wrote:
>
>> On 8/26/20 9:55 AM, Jung-uk Kim wrote:
>>> Author: jkim
>>> Date: Wed Aug 26 16:55:28 2020
>>> New Revision: 364822
>>> URL: https://svnw
ion string. This broke compiler test for
> AVX instruction support.
Have you opened a PR upstream to fix this? They should be willing to
accept it since it probably affects clang on OS X as well?
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
ht
Author: jhb
Date: Wed Aug 26 22:52:07 2020
New Revision: 364847
URL: https://svnweb.freebsd.org/changeset/base/364847
Log:
MFC 361767: Document SO_NO_OFFLOADS and SO_NO_DDP.
Modified:
stable/12/lib/libc/sys/getsockopt.2
Directory Properties:
stable/12/ (props changed)
Changes in other
Author: jhb
Date: Wed Aug 26 22:52:07 2020
New Revision: 364847
URL: https://svnweb.freebsd.org/changeset/base/364847
Log:
MFC 361767: Document SO_NO_OFFLOADS and SO_NO_DDP.
Modified:
stable/11/lib/libc/sys/getsockopt.2
Directory Properties:
stable/11/ (props changed)
Changes in other
On 8/26/20 3:36 PM, John Baldwin wrote:
> Author: jhb
> Date: Wed Aug 26 22:36:08 2020
> New Revision: 364846
> URL: https://svnweb.freebsd.org/changeset/base/364846
>
> Log:
> Name the on-stack union of compat thunks.
>
> C does not permit an anonymous
101 - 200 of 7166 matches
Mail list logo