Age | Commit message (Collapse) | Author |
|
On vmd startup, log the AMD SEV PSP API and build number.
from hshoexer@; OK mlarkin@
|
|
for it.
|
|
|
|
fills up /usr/obj too quickly.
|
|
the important manual page EVP_EncryptInit(3). Belatedly adjust some
cross references.
|
|
|
|
kernel or there is no regress anchor.
discussed with claudio@ sashan@
|
|
|
|
This can help scripts using wsconsctl display.focus to perform vt switches.
From NetBSD via Sergiy Kopchalyuk.
|
|
delivery in cursig() a lot since most of that is no longer needed.
On top of this properly handle sending a blocked signal from gdb to
the debugged process by putting the signal into to proc p_siglist.
OK kettenis@
|
|
Use atomic operations to make explicit where access from multiple
CPU happens. Add a comment why sbchecklowmem() is sufficently MP
safe without locks.
OK mvs@ claudio@
|
|
The psp.c source is restricted in makefile with .if ${MACHINE} ==
"amd64" so use #ifdef __amd64__ around the call to psp_setup(). On
arm64 set vmd_psp_fd to an invalid value.
OK hshoexer@ mlarkin@
|
|
|
|
|
|
of up to 8 handlers, one arrays par ipl level. Eventually the interrupt
logic was changed to linked lists, but the arrays remained, even when
the pending interrupt structures were moved to per-cpu data.
Simplify this by only keeping a pointer to the list head, per ipl level;
update the computations in locore accordingly, and update the relevant
comments to match reality as well.
ok kettenis@
|
|
OK claudio@
|
|
a struct clockframe rather than a struct trapframe, more visible. No
functional change.
ok claudio@ kettenis@
|
|
ok miod@, kettenis@
|
|
ok miod@, kettenis@
|
|
|
|
be more robust against bogus edid data.
|
|
|
|
requested by jsing
|
|
This was about as unreadable as four lines of code doing a trivial thing
can get...
ok jsing
|
|
Switch from artistic free reinterpretations of public API in the same file
to calling the real thing if possible.
This means that we need to copy the group's coefficients first instead of
last, so that we can call EC_GROUP_set_generator() to set - yes - all three
of generator, order, and cofactor of the group.
However, we may not have a generator yet since for some reason it is an
optional field and some code relies on that. In that case simply copy over
order and cofactor and punt on sanity checking for now (since this API
never did that anyway).
Finally set the seed using EC_GROUP_set_seed() instead of using a custom
reimplementation.
ok jsing
|
|
Use a single cleanup path, use calloc rather than setting several members
to 0/NULL. This has the side effect that finished can be called even when
init() wasn't called, but this isn't an issue with our EC_GROUP_METHODs.
ok jsing
|
|
While there, remove unused defines.
|
|
messages it may print are tied to the particular device it concerns.
|
|
|
|
|
|
|
|
Apparently it's important that five trivial one-line wrappers remain in a
file with the ISC license. So instead of cleaning the root directory of our
favorite pigsty further by squashing all the useless legacy garbage into a
single file, rename the oddly-named malloc-wrapper.c into crypto_memory.c.
discussed with beck, jsing
|
|
Use shutdown and init to reset psp(4) on vmd(8) startup. This helps
when hacking on vmd(8) and crashing it. The psp(4) reset cleans
up all remnants of dead VMs from psp(4). Otherwise one would have
to reboot the machine.
from hshoexer@; OK mlarkin@
|
|
Inspired by mvs@ idea of the iterator in the UDP multicast loop,
implement the same for raw IP input delivery. This removes an
unneccesary rwlock and only uses table mutex.
When comparing the inp routing table, address and port, the table
lock must be held. So assume that in_pcb_iterator() already has
the table mutex and hold it while traversing the list and doing the
checks. Release the mutex during mbuf copy, socket buffer append
and the upcalls. Adapt the logic for both rip_input() and udp_input().
In rip_input() move the actual work to rip_sbappend(). This can
be called without mutex during list traversal and for the final
element.
OK mvs@
|
|
the need for CLKF_BASEPRI in OpenBSD 3.2. Rename it to stress the fact that
it is no longer used.
|
|
|
|
|
|
|
|
ok tb
|
|
ok miod@, kettenis@
|
|
|
|
|
|
with tweaks from tb@, mbuhl@ and jmc@
ok tb@
|
|
ok claudio
|
|
The first time a pending stop should result in a stopped thread but
the second call should not call proc_stop since the sleep is done and
the proc should continue as SONPROC until it hits the next cursig call.
Fix for a panic seen by bluhm@
OK mpi@
|
|
Reviewed by miod@, ok tb@, beck@
|
|
ok kettenis@
|
|
removed quite many years ago. Drop the _emul component of config machinery
symbol names, and merge the wsdisplay_emul_smth with wsdisplay_common_smth
as they are their only users.
No functional change, but you need to rerun config(8) on your kernels.
|
|
Keep entries sorted by vendor.
ok miod@, mlarkin@
|
|
September 9th, 2001 when the Unix epoch exceeded one billion; another
column alignment will be needed once the Unix epoch exceeds ten billions,
but it will not happen until November 20th, 2286.
ok miod@, sthen@, and millert@
|