On 2/26/21 6:02 AM, Kyle Evans wrote:
On Thu, Jul 16, 2020 at 4:58 PM John Baldwin wrote:
Author: jhb
Date: Thu Jul 16 21:58:43 2020
New Revision: 363263
URL: https://svnweb.freebsd.org/changeset/base/363263
Log:
Include ABI note tag in shared libraries.
Split the ELF feature note
On 12/19/20 8:27 PM, Ryan Libby wrote:
> On Sat, Dec 19, 2020 at 7:23 PM John Baldwin wrote:
>>
>> On 12/19/20 12:38 AM, Ryan Libby wrote:
>>> Author: rlibby
>>> Date: Sat Dec 19 08:38:31 2020
>>> New Revision: 368789
>>> URL: https://s
could probably safely link
against it directly unlike libc where we have to pick specific object
files.
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: jhb
Date: Fri Dec 18 20:41:23 2020
New Revision: 368768
URL: https://svnweb.freebsd.org/changeset/base/368768
Log:
Skip the vm.pmap.kernel_maps sysctl by default.
This sysctl node can generate very verbose output, so don't trigger it
for sysctl -a or sysctl vm.pmap.
Reviewed
Author: jhb
Date: Thu Dec 17 20:45:10 2020
New Revision: 368741
URL: https://svnweb.freebsd.org/changeset/base/368741
Log:
Use __containerof() instead of home-rolled versions.
Reviewed by: imp, hselasky
Obtained from:CheriBSD
Sponsored by: DARPA
Differential Revision:
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/kern/firmw.S Thu Dec 17 20:31:17 2020(r368739)
@@ -0,0 +1,49 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2020 John Baldwin
+ *
+ * This softwa
Author: jhb
Date: Thu Dec 17 20:28:53 2020
New Revision: 368738
URL: https://svnweb.freebsd.org/changeset/base/368738
Log:
Cleanups to *ERR* compat shims.
- Use [u]intptr_t casts to convert pointers to integers.
- Change IS_ERR* to return bool instead of long.
Reviewed by: manu
On 12/16/20 9:41 AM, Ed Maste wrote:
> On Tue, 15 Dec 2020 at 18:25, John Baldwin wrote:
>>
>> On 12/15/20 9:44 AM, Ed Maste wrote:
>>> Author: emaste
>>> Date: Tue Dec 15 17:44:19 2020
>>> New Revision: 368667
>>> URL: https://svnweb.freebsd.
Author: jhb
Date: Wed Dec 16 00:27:28 2020
New Revision: 368688
URL: https://svnweb.freebsd.org/changeset/base/368688
Log:
Use more standard types for manipulating pointers.
- Use a uintptr_t cast to get the virtual address of a pointer in
USB_P2U() instead of a ptrdiff_t.
- Add of
Author: jhb
Date: Wed Dec 16 00:17:54 2020
New Revision: 368687
URL: https://svnweb.freebsd.org/changeset/base/368687
Log:
Use uintptr_t instead of unsigned long for integers holding pointers.
Reviewed by: imp, gallatin
Obtained from:CheriBSD
Sponsored by: DARPA
Differential
Author: jhb
Date: Wed Dec 16 00:13:32 2020
New Revision: 368686
URL: https://svnweb.freebsd.org/changeset/base/368686
Log:
Use uintptr_t instead of unsigned long for pointers.
The sense_ptr thing is quite broken. As near as I can tell, the
driver tries to copyout to a physical address ra
Author: jhb
Date: Wed Dec 16 00:11:30 2020
New Revision: 368685
URL: https://svnweb.freebsd.org/changeset/base/368685
Log:
Use the 't' modifier to print a ptrdiff_t.
Reviewed by: imp
Obtained from:CheriBSD
Sponsored by: DARPA
Differential Revision:https://reviews.free
; excessively outdated GDB in FreeBSD 13.
>
> Sponsored by: The FreeBSD Foundation
> Differential Revision: https://reviews.freebsd.org/D27610
Are you going to remove the -gdwarf-2 bits from kern.mk now?
(Does ctfconvert support newer DWARF?)
--
John Baldwin
__
Author: jhb
Date: Mon Dec 14 20:48:59 2020
New Revision: 368642
URL: https://svnweb.freebsd.org/changeset/base/368642
Log:
MFC 368004: Pull the check for VM ownership into ppt_find().
This reduces some code duplication. One behavior change is that
ppt_assign_device() will now only succee
Author: jhb
Date: Mon Dec 14 20:40:21 2020
New Revision: 368641
URL: https://svnweb.freebsd.org/changeset/base/368641
Log:
MFC 368003:
Honor the disabled setting for MSI-X interrupts for passthrough devices.
Add a new ioctl to disable all MSI-X interrupts for a PCI passthrough
device an
Author: jhb
Date: Sat Dec 12 17:11:22 2020
New Revision: 368584
URL: https://svnweb.freebsd.org/changeset/base/368584
Log:
MFC 367188: Use a dynamic buffer for the copy of a node's new value.
This permits setting a node's value to a string longer than BUFSIZ.
Modified:
stable/12/sbin/sys
Author: jhb
Date: Sat Dec 12 17:07:33 2020
New Revision: 368583
URL: https://svnweb.freebsd.org/changeset/base/368583
Log:
MFC 367578: Clear tp->tod in t4_pcb_detach().
Otherwise, a socket can have a non-NULL tp->tod while TF_TOE is clear.
In particular, if a newly accepted socket falls b
Author: jhb
Date: Sat Dec 12 17:04:54 2020
New Revision: 368582
URL: https://svnweb.freebsd.org/changeset/base/368582
Log:
MFC 366955: Handle CPL_RX_DATA on active TLS sockets.
In certain edge cases, the NIC might have only received a partial TLS
record which it needs to return to the dri
Author: jhb
Date: Sat Dec 12 16:55:23 2020
New Revision: 368581
URL: https://svnweb.freebsd.org/changeset/base/368581
Log:
MFC 366854: Re-enable receive flow control for TOE TLS sockets.
Flow control was disabled during initial TOE TLS development to
workaround a hang (and to match the Li
Author: jhb
Date: Fri Dec 11 01:06:49 2020
New Revision: 368545
URL: https://svnweb.freebsd.org/changeset/base/368545
Log:
MFC 367576: Add C startup code tests for PIE binaries.
- Force dynamic to be a non-PIE binary.
- Add a dynamicpie test which uses a PIE binary.
Added:
stable/12
Author: jhb
Date: Fri Dec 11 01:04:36 2020
New Revision: 368544
URL: https://svnweb.freebsd.org/changeset/base/368544
Log:
MFC 367575: Fix dso_handle_check for PIE executables.
PIE executables use crtbeginS.o and have a non-NULL dso_handle as a
result.
Modified:
stable/12/lib/csu/tests
Author: jhb
Date: Thu Dec 10 23:58:27 2020
New Revision: 368531
URL: https://svnweb.freebsd.org/changeset/base/368531
Log:
MFC 367574: Rename __JCR_LIST__ to __JCR_END__ in crtend.c.
This is more consistent with the names used for .ctor and .dtor
symbols and better reflects __JCR_END__'s
Author: jhb
Date: Thu Dec 10 22:26:51 2020
New Revision: 368528
URL: https://svnweb.freebsd.org/changeset/base/368528
Log:
MFC 366584: Don't invoke semunload() if seminit() fails during MOD_LOAD.
The module handler code invokes a MOD_UNLOAD event immediately if
MOD_LOAD fails. The result
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ stable/12/sys/dev/md/embedfs.S Thu Dec 10 21:12:25 2020
(r368526, copy of r366897, head/sys/dev/md/embedfs.S)
@@ -0,0 +1,46 @@
+/*-
+ * SPDX-L
Author: jhb
Date: Thu Dec 10 20:44:05 2020
New Revision: 368522
URL: https://svnweb.freebsd.org/changeset/base/368522
Log:
MFC 366494: Don't permit DRM buffer mappings to be upgraded to executable.
Modified:
stable/12/sys/dev/drm2/drm_bufs.c
Directory Properties:
stable/12/ (props changed
Author: jhb
Date: Tue Dec 8 18:00:58 2020
New Revision: 368455
URL: https://svnweb.freebsd.org/changeset/base/368455
Log:
Check that the frame pointer is within the current stack.
This same check is used on other architectures. Previously this would
permit a stack frame to unwind into a
Author: jhb
Date: Tue Dec 8 17:57:18 2020
New Revision: 368454
URL: https://svnweb.freebsd.org/changeset/base/368454
Log:
Stack unwinding robustness fixes for RISC-V.
- Push the kstack_contains check down into unwind_frame() so that it
is honored by DDB and DTrace.
- Check that th
On 12/7/20 12:37 PM, Kyle Evans wrote:
> On Mon, Dec 7, 2020 at 2:36 PM John Baldwin wrote:
>>
>> qemu-user uses this flag? What on earth can it be using it for?
>>
>
> It was faithfully responding that it wasn't implemented to any
> target-application usage,
On 12/7/20 11:11 AM, Kyle Evans wrote:
> On Mon, Dec 7, 2020 at 12:58 PM John Baldwin wrote:
>>
>> On 12/6/20 8:51 PM, Steve Wills wrote:
>>> Hi,
>>>
>>> On 11/24/20 7:10 PM, John Baldwin wrote:
>>>> Author: jhb
>>>> Date:
On 12/6/20 8:51 PM, Steve Wills wrote:
> Hi,
>
> On 11/24/20 7:10 PM, John Baldwin wrote:
>> Author: jhb
>> Date: Wed Nov 25 00:10:54 2020
>> New Revision: 368005
>> URL: https://svnweb.freebsd.org/changeset/base/368005
>>
>> Log:
>>
Author: jhb
Date: Mon Dec 7 18:58:08 2020
New Revision: 368417
URL: https://svnweb.freebsd.org/changeset/base/368417
Log:
Bump __FreeBSD_version for removal of crypto fd's in r368005.
Requested by: swills
Sponsored by: Chelsio Communications
Modified:
head/sys/sys/param.h
Modified: h
Author: jhb
Date: Fri Dec 4 20:14:25 2020
New Revision: 368347
URL: https://svnweb.freebsd.org/changeset/base/368347
Log:
Various fixes for the MIPS DDB stack unwinder.
- Fix kernel stack unwinding end-of-function false-positive
The kernel stack unwinder assumes that any jr $ra indi
Author: jhb
Date: Fri Dec 4 01:11:09 2020
New Revision: 368320
URL: https://svnweb.freebsd.org/changeset/base/368320
Log:
MFC 350813: tools/tools/crypto: cryptokeytest: Fix build with newer OpenSSL
Also, drag into this decade.
Modified:
stable/12/tools/tools/crypto/cryptokeytest.c
Direc
Author: jhb
Date: Fri Dec 4 01:09:51 2020
New Revision: 368319
URL: https://svnweb.freebsd.org/changeset/base/368319
Log:
MFC 366844: Mark asymmetric cryptography via OCF deprecated for 14.0.
Only one MIPS-specific driver implements support for one of the
asymmetric operations. There ar
Author: jhb
Date: Thu Dec 3 22:06:08 2020
New Revision: 368316
URL: https://svnweb.freebsd.org/changeset/base/368316
Log:
Clear TLS offload mode if a TLS socket hangs without receiving data.
By default, if a TOE TLS socket stops receiving data for more than 5
seconds, revert the connecti
Author: jhb
Date: Thu Dec 3 22:01:13 2020
New Revision: 368314
URL: https://svnweb.freebsd.org/changeset/base/368314
Log:
Don't transmit mbufs that aren't yet ready on TOE sockets.
This includes mbufs waiting for data from sendfile() I/O requests, or
mbufs awaiting encryption for KTLS.
Author: jhb
Date: Thu Dec 3 21:59:47 2020
New Revision: 368312
URL: https://svnweb.freebsd.org/changeset/base/368312
Log:
Clear TLS offload mode for unsupported cipher suites and versions.
If TOE TLS is requested for an unsupported cipher suite or TLS
version, disable TLS processing and
Author: jhb
Date: Thu Dec 3 21:49:20 2020
New Revision: 368311
URL: https://svnweb.freebsd.org/changeset/base/368311
Log:
Fix downgrading of TOE TLS sockets to plain TOE.
If a TOE TLS socket ends up using an unsupported TLS version or
ciphersuite, it must be downgraded to a "plain" TOE s
uring shutdown and
not all interfaces that would be a happy-enough compromise that
would still satisfy the original PR?
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: jhb
Date: Wed Dec 2 23:16:24 2020
New Revision: 368289
URL: https://svnweb.freebsd.org/changeset/base/368289
Log:
MFC 355686: Fix a mismerge in r355683 and remove the local gdb_port from main.
PR: 251501
Reported by: Yuichiro NAITO
Modified:
stable/12/usr.sbin/bhyv
s
(arm64, riscv, mips) in the patch series that had functional changes and fixed
those while testing the functional changes.
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe,
Author: jhb
Date: Tue Dec 1 18:57:37 2020
New Revision: 368247
URL: https://svnweb.freebsd.org/changeset/base/368247
Log:
Fix a couple of typos.
Submitted by: rmacklem
Modified:
head/share/man/man4/ktls.4
Modified: head/share/man/man4/ktls.4
Author: jhb
Date: Tue Dec 1 18:22:34 2020
New Revision: 368245
URL: https://svnweb.freebsd.org/changeset/base/368245
Log:
Use uintptr_t instead of uint64_t for pointers in stack frames.
Reviewed by: andrew
Obtained from:CheriBSD
Sponsored by: DARPA
Differential Revision:
Author: jhb
Date: Tue Dec 1 18:08:22 2020
New Revision: 368242
URL: https://svnweb.freebsd.org/changeset/base/368242
Log:
Use uintptr_t for pointers in stack frames.
This catches up to the changes made to struct unwind_state in r364180.
Reviewed by: mhorne
Obtained from:Che
Author: jhb
Date: Tue Dec 1 17:17:22 2020
New Revision: 368241
URL: https://svnweb.freebsd.org/changeset/base/368241
Log:
Make stack_save*() more robust on MIPS.
- Validate any stack addresses read from against td_kstack before
reading. If an unwind operation would attempt to read out
Author: jhb
Date: Tue Dec 1 17:04:46 2020
New Revision: 368240
URL: https://svnweb.freebsd.org/changeset/base/368240
Log:
Add a kstack_contains() helper function.
This is useful for stack unwinders which need to avoid out-of-bounds
reads of a kernel stack which can trigger kernel faults.
d you known how are compiler guys creative
>> with generating of new warnings...
>> I known that C++17 have 'maybe_unused' attribute, but relationship to
>> standard '__unused' looks unclear.
>>
>> In any case, I have not single problem to change thi
Author: jhb
Date: Sat Nov 28 04:21:22 2020
New Revision: 368119
URL: https://svnweb.freebsd.org/changeset/base/368119
Log:
Suspend I/O on ahci-cd devices during a snapshot.
Submitted by: Vitaliy Gusev
Modified:
head/usr.sbin/bhyve/snapshot.c
Modified: head/usr.sbin/bhyve/snapshot.c
===
Author: jhb
Date: Sat Nov 28 04:06:09 2020
New Revision: 368118
URL: https://svnweb.freebsd.org/changeset/base/368118
Log:
bhyve: Add snapshot support for virtio-rnd.
This uses the same snapshot routine as other VirtIO devices.
Submitted by: Vitaliy Gusev
Differential Revision:
Author: jhb
Date: Sat Nov 28 03:54:48 2020
New Revision: 368117
URL: https://svnweb.freebsd.org/changeset/base/368117
Log:
bhyve: 'xhci,tablet' snapshot fixes
Permit suspend/resume of a XHCI device model that has not been
attached to by a driver in a guest OS.
Submitted by: Vitaliy G
Author: jhb
Date: Wed Nov 25 23:17:23 2020
New Revision: 368040
URL: https://svnweb.freebsd.org/changeset/base/368040
Log:
Add a manpage for kernel TLS.
This subsumes some of the content from tcp(4) describing the socket
options but also adds additional notes.
Reviewed by: gallatin,
> + pipelock(wpipe, 0);
> if (error != 0)
> break;
> + continue;
A continue as the last line of a while() loop seems spurious?
--
John Baldwin
___
svn-src-all@
ot &= ~PROT_MAX(protm);'.
As it is, if there are any invalid bits set, those are now lost. The change
to mask off only the PROT_MAX bits would preserve any invalid/unknown bits.
(To test, try passing -1 or the like as a prot value and comparing the
decoded output for kdump or truss.)
--
J
Author: jhb
Date: Wed Nov 25 01:31:00 2020
New Revision: 368008
URL: https://svnweb.freebsd.org/changeset/base/368008
Log:
Remove uses of CRIOGET in OCF tests after r368005.
Pointy hat to:jhb
Sponsored by: Chelsio Communications
Differential Revision:https://reviews.free
On 11/24/20 4:10 PM, John Baldwin wrote:
> Author: jhb
> Date: Wed Nov 25 00:10:54 2020
> New Revision: 368005
> URL: https://svnweb.freebsd.org/changeset/base/368005
>
> Log:
> Remove the cloned file descriptors for /dev/crypto.
>
> Crypto file descriptors wer
Author: jhb
Date: Wed Nov 25 01:09:58 2020
New Revision: 368007
URL: https://svnweb.freebsd.org/changeset/base/368007
Log:
Remove a reference to CRIOGET missed in r368005.
Modified:
head/share/man/man4/crypto.4
Modified: head/share/man/man4/crypto.4
==
On 11/24/20 4:10 PM, John Baldwin wrote:
> Author: jhb
> Date: Wed Nov 25 00:10:54 2020
> New Revision: 368005
> URL: https://svnweb.freebsd.org/changeset/base/368005
>
> Log:
> Remove the cloned file descriptors for /dev/crypto.
>
> Crypto file descriptors wer
it-svn.
>
> Reported By:jhb
>
> Modified:
> head/.arcconfig
In my case I wasn't using git svn, just using arc with git branches from
the GH mirror.
Thanks for fixing!
--
John Baldwin
___
svn-src-all@freebsd.
Author: jhb
Date: Wed Nov 25 00:10:54 2020
New Revision: 368005
URL: https://svnweb.freebsd.org/changeset/base/368005
Log:
Remove the cloned file descriptors for /dev/crypto.
Crypto file descriptors were added in the original OCF import as a way
to provide per-open data (specifically the
Author: jhb
Date: Tue Nov 24 23:56:33 2020
New Revision: 368004
URL: https://svnweb.freebsd.org/changeset/base/368004
Log:
Pull the check for VM ownership into ppt_find().
This reduces some code duplication. One behavior change is that
ppt_assign_device() will now only succeed if the dev
Author: jhb
Date: Tue Nov 24 23:18:52 2020
New Revision: 368003
URL: https://svnweb.freebsd.org/changeset/base/368003
Log:
Honor the disabled setting for MSI-X interrupts for passthrough devices.
Add a new ioctl to disable all MSI-X interrupts for a PCI passthrough
device and invoke it if
Author: jhb
Date: Tue Nov 24 22:52:12 2020
New Revision: 368002
URL: https://svnweb.freebsd.org/changeset/base/368002
Log:
Correct entries for manpages removed in r359374.
Reported by: Yuri Pankov
Sponsored by: Chelsio Communications
Modified:
head/ObsoleteFiles.inc
Modified: head/O
On 11/19/20 2:55 PM, John Baldwin wrote:
> On 11/9/20 1:49 PM, Michael Tuexen wrote:
>> Author: tuexen
>> Date: Mon Nov 9 21:49:40 2020
>> New Revision: 367530
>> URL: https://svnweb.freebsd.org/changeset/base/367530
>>
>> Log:
>> RFC 7323 specifies
old connection? The language in RFC 7323 3.2 is all about
segments on an existing connection, not segments from a new connection I think?
That is, I think we should perhaps move this check after the TH_SYN check so
that a mismatch doesn't prevent recycling?
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
On 11/18/20 8:52 PM, Mark Johnston wrote:
> On Wed, Nov 18, 2020 at 03:37:36PM -0800, John Baldwin wrote:
>> On 11/18/20 2:16 PM, Mateusz Guzik wrote:
>>> On 11/17/20, John Baldwin wrote:
>>>> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
>>> Interested parti
On 11/18/20 2:16 PM, Mateusz Guzik wrote:
> On 11/17/20, John Baldwin wrote:
>> On 11/14/20 11:22 AM, Mateusz Guzik wrote:
> Interested parties can check the consumer (also seen in the diff) to
> see this is for consistency. I don't think any comments are warranted
> in
Author: jhb
Date: Wed Nov 18 16:21:37 2020
New Revision: 367806
URL: https://svnweb.freebsd.org/changeset/base/367806
Log:
Fix a few nits in vn_printf().
- Mask out recently added VV_* bits to avoid printing them twice.
- Keep VI_LOCKed on the same line as the rest of the flags.
R
On 11/17/20 2:37 PM, Warner Losh wrote:
> On Tue, Nov 17, 2020 at 3:18 PM John Baldwin wrote:
>
>> On 11/14/20 2:34 PM, Warner Losh wrote:
>>> true, but a version bump forces that and versions are cheap enough...
>>
>> Strictly speaking, version bumps don
that, it mostly forces a rebuild, but that's
mostly a side effect, not due to explicit magic around __FreeBSD_version.
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe,
han inline (for better or for worse). Better would be:
static __inline void
credbatch_prep()
{
...
}
static __inline void
credbatch_process()
{
...
}
void credbatch_add();
void credbatch_final();
It seems you just have a duplicate credbatch_add() in fact.
Also, why have an empty inline
(refcount_releasen(&limp->pl_refcnt, n))
> + free((void *)limp, M_PLIMIT);
You don't need this cast.
--
John Baldwin
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Author: jhb
Date: Tue Nov 10 19:54:39 2020
New Revision: 367578
URL: https://svnweb.freebsd.org/changeset/base/367578
Log:
Clear tp->tod in t4_pcb_detach().
Otherwise, a socket can have a non-NULL tp->tod while TF_TOE is clear.
In particular, if a newly accepted socket falls back to non-T
Author: jhb
Date: Tue Nov 10 19:09:35 2020
New Revision: 367576
URL: https://svnweb.freebsd.org/changeset/base/367576
Log:
Add C startup code tests for PIE binaries.
- Force dynamic to be a non-PIE binary.
- Add a dynamicpie test which uses a PIE binary.
Reviewed by: andrew
Obt
Author: jhb
Date: Tue Nov 10 19:07:30 2020
New Revision: 367575
URL: https://svnweb.freebsd.org/changeset/base/367575
Log:
Fix dso_handle_check for PIE executables.
PIE executables use crtbeginS.o and have a non-NULL dso_handle as a
result.
Reviewed by: andrew, emaste
MFC after:
Author: jhb
Date: Tue Nov 10 19:04:54 2020
New Revision: 367574
URL: https://svnweb.freebsd.org/changeset/base/367574
Log:
Rename __JCR_LIST__ to __JCR_END__ in crtend.c.
This is more consistent with the names used for .ctor and .dtor
symbols and better reflects __JCR_END__'s role.
R
Author: jhb
Date: Sat Nov 7 16:20:37 2020
New Revision: 367449
URL: https://svnweb.freebsd.org/changeset/base/367449
Log:
MFC 366296: Avoid a dubious assignment to bio_data in aio_qbio().
A user pointer is not a suitable value for bio_data and the next block
of code always overwrites bio
Author: jhb
Date: Sat Nov 7 16:20:37 2020
New Revision: 367449
URL: https://svnweb.freebsd.org/changeset/base/367449
Log:
MFC 366296: Avoid a dubious assignment to bio_data in aio_qbio().
A user pointer is not a suitable value for bio_data and the next block
of code always overwrites bio
Author: jhb
Date: Fri Nov 6 23:37:59 2020
New Revision: 367437
URL: https://svnweb.freebsd.org/changeset/base/367437
Log:
Update copies of ioctl structures to match recent changes in head.
- Update for C99 types and void pointers.
- Update example algorithms to not use removed algorithms
Author: jhb
Date: Fri Nov 6 18:09:52 2020
New Revision: 367426
URL: https://svnweb.freebsd.org/changeset/base/367426
Log:
Use void * in place of caddr_t.
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision:https://reviews.freebsd.org/D27065
Modified:
Author: jhb
Date: Fri Nov 6 18:05:29 2020
New Revision: 367425
URL: https://svnweb.freebsd.org/changeset/base/367425
Log:
Group session management routines together before first use.
- Rename cse*() to cse_*() to more closely match other local APIs in
this file.
- Merge the old cs
Author: jhb
Date: Fri Nov 6 17:52:04 2020
New Revision: 367424
URL: https://svnweb.freebsd.org/changeset/base/367424
Log:
MFC 365642: Add constant for the DE_CFG MSR on AMD CPUs.
Modified:
stable/12/sys/amd64/amd64/initcpu.c
stable/12/sys/x86/include/specialreg.h
Directory Properties:
st
Author: jhb
Date: Fri Nov 6 00:15:52 2020
New Revision: 367410
URL: https://svnweb.freebsd.org/changeset/base/367410
Log:
Move cryptof_ioctl() below the routines it calls.
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision:https://reviews.freebsd.org
Author: jhb
Date: Fri Nov 6 00:10:58 2020
New Revision: 367409
URL: https://svnweb.freebsd.org/changeset/base/367409
Log:
Split logic to create new sessions into a separate function.
This simplifies cryptof_ioctl as it now a wrapper around functions that
contain the bulk of the per-ioctl
Author: jhb
Date: Fri Nov 6 00:07:46 2020
New Revision: 367408
URL: https://svnweb.freebsd.org/changeset/base/367408
Log:
MFC 365842,365844: Remove support for setting some obscure fields.
365842:
Remove support for setting some obscure fields.
Don't permit setting the exception bit
Author: jhb
Date: Fri Nov 6 00:07:46 2020
New Revision: 367408
URL: https://svnweb.freebsd.org/changeset/base/367408
Log:
MFC 365842,365844: Remove support for setting some obscure fields.
365842:
Remove support for setting some obscure fields.
Don't permit setting the exception bit
Author: jhb
Date: Thu Nov 5 23:42:36 2020
New Revision: 367407
URL: https://svnweb.freebsd.org/changeset/base/367407
Log:
Move cryptodev_cb earlier before it is used.
This is consistent with cryptodevkey_cb being defined before it is used
and removes a prototype in the middle of the file
Author: jhb
Date: Thu Nov 5 23:31:58 2020
New Revision: 367406
URL: https://svnweb.freebsd.org/changeset/base/367406
Log:
Check cipher key lengths during probesession.
OCF drivers in general should perform as many session parameter checks
as possible during probesession rather than when
Author: jhb
Date: Thu Nov 5 23:28:46 2020
New Revision: 367405
URL: https://svnweb.freebsd.org/changeset/base/367405
Log:
MFC 365280: Pass a valid mode with O_CREATE to open(2).
CheriABI is pickier about the arguments to open(2) and crashes with a
fault if a mode isn't passed to an open(
Author: jhb
Date: Thu Nov 5 23:28:05 2020
New Revision: 367404
URL: https://svnweb.freebsd.org/changeset/base/367404
Log:
Style fixes for function prototypes and definitions.
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision:https://reviews.freebsd.
Author: jhb
Date: Thu Nov 5 23:26:02 2020
New Revision: 367403
URL: https://svnweb.freebsd.org/changeset/base/367403
Log:
Don't modify the destination pointer in ioctl requests.
This breaks the case where the original pointer was NULL but an
in-line IV was used.
Reviewed by: markj
Author: jhb
Date: Thu Nov 5 22:35:45 2020
New Revision: 367401
URL: https://svnweb.freebsd.org/changeset/base/367401
Log:
MFC 365055: Fix a buffer overrun.
getln() returns 'len' valid characters. line[len] is out of bounds.
Modified:
stable/12/lib/libc/tests/resolv/resolv_test.c
Direct
Author: jhb
Date: Thu Nov 5 19:37:56 2020
New Revision: 367396
URL: https://svnweb.freebsd.org/changeset/base/367396
Log:
MFC 361810: Refer to AES-CBC as "aes-cbc" rather than "rijndael-cbc" for
IPsec.
At this point, AES is the more common name for Rijndael128. setkey(8)
will still acc
Author: jhb
Date: Wed Nov 4 17:22:12 2020
New Revision: 367336
URL: https://svnweb.freebsd.org/changeset/base/367336
Log:
MFC 359263: Use the newer EINTEGRITY error when authentication fails.
GELI used to fail with EINVAL when a read request spanned a disk
sector whose contents did not m
Author: jhb
Date: Tue Nov 3 22:53:23 2020
New Revision: 367311
URL: https://svnweb.freebsd.org/changeset/base/367311
Log:
Remove unnecessary __DECONST().
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision:https://reviews.freebsd.org/D27063
Modified:
Author: jhb
Date: Tue Nov 3 22:32:30 2020
New Revision: 367310
URL: https://svnweb.freebsd.org/changeset/base/367310
Log:
Replace some K&R function definitions with ANSI C.
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision:https://reviews.freebsd.or
Author: jhb
Date: Tue Nov 3 22:27:54 2020
New Revision: 367309
URL: https://svnweb.freebsd.org/changeset/base/367309
Log:
Consistently use C99 fixed-width types in the in-kernel crypto code.
Reviewed by: markj
Sponsored by: Chelsio Communications
Differential Revision:https://
Author: jhb
Date: Tue Nov 3 20:43:01 2020
New Revision: 367305
URL: https://svnweb.freebsd.org/changeset/base/367305
Log:
MFC 358556,360167: Add support for the TFTP windowsize option.
358556:
Add support for the TFTP windowsize option described in RFC 7440.
The windowsize option pe
Author: jhb
Date: Fri Oct 30 21:13:05 2020
New Revision: 367188
URL: https://svnweb.freebsd.org/changeset/base/367188
Log:
Use a dynamic buffer for the copy of a node's new value.
This permits setting a node's value to a string longer than BUFSIZ.
Reported by: Sony Arpita Das @ Chelsi
Author: jhb
Date: Fri Oct 30 21:05:50 2020
New Revision: 367187
URL: https://svnweb.freebsd.org/changeset/base/367187
Log:
Remove IF_SND_TAG_TYPE_TLS_RATE_LIMIT conditionals.
Support for TLS rate limit tags is now in the tree, so this macro is
always defined.
Reviewed by: hselasky
On 10/30/20 12:53 PM, Jung-uk Kim wrote:
> Author: jkim
> Date: Fri Oct 30 19:53:16 2020
> New Revision: 367185
> URL: https://svnweb.freebsd.org/changeset/base/367185
>
> Log:
> Add ossl(4) to cryptotest.
Thanks! My bad for missing th
1 - 100 of 7462 matches
Mail list logo