1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-24 06:04:47 +00:00
Commit Graph

241688 Commits

Author SHA1 Message Date
naddy
a7edf25a2c add 8.0 packages key 2025-10-25 19:39:43 +00:00
tb
1ff8d81aaa Simplify tls13_server_hello_build()
There's no need to pass in the hrr parameter as it is redundant with
the tls13.hrr flag. This avoids boolean blindness in the caller and
removes a leftover from before we had tls13.hrr.

ok jsing kenjiro
2025-10-25 12:31:44 +00:00
tb
61d6733dbb sync 2025-10-24 15:22:48 +00:00
bluhm
710ece6a62 Use softnet threads for socket splicing.
Socket splicing was running on one dedicated kernel thread.  This
design comes from the time when softnet was still a soft interrupt.
Now with multiple softnet threads, retire the sosplice thread.
Instead call sotask() from a softnet task queue.  Thus it can run
in parallel.
Keep the same softnet to take a bunch of packets from the network
driver, do input processing, and store data in socket buffers.  Then
the same thread runs the splicing task, calls somove() and does
output processing.  There is no concurrent locking or scheduling,
ideally packets stay on the same CPU.  For that sosplice() remembers
the task queue that matches the flowid of the source socket.

OK mvs@
2025-10-24 15:09:56 +00:00
tb
30994a3341 Add missing Nm line for SSL_SESSION_dup 2025-10-24 13:18:22 +00:00
mvs
ee2f86395c Unlock ICMPV6CTL_ERRPPSLIMIT case of icmp6_sysctl().
`icmp6errppslim' is the last one of locked `icmpv6ctl_vars'. It is the
integer loaded once within icmp6_ratelimit() which called from two
paths. The first one is icmp6_do_error() which always called in the endo
of error path. The second one is icmp6_redirect_output() where the usage
is similar to already unlocked `ip6_forwarding', except that
icmp6_ratelimit() called only once. So we don't need to cache
`icmp6errppslim' anywhere.

Since icmp6_sysctl() became mp-safe, unlock it too.

ok bluhm.
2025-10-24 11:51:49 +00:00
tb
782080cb4f Add some regress coverage for SSL_SESSION_dup()
ok kenjiro
2025-10-24 11:45:08 +00:00
tb
a6fb66d5df The ssl_verify_param.c test can now link dynamically against libcrypto 2025-10-24 11:44:08 +00:00
tb
c982485a51 Use X509_VERIFY_PARAM_get_hostflags() prototype from x509_vfy.h 2025-10-24 11:43:34 +00:00
tb
a84b7651e1 sync libc and libressl minors 2025-10-24 11:41:09 +00:00
tb
0b86dd8dfa bump lib{crypto,ssl,tls} minors after symbol addition 2025-10-24 11:38:06 +00:00
tb
13eed19da9 Document SSL_SESSION_dup(3)
ok kenjiro
2025-10-24 11:36:54 +00:00
tb
b282dc9891 Provide SSL_SESSION_dup()
As reported by ajacoutot and sthen, an update to net/neon is blocked on
that missing symbol.

ok kenjiro
2025-10-24 11:36:08 +00:00
tb
ad318a25c9 Document X509_VERIFY_PARAM_set_hostflags(3)
ok kenjiro
2025-10-24 11:34:23 +00:00
tb
d28609239a Expose X509_VERIFY_PARAM_get_hostflags()
This is needed by Python 3.14, extending the urllib3 nonsense further.
This is a trivial getter and it is exercised by the libssl unit test
I added for urllib3 (which can now use dynamic linking for libcrypto).

Fixes https://github.com/libressl/portable/issues/1202
Thanks to @orbea for the report.

ok kenjiro

PS: X509_VERIFY_PARAM_get_flags() and X509_VERIFY_PARAM_get_peername()
aren't const correct. Fixing this will require some doing...
2025-10-24 11:33:38 +00:00
claudio
7fe1ab940a Implement ffsl() and ffsll() using the compiler builtin __builtin_ctzl
now that all archs use at least gcc4.
ffsl() and ffsll() are now part of POSIX.
OK deraadt@, input from miod@ and jsg@
2025-10-24 11:30:06 +00:00
robert
11069bc47f add 8.0 syspatch key 2025-10-24 10:06:39 +00:00
tb
70f0cdd2fe libssl: const correct the ssl_session_dup() helper
This allows a const correct SSL_SESSION_dup() implementation at the cost
of casting away const due to the const incorrect CRYPTO_dup_ex_data()...
(I should look into fixing that, but things like rust-openssl make that
hard at this point in the release cycle.)

ok kenjiro (as part of a larger diff)
2025-10-24 09:23:06 +00:00
rsadowski
b12eca43cd Remove gcc3
OK sthen@
2025-10-24 08:10:37 +00:00
jmatthew
18c34b8a1d regen 2025-10-24 06:45:47 +00:00
jmatthew
4bee56f0b0 add some newer Broadcom NetXtreme-E (BCM5750x) device ids 2025-10-24 06:44:55 +00:00
anton
e0f32e59be Fix fallout from gcc3 removal by using another arbitrary large XML for
libexpat benchmarks.
2025-10-24 05:14:25 +00:00
jsg
f7635e2c04 drm/draw: fix color truncation in drm_draw_fill24
From Francesco Valla
33fee60d39b7bdea7167220d49e799701b2f4897 in linux-6.12.y/6.12.55
095232711f23179053ca26bcf046ca121a91a465 in mainline linux
2025-10-24 02:12:09 +00:00
jsg
c5d3e7d5ef drm/amd/powerplay: Fix CIK shutdown temperature
From Timur Kristof
e4628ada9b95412b41656e152bbfdd753a1af173 in linux-6.12.y/6.12.55
6917112af2ba36c5f19075eb9f2933ffd07e55bf in mainline linux
2025-10-24 02:10:08 +00:00
jsg
bba2ca2eeb drm/amdgpu: fix handling of harvesting for ip_discovery firmware
From Alex Deucher
87b634c375098f0fe721924681f0aa80f10a7339 in linux-6.12.y/6.12.55
357d90be2c7aaa526a840cddffd2b8d676fe75a6 in mainline linux
2025-10-24 02:07:24 +00:00
jsg
402f067172 drm/amdgpu: add support for cyan skillfish without IP discovery
From Alex Deucher
0a77caacc1d37ff4701d3175dc3fe61dbe659096 in linux-6.12.y/6.12.55
9e6a5cf1a23bf575e93544ae05585659063b1c18 in mainline linux
2025-10-24 02:05:16 +00:00
jsg
17a8f79dbc drm/amdgpu: add ip offset support for cyan skillfish
From Alex Deucher
90653d924b6bed7455fa2db73065398291647220 in linux-6.12.y/6.12.55
e8529dbc75cab56fc3c57830d0fd48cbd8911e6c in mainline linux

