summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-06Prepare for an upcoming tlsfuzzer test that expects decode_errorTheo Buehler
when we send illegal_parameter. Shrug.
2024-09-06Fix KUBSAN by adding invalid builtin detection, as needed by our current clang.Moritz Buhl
ok anton@
2024-09-06Document float cast overflow detection.Moritz Buhl
ok anton@
2024-09-06spelling; ok mglocker@Jonathan Gray
2024-09-06Reenable AES-NI in libcryptoTheo Buehler
The OPENSSL_cpu_caps() change after the last bump missed a crucial bit: there is more MD mess in the MI code than anticipated, with the result that AES is now used without AES-NI on amd64 and i386, hurting machines that previously greatly benefitted from it. Temporarily add an internal crypto_cpu_caps_ia32() API that returns the OPENSSL_ia32cap_P or 0 like OPENSSL_cpu_caps() previously did. This can be improved after the release. Regression reported and fix tested by Mark Patruck. No impact on public ABI or API. with/ok jsing PS: Next time my pkg_add feels very slow, I should perhaps not mechanically blame IEEE 802.11...
2024-09-06Allow tracing interrupts by defering the wakeup(9) to a different context.Martin Pieuchot
It is currently not safe to call wakeup(9) in interrupt handlers at a priority higher than IPL_SCHED. As long as dt(4) relies on generic kernel primitives we have to play tricks to be able to inspect more parts of the kernel. In this case defer the wakeup(9) to a custom soft-interrupt. This will be good enough as long as we don't add tracepoints to the soft-interrupt machinery. A more complex & viable solution would be to not rely on the kernel generic IPC to avoid recursion. From visa@ and Christian Ludwig, ok claudio@
2024-09-06Remove incorrect increment of the context switch counter.Martin Pieuchot
From Christian Ludwig. ok claudio@
2024-09-06Regression for '%c'.Martin Pieuchot
From Christian Ludwig.
2024-09-06Interpret the argument of '%c' as an integer instead of a string.Martin Pieuchot
From Christian Ludwig.
2024-09-06Adjust documentation to work without X509_LOOKUP_by_subject()Theo Buehler
X509_LOOKUP_by_subject() was made internal a while back. Its documentation was very detailed, so this was a bit of a tangle to undo.
2024-09-06Repair build with gcc.Miod Vallat
2024-09-06syncAnton Lindqvist
2024-09-06match on Lunar LakeJonathan Gray
2024-09-06regenJonathan Gray
2024-09-06add Intel Lunar Lake idsJonathan Gray
from: Intel Core Ultra 200V Series Processors Datasheet, Volume 1 of 2, Doc. No.: 829568, Rev.: 001 additional graphics ids from Mesa
2024-09-06make parsing user@host consistently look for the last '@' in theDamien Miller
string rather than the first. This makes it possible to use usernames that contain '@' characters. Prompted by Max Zettlmeißl; feedback/ok millert@
2024-09-05Bump versionClaudio Jeker
2024-09-05sync with baseTheo Buehler
2024-09-05Avoid out-of-bounds pointer arithmetic in inflateCopy().Theo Buehler
from upstream, no ABI or API change. ok beck deraadt
2024-09-05In ddb(4) print mbuf chain and packet list.Alexander Bluhm
For debugging hardware offloading, DMA requirements, bounce buffers, and performance optimizations, knowing the memory layout of mbuf content helps. Implement /c and /p modifiers in ddb show mbuf. It traverses the pointer m_next for mbuf chain or m_nextpkt for packet list. Show mbuf type, data offset, mbuf length, packet length, cluster size, and total number of elements, length and size. OK claudio@ mvs@
2024-09-05Sync to unbound 1.21.0; heavy lifting by sthenFlorian Obser
parse_edns_from_query_pkt() grew a parameter to handle cookies, which we don't use.
2024-09-05Update libexpat to version 2.6.3.Alexander Bluhm
Relevant for OpenBSD are security fixes #887 #890 #888 #891 #889 #892, other changes #886 #885, infrastructure #880. No library bump necessary. CVE-2024-45490 CVE-2024-45491 CVE-2024-45492 OK tb@ deraadt@
2024-09-05have sysmerge and sysupgrade Xr each other;Jason McIntyre
diff originally from peter n. m. hansteen ok ajacoutot
2024-09-05note that "|" and ":include:" are disallowed for root;Jason McIntyre
prompted by mail from illya meyer ok gilles
2024-09-05retire this older version of forward(5) to the atticJason McIntyre
(whilst retaining the smtpd copy); ok op gilles
2024-09-05remove note falsely claiming that :include: is disallowedJason McIntyre
(it is, but only for root, which i'll address in separate commit); ok mp gilles
2024-09-05drm/amd/display: avoid using null object of framebufferJonathan Gray
From Ma Ke f6f5e39a3fe7cbdba190f42b28b40bdff03c8cf0 in linux-6.6.y/6.6.49 3b9a33235c773c7a3768060cf1d2cf8a9153bc37 in mainline linux
2024-09-05drm/amdgpu/swsmu: always force a state reprogram on initJonathan Gray
From Alex Deucher 39defab0ebf0872b7a84deafbe903c8e30da7748 in linux-6.6.y/6.6.49 d420c857d85777663e8d16adfc24463f5d5c2dbc in mainline linux
2024-09-05drm/amdgpu: align pp_power_profile_mode with kernel docsJonathan Gray
From Alex Deucher 11182b33faf3ee80f5ea042a465b26a23e257f8a in linux-6.6.y/6.6.49 8f614469de248a4bc55fb07e55d5f4c340c75b11 in mainline linux
2024-09-04regenDavid Gwynne
2024-09-04add PLX PEX 8718 and SK hynix PC601 devices.David Gwynne
The PEX 8718 is used on a QNAP QM2-2P-something card, and we have a couple of pc601 nvme ssds plugged into it.
2024-09-04Push acpi(4) _CRS parsing down after matching skippable and ISA hardware IDs.James Hastings
ok kettenis@
2024-09-04Work around vnode reuse bug resulting in a panic: vop_generic_badopBob Beck
Joel hit this frequently on the go builder, and this was also found by szykiller https://syzkaller.appspot.com/bug?extid=58bdde9f7a1a407514a7 https://syzkaller.appspot.com/bug?extid=5779bc64fc4fdd0a5140 This is based on a workaround originally done by visa@ and mbuhl@ but not committed or widely distributed. Realistically this should be fixed more like the previous attempt with vdoom, but my attempts to do this at the moment are colliding with finding all sources of similar races, now that kernel unlocking is exposing these previously existing bugs for now, let's put in this ugly workaround ok deraadt@
2024-09-04vmm: set highest cpuid feature leaf based on host cpu.Dave Voutila
Fixes Linux guests on older Intel hardware. vmm was reporting a value that doesn't match the host. Cap it at the highest value vmm currently emulates. ok bluhm@, ratchov@
2024-09-04Remove deprecated '-r' command line optionJob Snijders
OK tb@ claudio@
2024-09-04Qualifying nexthops via BGP does not properly work since nexthops needClaudio Jeker
to be rechecked when a BGP route is added (or changed). We need to revalidate nexthops on inserts (kroute_insert) and on change (krX_change but only for AID_INET and AID_INET6 -- no nexthops in the other tables) the nexthop needs to be updated. Only validate nexthops if 'nexthop qualify via bgp' is enabled. For route changes the code can depend on the F_NEXTHOP flag. Fix for: https://github.com/openbgpd-portable/openbgpd-portable/issues/81 OK tb@
2024-09-04list the other doc pspvar.h mentions, add publication numbersJonathan Gray
ok jmc@
2024-09-04correct .OBJDIR use; from Denis BodorTheo de Raadt
2024-09-04regenJonathan Gray
2024-09-04Call pfkey_remove() only after the Session Engine finished reloading itsClaudio Jeker
configuration. Doing so before could result in some messages being sent out without proper TCP-MD5 signature. Fix for: https://github.com/openbgpd-portable/openbgpd-portable/issues/82 OK tb@
2024-09-04add psp(4) manual pageJonathan Gray
ok jmc@ bluhm@
2024-09-04merge unbound 1.21.0Stuart Henderson
2024-09-04import unbound 1.21.0, ok phessler florianStuart Henderson
2024-09-04vio: put enqueue and dmasync into a functionStefan Fritsch
Before we enqueue with VIO_DMAMEM_ENQUEUE(), we always sync with VIO_DMAMEM_SYNC(). In order to reduce verbosity, create a function that does both. ok bluhm@
2024-09-04Update bsd.port.mk(5) DISTFILES* description - it no longer uses :0 to :9Stuart Henderson
to select different SITES, the mechanism changed to SITES.somename / DISTFILES.somename.
2024-09-04wrap long linesJonathan Gray
2024-09-04Fix some spelling.Marcus Glocker
Input and ok jmc@, jsg@
2024-09-04Missing RCSIDTheo Buehler
2024-09-04remove unused timeout from softcJonathan Gray
2024-09-04make psp attach to ccp as a different driverJonathan Gray
'fine with me' hshoexer, ok bluhm@