Age | Commit message (Collapse) | Author |
|
From BoringSSL's commit 53409ee3d7595ed37da472bc73b010cd2c8a5ffd
by David Benjamin.
ok djm, jsing
|
|
to the admin queue. We don't need to wait for or process the reply,
because the existing admin reply queue processing already does it.
ok dlg@
|
|
If a user thread from e.g. clock_settime(2) is in the midst of changing
the boottime or calling tc_windup() when it is interrupted by hardclock(9),
the timehands could be left in a damaged state.
So protect tc_windup() calls with a mutex, timecounter_mtx. hardclock(9)
merely attempts to enter the mutex instead of spinning because it cannot
afford to wait around. In practice hardclock(9) will skip tc_windup() very
rarely, and when it does skip there aren't any negative effects because the
skip indicates that a user thread is already calling, or about to call,
tc_windup() anyway.
Based on FreeBSD r303387 and NetBSD sys/kern/kern_tc.c,v1.30
Discussed with mpi@ and visa@. Tons of nice technical detail about
lockless reads from visa@.
OK visa@
|
|
|
|
Avoid reading possibly missing MSRs
ok guenther@
|
|
rdmsr_safe is used when reading potentially missing MSRs, to avoid
triggering #GPs in the kernel.
ok guenther
|
|
reported by naddy@ ok deraadt@
|
|
sshpkt_error(). The first one logs the error and exits (what we want)
instead of just logging and blundering on.
|
|
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
with & ok markus@
|
|
packet-related fatal error messages more context (esp. the remote endpoint)
ok markus@
|
|
almost exactly six years ago.
This change stops including the old packet_* API by default and makes
each file that requires the old API include it explicitly. We will
commit file-by-file refactoring to remove the old API in consistent
steps.
with & ok markus@
|
|
save a copy of the original argv.
|
|
openssl x509 -fingerprint
openssl crl -fingerprint
from sha1 to sha256
ok jsing@
|
|
need to start a new copy when LLADDR or SSID changes. Just go back to
S_PREBOOT and get a new lease.
Fewer log messages, faster join'ing new networks, simpler code.
|
|
failed
OK deraadt@
|
|
|
|
By default, nothing changes -- shutdown is initiated. But allows turning
power button into a sleep button if desired.
(grudging) ok from a few parties
|
|
|
|
to avoid confilicting with split isochronous transfer which use same TT.
ok mpi@
|
|
|
|
|
|
EVP_ENCODE_CTX_free(3). Docomuent them, in part using text
from OpenSSL that was still published under a free license.
|
|
|
|
|
|
VIRTIO_F_RING_INDIRECT_DESC is always negotiated by the transport
driver, no need to specify it explicitly.
VIRTIO_BALLOON_F_MUST_TELL_HOST is not offered but is handled in the
code. Offer it during negotiation, too.
|
|
|
|
Tweak spacing while here, no object change.
Feedback and OK procter, OK sceloha
|
|
that was entered too early are likely clobbered by the prompt.
Idea from doas.
from and ok djm
"i like it" deraadt
|
|
|
|
ok tb@
|
|
An earlier diff moved the top level page, this diff finishes the lower
layers. New pages are allocated for the existing hiererchy (which thus
benefit from random placement from pmemrange/etc). Existing managed
pages are returned to uvm (a small number of bootstrap pages are not
returned as they are allocated in locore0 and thus aren't managed).
ok deraadt
|
|
Check that the handshake message type received matches that required by the
state machine.
However, thanks to poor state design in the TLSv1.3 RFC, there is no way to
know if you're going to receive a certificate request message or not, hence
we have to special case it and teach the receive handler how to handle this
situation.
Discussed at length with beck@ and tb@ during the hackathon.
ok tb@
|
|
The I/O paths are from the tls13_handshake_send_action() and
tls13_handshake_recv_action() functions - both of these need to propagate
I/O conditions (EOF, failure, want poll in, want poll out) up the stack,
so we need to capture and return values <= 0. Use an I/O condition to
indicate successful handshake completion.
Also, the various send/recv functions are currently unimplemented, so
return 0 (failure) rather than 1 (success).
ok tb@
|