drm/amdgpu: fix SPDX header on cyan_skillfish_reg_init.c
From Alex Deucher on amd-gfx mailing list
2025-10-24 02:02:27 +00:00
jsg
62b1258e04 drm/i915/guc: Skip communication warning on reset in progress
From Zhanjun Dong
657e8f9f7489a7a8ef5dbb5d66f6612347298cba in linux-6.12.y/6.12.55
1696b0cfcf004a3af34ffe4c57a14e837ef18144 in mainline linux
2025-10-24 01:57:01 +00:00
jsg
117dd312e2 drm/amd: Check whether secure display TA loaded successfully
From Mario Limonciello
03fe1647e26534d0b2c2a974f40dd5c5b208723c in linux-6.12.y/6.12.55
c760bcda83571e07b72c10d9da175db5051ed971 in mainline linux
2025-10-24 01:55:23 +00:00
jsg
6e318bf451 drm/amdgpu: fix gfx12 mes packet status return check
From Jonathan Kim
e5914820d35126c16c4e0a4ef36513f9679e9e45 in linux-6.12.y/6.12.55
d0de79f66a80eeb849033fae34bd07a69ce72235 in mainline linux
2025-10-24 01:53:52 +00:00
jsg
b5757a07fe drm/amdgpu: use atomic functions with memory barriers for vm fault info
From Gui-Dong Han
e4937f3ef9250ad79e6a972adb9cc4d7fa9bc6eb in linux-6.12.y/6.12.55
6df8e84aa6b5b1812cc2cacd6b3f5ccbb18cda2b in mainline linux
2025-10-24 01:51:28 +00:00
jsg
a190b5770a drm/sched: Fix potential double free in drm_sched_job_add_resv_dependencies
From Tvrtko Ursulin
e5e3eb2aff92994ee81ce633f1c4e73bd4b87e11 in linux-6.12.y/6.12.55
5801e65206b065b0b2af032f7f1eef222aa2fd83 in mainline linux
2025-10-24 01:49:13 +00:00
deraadt
4e92f871a1 sync 2025-10-24 01:43:22 +00:00
miod
4959bc61fd Undo a bad mistake; spotted by brynet@ 2025-10-23 20:42:52 +00:00
miod
63b970ffac Remove more dead beef. 2025-10-23 20:40:31 +00:00
miod
2f48d963cf Sync with reality (no more 3.3.6) 2025-10-23 20:00:24 +00:00
miod
54449f37da Don't try to install {,un}protoize manpages, they no longer exist. 2025-10-23 19:35:56 +00:00
miod
9069d57f4c gcc3 is leaving the building. 2025-10-23 19:10:32 +00:00
miod
acc7c06d1c gcc3 is leaving the building.
(removal done in several commits to avoid hitting
 "Protocol error: too many arguments" errors)
2025-10-23 19:09:49 +00:00
miod
43de91522a gcc3 is leaving the building. 2025-10-23 19:08:32 +00:00
miod
27664962f0 Prepare for gcc 3 leaving the building, COMPILER_VERSION can no longer get
set to "gcc3".
2025-10-23 19:06:09 +00:00
miod
7e7bebd08c Revert the "gcc3 doesn't support anonymous unions that much" workarounds.
I promised claudio@ these wouldn't last long, and we're barely above 18
months.
2025-10-23 18:55:30 +00:00
miod
e4ebf5d0a7 Revert previous (r1.5) now that all platforms support
__attribute__((warn_unused_result)).
2025-10-23 18:53:08 +00:00
miod
67aa317b5c Remove gcc3 workaround in UVCHR_IS_INVARIANT(). 2025-10-23 18:50:38 +00:00
miod
1c86e9db25 Revert r1.286 now that all supported platforms have __builtin_clz. 2025-10-23 18:49:46 +00:00
miod
366a3d261b Sets update due to compiler change. 2025-10-23 18:47:15 +00:00
miod
8af89694b2 After many years, much procrastinating, and an undisclosed yet huge amount of
hair pulling, switch m88k (luna88k) to gcc4.
2025-10-23 18:46:53 +00:00
krw
578eeb7d2e Don't segfault when entering an invalid partition name. Print
intended help message instead.

Passing a char variable (maxpart) to a '%s' format makes
fprintf() unhappy. Use the actual string (partitionnames)
instead.

Nuke maxpart and set partitionnames depending on
MAXPARTITIONS.

ok deraadt@
2025-10-23 15:12:52 +00:00
sthen
6cdaebff99 add 8.0 fw key 2025-10-23 14:41:08 +00:00
deraadt
3ead09f415 add 80 base key 2025-10-23 14:32:26 +00:00