summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-26Implement dt(4) utrace support on amd64 and i386.Claudio Jeker
This adds stacktrace_save_utrace() to extract and save the userland stack which is stubbed out on most archs. alpha and riscv64 do not even implement dt(4) and stacktrace_save_at() so the stubs are excluded there. Additionally add a new ioctl DTIOCGETAUXBASE which allows btrace to fetch the AUX_BASE vallue from the AUX vector of a process. OK mpi@ (some time ago) discussed with kettenis@
2023-04-26Improve accounting by tracking things by repo and tal.Claudio Jeker
This fixes some wrong accounting for repositories that are referenced from more than one TAL. It changes the ometric lable output a little bit since there are repository metrics that no longer include the 'name' label. OK tb@
2023-04-26Reodrer some things to fix vmctl/vmd builds after the vmm MI/MD splitMike Larkin
2023-04-26Fix vmd after vmm MI/MD splitMike Larkin
2023-04-26Remove +20y old rt_timer_init() commentKlemens Nanni
Obsolete since last year's r1.411 "Rework the rttimer code." OK claudio
2023-04-26Incorporate r1.140 and r1.141 of vmm.c:Mike Larkin
---------------------------- revision 1.341 date: 2023/04/26 09:39:56; author: dv; state: Exp; lines: +3 -3; commitid: 1XztmVbxa8OP2xYi; Unbreak vmm on Intel. Mistakenly enabled CET on non-CET systems. Found by anton@ & jsg@ ---------------------------- revision 1.340 date: 2023/04/24 16:53:57; author: dv; state: Exp; lines: +11 -1; commitid: q9qQ55f7h2gen8N4; vmm(4): allow guests to enable and use supervisor IBT. Why should hosts have all the fun? Conditionally unmask the cpuid bits for IBT and allow r/w access to the supervisor CET msr. Will need revisiting when we introduce usage of userland CET msr.
2023-04-26typofix rttimer commentKlemens Nanni
2023-04-26Integrate r1.339 of vmm.c which I missed during the previous MI/MD splitMike Larkin
--- revision 1.339 date: 2023/04/22 18:27:28; author: guenther; state: Exp; lines: +3 -3; commitid: ajtkYPSAhtJdB488; Rename the XCR0_* #defines to XFEATURE_* and add the new supervisor-state features: while all are appropriate for xsaves/xrstors, the supervisor-state features aren't for xcr0 but rather for the new XSS_MSR, making the current names kinda confusing. Add #defines for masking bits for xcr0 vs XSS. Add and report the new XSAVE_XFD xsave subfeature bit. ---
2023-04-26vmm.c -> vmm_machdep.c (remove old file)Mike Larkin
2023-04-26Fix splassert noticed by sthenBob Beck
Called wrong incore when not holding bio. ok claudio@
2023-04-26Refactor MD/MI parts of vmm.Mike Larkin
ok dv, deraadt
2023-04-26Document those BIO_ctrl(3) command constantsIngo Schwarze
that correspond to more than one macro each.
2023-04-26Don't rely on the disklabel defaults or a disktab entry's ba#/fa#Kenneth R Westerback
values for the block/fragment sizes that some install media need. Hoist the desired values into the newfs(8) invocations to make it obvious non-default values are required and what the values are. No functional change. ok kn@
2023-04-26Fix my email address.Mark Kettenis
2023-04-26During boot we have a protective and restrictive pf ruleset during the timePeter Hessler
we are running netstart, and then load the pf.conf ruleset after all of the interfaces are loaded. Allow in and out IPv6 neighbor advertisement traffic without state during that time. suggestions/OK from saschan@ OK sthen@ kn@ florian@ deraadt@
2023-04-26Remove the now unused bio_pk7.cTheo Buehler
2023-04-26Move BIO_new_PKCS7() to the the other streaming stuff in pk7_mime.cTheo Buehler
2023-04-26KNF nitTheo Buehler
2023-04-26Clean up ec.h a little.Theo Buehler
The doxygen comments are either obvious or otherwise unhelpful and generally an eye sore. Go read the manpage if the header isn't enough.
2023-04-26Nuke variable 'LBA'. Always set for ramdisk_cd, never set forKenneth R Westerback
ramdisk, so just keep or remove the conditional sections. ok kn@ miod@
2023-04-26Properly handle userland branch target traps.Mark Kettenis
ok deraadt@, patrick@
2023-04-26Backout previous commit:Alexander Bluhm
Do not grab the `vmmaplk' recursively, prevent a self-deadlock. It causes panic: uvm_map_pageable_wire: stale map Found by regress/misc/posixtestsuite conformance/interfaces/mmap/18-1 requested by deraadt@
2023-04-26Parameter names are not neededJob Snijders
2023-04-26Remove unneeded parenthesesJob Snijders
2023-04-26No need to pass around const pointer cpder2Job Snijders
Suggested by tb@
2023-04-26Shrink signature as cpder is only needed as local variableJob Snijders
Suggested by tb@
2023-04-26whitespace fixMike Larkin
2023-04-26Replace macros with functionsJob Snijders
Requested by tb@
2023-04-26regress: remove vmd path length tests.Dave Voutila
These add no value and we'd now that we don't artificially limit path lengths just be updating them to check PATH_MAX.
2023-04-26Don't redeclare s, it's already there.Bob Beck
noticed by miod@ ok kettenis@
2023-04-26Fix missing splbio() needed in nfsBob Beck
ok claudio@ kettenis@
2023-04-26Unbreak vmm on Intel. Mistakenly enabled CET on non-CET systems.Dave Voutila
Found by anton@ & jsg@
2023-04-26Some more EC2M cleanupTheo Buehler
2023-04-26Rotate the console in amdgpu when there is an orientation quirk.Anthony J. Bentley
ok jsg@
2023-04-26Garbage collect test using the nseq commandTheo Buehler
reminded by anton
2023-04-26Rename dercache regress test to x509_asn1Job Snijders
Requested by jsing@
2023-04-26Fix typo in comment: default scalue values -> default scale valuesAnthony J. Bentley
2023-04-26Remove e_old.c againTheo Buehler
Also remove nonexistent symbols #defined to other symbols that confuse some linkers in -portable. This commit entails no ABI change on OpenBSD. Discussed with jsing
2023-04-26Declare sendsyslog to match its man pageGreg Steuck
This simplifies syzkaller revival after the removal of __syscall. OK bluhm, millert, deraadt
2023-04-26Add parent to nvgre in ifconfig.8.ASOU Masato
ok david@
2017-10-11Add regression tests for vmd(8) config parsing.Alexander Bluhm
from Carlos Cardenas; OK mlarkin@
2023-04-26Check for ProxyJump=none in CanonicalizeHostname logic.Damien Miller
Previously ssh would incorrectly refuse to canonicalise the hostname if ProxyJump was explicitly set to "none" when CanonicalizeHostname=yes bz3567; ok dtucker
2023-04-26Also set TSO flag on vlan interfaces.Jan Klemkow
with tweaks from bluhm, claudio and dlg I fine with it from claudio looks good to me from dlg ok bluhm
2023-04-25Reinstate e_old.c it is still used by -portableTheo Buehler
2023-04-25Fix white space.Alexander Bluhm
2023-04-25regenMark Kettenis
2023-04-25Add RK3588.Mark Kettenis
2023-04-25Add regress test for invalidation of DER cache in select X509 setter functionsJob Snijders
2023-04-25Remove documentation of BN_BLINDING_{g,s}et_thread_idTheo Buehler
2023-04-25e_old can also goTheo Buehler