Age | Commit message (Collapse) | Author |
|
The "no_certificate" alert only existed in SSLv3, while the
"decryption_failed" and "export_restriction" alerts were removed in
TLSv1.1.
ok tb@
|
|
and mark the partition dirty only if something changed.
More aligned with gedit() and safer when invoked directly from
Xsetpid().
|
|
|
|
past the address where alternate partition entries would be
written.
Just adjust the GPT header value (gh_lba_end) to the highest safe
value and carry on.
Issue encountered in the wild by mlarkin@ while accessing some
disk images.
ok deraadt@
|
|
|
|
partitions into the disklabel.
First, since the alt header is never accessed there is no need to
worry about it being inaccessible.
Second, the GPT header claiming to cover more sectors than the
device has is no reason to ignore all the partitions. The
partition actually present could still be useful.
Issues encountered in the wild by mlarkin@ while accessing some
disk images.
ok deraadt@
|
|
|
|
ok deraadt@ kettenis@
|
|
fix some register number. Drop reading the Interrupt Pending register
in the interrupt handler as this was actually reading the Interrupt Enable
register and the bits that were checked were always true. Fix bogus
code in sfuartcnputc() and simplyfy sfuartcngetc(). Throw in some
style fixes for good measure.
|
|
from fkr
|
|
|
|
|
|
pointed out by jsg@
|
|
|
|
|
|
console input and output working, userland input and output at least
partially working.
'commit that driver, further improvements can happen in-tree' deraadt@
|
|
|
|
code from GPT_init() into init_gh().
|
|
Seen on SiFive Unmatched stock image provided by mlarkin@.
|
|
Restore original gh/gp if initialization fails.
No other functional change.
|
|
in gpt.c. Move declarations and rename to get_header() and
get_partition_table().
No functional change.
|
|
|
|
|
|
from miod; ok millert
while here, knock out an instance of ".Tn"
|
|
SiFive FU740 SoC.
ok drahn@
|
|
'-b' option is specified. GPT is no longer a __i386__/__amd64__
thing.
ok kettenis@
|
|
with EFI SYS and OpenBSD partitions. Replaces some barbarian
direct whacking of GPT.
ok kettenis@
|
|
|
|
trust the flag set by the PCI host bridge driver and there are cases
where it isn't set because MSIs aren't implemented (for example on riscv64).
ok patrick@, sf@
|
|
RFC 5077. Note that session resumption via session tickets is
only for TLSv1.2 and earlier.
prompted by a question by/ok jmc
|
|
ok deraadt@, gkoehler@
|
|
|
|
the number of bytes of partition entries to write to disk.
Set gpbytes to 'sizeof(gp)' so no functional change for now.
|
|
|
|
No need for each case in the switch block to have the same logic
for updating the used ring and writing the state back to the guest.
Move it outside the switch. No functional change.
ok mlarkin@
|
|
chunk of free space in a GPT. Steal logic from
GPT_get_lba_start().
No intentional functional change.
|
|
|
|
|
|
|
|
Due to hysterical raisins there are three different types of defines for
alerts. SSL3_AD_* are from SSLv3, TLS1_AD_* are from TLSv1.0 onwards and
SSL_AD_* currently map to either an SSL3_AD_* or TLS1_AD_* define.
Currently, all three of these are used in various places - switch to using
just SSL_AD_* values internally, as a first step in cleaning this up.
ok tb@
|
|
We can reduce latency for the first expiration of a timer if we don't
round it_value up to the minimum interval (1 tick).
While we're at it, we may as well consolidate all input validation and
adjustment into a single itimerfix() call. There are no other callers
in the kernel (nor should there be), so remove the prototype from
sys/time.h.
Discussion: https://marc.info/?l=openbsd-tech&m=162084338005502&w=2
Tested by weerd@ and claudio@.
probably ok claudio@
|
|
Reduce Xedit()/Xsetpid() to parsing the partition number and
invoking [g]edit()/[g]setpid() appropriately.
No intentional functional change.
|
|
|
|
from Ashton Fagg
|
|
|
|
from Ashton Fagg
|
|
SRTP_AEAD_AES_128_GCM/SRTP_AEAD_AES_256_GCM can be used as DTLS-SRTP
protection profiles - seen with an update of telephony/baresip i'm
working on.
adapted from openssl commit 43e5faa2539ae8aae6ef55be2239b9b1a77fea45
ok tb@ jsing@
|
|
partition information when one of the modification steps (e.g.
setting the partition type via gsetpid()) fails.
|
|
Fixes a regression found by landry@.
ok patrick@
|
|
it sends commands and waits for replies to come back in. The receive
pipe seems to contain both command completions and data packets. When
waiting for command completion during hvn(4) attach, it's possible for
packets to show up as well. We shouldn't call if_input() if hvn(4) is
not set up, so drop them when we're not running.
ok mikeb@
|