openbsd
19 months agocorrect day of week
deraadt [Sat, 25 Mar 2023 00:09:51 +0000 (00:09 +0000)]
correct day of week

19 months agoThis year Lebanon springs forward April 20/21 not March 25/26.
millert [Thu, 23 Mar 2023 18:57:10 +0000 (18:57 +0000)]
This year Lebanon springs forward April 20/21 not March 25/26.
This change is not yet part of an iana-tz or global-tz release.

19 months agoUpdate to 2023agtz from https://github.com/JodaOrg/global-tz
millert [Thu, 23 Mar 2023 16:12:10 +0000 (16:12 +0000)]
Update to 2023agtz from https://github.com/JodaOrg/global-tz
 *  Egypt now uses DST again, from April through October.
 *  This year Morocco springs forward April 23, not April 30.
 *  Palestine delays the start of DST this year.
 *  Much of Greenland still uses DST from 2024 on.
 *  America/Yellowknife now links to America/Edmonton.

19 months agocorrect rk3308 clk_32k_sel mask
jsg [Thu, 23 Mar 2023 13:15:02 +0000 (13:15 +0000)]
correct rk3308 clk_32k_sel mask
ok jmatthew@

19 months agoupdate sppp(4) docs to mention remote address range hack
stsp [Thu, 23 Mar 2023 12:43:38 +0000 (12:43 +0000)]
update sppp(4) docs to mention remote address range hack

As already documented in pppoe(4). I missed updating sppp(4) years
ago when support for the wildcard address range was added.

19 months agoavoid use after free
jsg [Thu, 23 Mar 2023 11:40:42 +0000 (11:40 +0000)]
avoid use after free
ok miod@ kettenis@

19 months agofix off-by-one in pf_state_expires() bounds test
jsg [Thu, 23 Mar 2023 01:41:12 +0000 (01:41 +0000)]
fix off-by-one in pf_state_expires() bounds test
such a value would have triggered a KASSERT()
ok sashan@ deraadt@

19 months agoplug another leak in addctag; found + ok tb@
op [Wed, 22 Mar 2023 22:09:37 +0000 (22:09 +0000)]
plug another leak in addctag; found + ok tb@

19 months agofix GMAC_CHAN_RX_CONTROL write
jsg [Wed, 22 Mar 2023 21:41:28 +0000 (21:41 +0000)]
fix GMAC_CHAN_RX_CONTROL write
ok patrick@ kettenis@

19 months agoavoid memleak / crash in addctag
op [Wed, 22 Mar 2023 19:42:41 +0000 (19:42 +0000)]
avoid memleak / crash in addctag

the l pointer is advanced, so if the line is malformed `goto cleanup'
will free(NULL) or a pointer inside l.

semplification and ok tb@

19 months agoplug memleak in error path
op [Wed, 22 Mar 2023 18:18:35 +0000 (18:18 +0000)]
plug memleak in error path

based on a diff by lux (lx [at] shellcodes [dot] org), thanks!
Diff via, tweak and ok tb@

19 months agodelete trailing whitespaces; no functional change
op [Wed, 22 Mar 2023 18:10:07 +0000 (18:10 +0000)]
delete trailing whitespaces; no functional change

19 months agoBump version
claudio [Wed, 22 Mar 2023 17:14:57 +0000 (17:14 +0000)]
Bump version

19 months agoReverse bus_space_unmap(9) order
denis [Wed, 22 Mar 2023 17:01:07 +0000 (17:01 +0000)]
Reverse bus_space_unmap(9) order

When `unmap_1` is reached we should bus_space_unmap() sc_hwrm_* and not sc_db_*.

ok miod@

19 months agoupdate the description for bwfm(4);
jmc [Tue, 21 Mar 2023 22:57:38 +0000 (22:57 +0000)]
update the description for bwfm(4);

19 months agoDocument support for the BCM4378 / BCM4387 chipsets.
patrick [Tue, 21 Mar 2023 22:31:17 +0000 (22:31 +0000)]
Document support for the BCM4378 / BCM4387 chipsets.

from Brad

19 months agoImprove length checks for ATTR_MP_REACH_NLRI.
claudio [Tue, 21 Mar 2023 14:52:36 +0000 (14:52 +0000)]
Improve length checks for ATTR_MP_REACH_NLRI.
Based on a report by cjt (melissa_cjt at 163.com)
OK tb@

19 months agoremove uneeded includes
jsg [Tue, 21 Mar 2023 09:44:35 +0000 (09:44 +0000)]
remove uneeded includes

19 months agosync
deraadt [Sun, 19 Mar 2023 23:22:53 +0000 (23:22 +0000)]
sync

19 months agoAggressively randomize the location of the stack on all 64-bit architectures
kettenis [Sun, 19 Mar 2023 20:32:13 +0000 (20:32 +0000)]
Aggressively randomize the location of the stack on all 64-bit architectures
except alpha.  This will put the stack at a random location in the upper
1/4th of the userland virtual address space providing up to 26 additional
bits of randomness in the address.  Skip alpha for now since it currently
puts the stack at a (for a 64-bit architecture) very low address.  Skip
32-bit architectures for now as well since those have a much smaller
virtual address space and we need more time to figure out what a safe
amount of extra randomizations is.  These architectures will continue to
use a mildly randomized stack address through the existing stackgap random
mechanism.  We will revisit this after 7.3 is released.

This should make it harder for an attacker to find the stack.

ok deraadt@, miod@

19 months agomda_expand_format: simplify token name extraction for %{name}
millert [Sun, 19 Mar 2023 16:43:44 +0000 (16:43 +0000)]
mda_expand_format: simplify token name extraction for %{name}
It is simpler to compute the length based on the start and end
pointers and pass that value to memcpy(), adding an explicit NUL
terminator after copying.  OK op@

19 months agorkpciephy(4)
kettenis [Sun, 19 Mar 2023 11:22:50 +0000 (11:22 +0000)]
rkpciephy(4)

19 months agoEnable rkpciephy(40.
kettenis [Sun, 19 Mar 2023 11:18:11 +0000 (11:18 +0000)]
Enable rkpciephy(40.

19 months agoAdd rkpciephy(4), ad friver for the PCIe 3.0 PHY dound on the RK356x.
kettenis [Sun, 19 Mar 2023 11:17:16 +0000 (11:17 +0000)]
Add rkpciephy(4), ad friver for the PCIe 3.0 PHY dound on the RK356x.
The driver in principle supports bifurcation but this is (largely) untested.

ok dlg@

19 months agoimprove dmesg output to help with debugging.
dlg [Sun, 19 Mar 2023 10:18:17 +0000 (10:18 +0000)]
improve dmesg output to help with debugging.

for SoCs that can provide multiple instances of rkclock, let them
provide a name that will be printed during attach so you can tell
which one is doing what.

when rkclock_set_frequency isn't handling a clock, have it print
which rkclock instance isn't handling a clock. while here, print
the clock index the same way the #define refers to them.

ok kettenis@

19 months agoUse a task to switch clocks on RK3568 as the clock API needs process context.
kettenis [Sun, 19 Mar 2023 09:46:40 +0000 (09:46 +0000)]
Use a task to switch clocks on RK3568 as the clock API needs process context.

ok jmatthew@

19 months agoregen
jsg [Sun, 19 Mar 2023 09:38:43 +0000 (09:38 +0000)]
regen

19 months agoadd another Navi 33 device id
jsg [Sun, 19 Mar 2023 09:38:06 +0000 (09:38 +0000)]
add another Navi 33 device id

0x7483 rev 0xcf is Radeon RX 7600M according to
Radeon Software for Linux version 22.40.3 (5.4.3) libdrm-amdgpu-common

19 months agoAdd a few more RK3568 clocks.
kettenis [Sun, 19 Mar 2023 09:32:11 +0000 (09:32 +0000)]
Add a few more RK3568 clocks.

ok dlg@

19 months agoUse a task to switch clocks on RK3568 as the clock API needs process context.
kettenis [Sun, 19 Mar 2023 08:41:49 +0000 (08:41 +0000)]
Use a task to switch clocks on RK3568 as the clock API needs process context.

ok jmatthew@

19 months agodisable POOL_DEBUG for release
jsg [Sun, 19 Mar 2023 06:02:07 +0000 (06:02 +0000)]
disable POOL_DEBUG for release
ok deraadt@

19 months agoFix a potential NULL dereference in the unpriv child expanding %{mda}.
millert [Sun, 19 Mar 2023 01:43:11 +0000 (01:43 +0000)]
Fix a potential NULL dereference in the unpriv child expanding %{mda}.
It is not legal to use %{mda} in anything but an mda wrapper.
mda_expand_token() will now return an error when %{mda} is used and
mda_command is NULL.  OK op@

19 months agoKNF: some missing spaces after comma
tb [Sat, 18 Mar 2023 13:04:02 +0000 (13:04 +0000)]
KNF: some missing spaces after comma

19 months agosourceaddr:
jmc [Sat, 18 Mar 2023 11:44:53 +0000 (11:44 +0000)]
sourceaddr:

- show that -ifp and "address" do not mix
- show how to reset value (from claudio)
- tweak text

ok claudio

19 months agoRename bn_mod_exp_zero to the more appropriate bn_mod_exp
tb [Sat, 18 Mar 2023 09:09:11 +0000 (09:09 +0000)]
Rename bn_mod_exp_zero to the more appropriate bn_mod_exp

19 months agoRetire the bn_mod_exp test.
tb [Sat, 18 Mar 2023 09:04:05 +0000 (09:04 +0000)]
Retire the bn_mod_exp test.

Its is fully covered by bn_mod_exp_zero now.

19 months agoReimplement a variant of the bn_mod_exp tests from scratch
tb [Sat, 18 Mar 2023 08:55:42 +0000 (08:55 +0000)]
Reimplement a variant of the bn_mod_exp tests from scratch

This exercises the same corner cases as bn_mod_exp and a few more.
With input from jsing

19 months agofixes for mandoc -Tlint
jsg [Sat, 18 Mar 2023 08:20:20 +0000 (08:20 +0000)]
fixes for mandoc -Tlint
ok tb@

19 months agoremove -beta tag
deraadt [Fri, 17 Mar 2023 22:52:22 +0000 (22:52 +0000)]
remove -beta tag

19 months agoDocument M_LOG flag; from Peter J. Philipp.
millert [Fri, 17 Mar 2023 19:44:15 +0000 (19:44 +0000)]
Document M_LOG flag; from Peter J. Philipp.

19 months agoMove annoying yet harmless diagnostic message into #ifdef DEBUG.
miod [Fri, 17 Mar 2023 19:20:19 +0000 (19:20 +0000)]
Move annoying yet harmless diagnostic message into #ifdef DEBUG.

19 months agoAdjust sourceaddr argument parser.
claudio [Fri, 17 Mar 2023 16:11:09 +0000 (16:11 +0000)]
Adjust sourceaddr argument parser.

Only print the sourceaddrs if no argument was passed. If arguemnts
are set make sure that either and address is present or that an ifp
was given. This make the command behave a more like other route commands.
OK deraadt@

19 months agoFix rtr_parse_aspa(), the spas array is actually not copied over into
claudio [Fri, 17 Mar 2023 11:14:10 +0000 (11:14 +0000)]
Fix rtr_parse_aspa(), the spas array is actually not copied over into
the rtr_aspa struct so access them directly from the buf using offset
as the address of the first element.
OK tb@

19 months agoafter updating amdgpu-firmware from 20221214 to 20230310 a new
jsg [Thu, 16 Mar 2023 22:44:35 +0000 (22:44 +0000)]
after updating amdgpu-firmware from 20221214 to 20230310 a new
warning appeared in dmesg on renoir:

[drm] psp gfx command LOAD_TA(0x1) failed and response status is (0x7)
[drm] psp gfx command INVOKE_CMD(0x3) failed and response status is (0x4)
psp_securedisplay_parse_resp_status *ERROR* Secure display: Generic Failure.
psp_securedisplay_initialize *ERROR* SECUREDISPLAY: query securedisplay TA failed. ret 0x0

This is likely related to not implementing all the HDCP paths.
Return early in psp_securedisplay_initialize() to avoid this.

I suspect the newer renoir firmware adds a TA_FW_TYPE_PSP_SECUREDISPLAY
component the older one didn't have.

reported by jmc@

19 months agoAdd code to bring up the PCIe controller on the RK356x.
kettenis [Thu, 16 Mar 2023 18:33:19 +0000 (18:33 +0000)]
Add code to bring up the PCIe controller on the RK356x.

ok dlg@

19 months agoWhen syslogd is sending messages via UDP to a remote loghost, it
bluhm [Thu, 16 Mar 2023 18:22:08 +0000 (18:22 +0000)]
When syslogd is sending messages via UDP to a remote loghost, it
stops if there is a permanent error.  Add EACCES generated by pf
to the list of transient errors.  This restores pre-6.5 behavior
and continues logging after pf.conf has been fixed.
OK millert@ deraadt@ mvs@

19 months agoUpdate for 7.3.
miod [Thu, 16 Mar 2023 18:04:07 +0000 (18:04 +0000)]
Update for 7.3.

19 months agoConsistent phrasing: function -> function pointer
job [Thu, 16 Mar 2023 15:45:38 +0000 (15:45 +0000)]
Consistent phrasing: function -> function pointer

19 months agoAdd X509_STORE_{set,get}_check_issued and X509_STORE_CTX_get_check_issued to manpage
job [Thu, 16 Mar 2023 15:21:44 +0000 (15:21 +0000)]
Add X509_STORE_{set,get}_check_issued and X509_STORE_CTX_get_check_issued to manpage

with and OK tb@

19 months agosync
tb [Thu, 16 Mar 2023 15:07:42 +0000 (15:07 +0000)]
sync

19 months agoInstall EVP_CIPHER_meth_new.3
tb [Thu, 16 Mar 2023 15:06:17 +0000 (15:06 +0000)]
Install EVP_CIPHER_meth_new.3

19 months agoAdd EVP_CIPHER_meth_* documentation from OpenSSL 1.1
tb [Thu, 16 Mar 2023 15:05:23 +0000 (15:05 +0000)]
Add EVP_CIPHER_meth_* documentation from OpenSSL 1.1

This is essentially the original text with a few tweaks and fixes by me,
removing parts inapplicable to LibreSSL. There are dangling references to
EVP_CIPHER_CTX_copy(3) and EVP_CIPHER_CTX_get_cipher_data(3). This all
isn't great, but it's better than nothing. Probably good enough for these
rarely used functions.

19 months agoUpdate manpage for X509_CRL_get0_tbs_sigalg()
job [Thu, 16 Mar 2023 12:01:47 +0000 (12:01 +0000)]
Update manpage for X509_CRL_get0_tbs_sigalg()

OK tb@

19 months agoAdd missing dependecy for rkcomphy(4); pointed out by dlg@
kettenis [Thu, 16 Mar 2023 10:33:44 +0000 (10:33 +0000)]
Add missing dependecy for rkcomphy(4); pointed out by dlg@

19 months agoBump LibreSSL version to 3.7.2
tb [Thu, 16 Mar 2023 08:16:21 +0000 (08:16 +0000)]
Bump LibreSSL version to 3.7.2

19 months agorevert previous, stsp made WEP work on bwfm(4)
kn [Thu, 16 Mar 2023 06:57:11 +0000 (06:57 +0000)]
revert previous, stsp made WEP work on bwfm(4)

19 months agomake WEP encryption work on bwfm(4)
stsp [Wed, 15 Mar 2023 22:47:35 +0000 (22:47 +0000)]
make WEP encryption work on bwfm(4)

based on an initial diff by jsg@
brokenness pointed out by kn@
ok jsg@

19 months agotweak sourceaddr:
jmc [Wed, 15 Mar 2023 22:39:58 +0000 (22:39 +0000)]
tweak sourceaddr:

- remove "-inet|-inet6" as it is not generally meaningful
- remove the qualifier "if set": sourceaddr now works nicely in cases
  where no "address is given

19 months agoFix a number of out of bound reads in DNS response parsing.
millert [Wed, 15 Mar 2023 22:12:00 +0000 (22:12 +0000)]
Fix a number of out of bound reads in DNS response parsing.
Originally from djm@.  OK deraadt@ florian@ bluhm@

19 months agostate that binary updates are not available for all platforms/architectures.
benno [Wed, 15 Mar 2023 21:42:23 +0000 (21:42 +0000)]
state that binary updates are not available for all platforms/architectures.
triggered by a bug report by 'kodcode', thanks.
wording adjusted by jmc@, ok phessler@

19 months agoopenssh-9.3
djm [Wed, 15 Mar 2023 21:19:57 +0000 (21:19 +0000)]
openssh-9.3

19 months agoslightly earlier, and tweak some dates
deraadt [Wed, 15 Mar 2023 19:54:32 +0000 (19:54 +0000)]
slightly earlier, and tweak some dates

19 months agoDo not leak screen in popups, GitHub issue 3492.
nicm [Wed, 15 Mar 2023 19:23:22 +0000 (19:23 +0000)]
Do not leak screen in popups, GitHub issue 3492.

19 months agoFix the length check when computing a fake challenge for users not
millert [Wed, 15 Mar 2023 17:01:35 +0000 (17:01 +0000)]
Fix the length check when computing a fake challenge for users not
in the S/Key database.  If the system hostname is longer than 126
characters this could result in NUL bytes being written past the
end of a stack buffer.  There is no impact on systems with a hostname
126 characters or less.  Found by Qualys.  OK deraadt@

19 months agoAdd missing nameref resolving for the _DEP() package elements that indicate
kettenis [Wed, 15 Mar 2023 13:01:40 +0000 (13:01 +0000)]
Add missing nameref resolving for the _DEP() package elements that indicate
dependencies between ACPI devices.

ok dlg@, deraadt@

19 months agoShow MFTs as part of the signature path
job [Wed, 15 Mar 2023 11:09:34 +0000 (11:09 +0000)]
Show MFTs as part of the signature path

no objection tb@

19 months agoFor now pass AF_UNSPEC to printsource() to ensure that both inet and inet6
claudio [Wed, 15 Mar 2023 08:43:51 +0000 (08:43 +0000)]
For now pass AF_UNSPEC to printsource() to ensure that both inet and inet6
addrs are fetched from the kernel. This needs more cleanup.

19 months agoMake route sourceaddr always print the used addresses for inet and inet6.
claudio [Wed, 15 Mar 2023 08:42:14 +0000 (08:42 +0000)]
Make route sourceaddr always print the used addresses for inet and inet6.
Print 'default' if no sourceaddr is set and the default algorithm is used.
With and OK kn@ deraadt@

19 months agodrm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes
jsg [Wed, 15 Mar 2023 08:36:33 +0000 (08:36 +0000)]
drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes

From Guilherme G. Piccoli in amd-staging-drm-next
https://gitlab.freedesktop.org/drm/amd/-/issues/2385

This fixes amdgpu failing to init on Steam Deck after the drm 6.1 update:

[drm] failed to load ucode VCN0_RAM(0x3A) [drm] psp gfx command LOAD_IP_FW(0x6)
failed and response status is (0xFFFF0000)
[drm] *ERROR* ring vcn_dec_0 test failed (-60)
[drm] *ERROR* hw_init of IP block <vcn_v3_0> failed -60
drm:pid0:amdgpu_device_init *ERROR* amdgpu_device_ip_init failed
drm:pid0:amdgpu_attachhook *ERROR* Fatal error during GPU init

reported and tested by bentley@ on:
bios0: vendor Valve version "F7A0113" date 11/04/2022
bios0: Valve Jupiter

19 months agohandle dmi_get_system_info(DMI_BIOS_VERSION)
jsg [Wed, 15 Mar 2023 08:24:56 +0000 (08:24 +0000)]
handle dmi_get_system_info(DMI_BIOS_VERSION)

19 months agostore bios version, needed for amdgpu Steam Deck quirk
jsg [Wed, 15 Mar 2023 08:20:52 +0000 (08:20 +0000)]
store bios version, needed for amdgpu Steam Deck quirk

19 months agoFix command prompt not to always append argument but only if there has
nicm [Wed, 15 Mar 2023 08:15:39 +0000 (08:15 +0000)]
Fix command prompt not to always append argument but only if there has
actually been expansion. GitHub issue 3493.

19 months agoReturn the signature length after successful signing operation
tb [Wed, 15 Mar 2023 06:34:07 +0000 (06:34 +0000)]
Return the signature length after successful signing operation

This is required behavior of the EVP_DigestSign() API, but seemingly
almost nothing uses this. Well, turns out ldns does.

Reported by Stephane. Helpful comments by sthen.

ok jsing

19 months agoAdd comments that explain why things are done in this strange order.
tb [Wed, 15 Mar 2023 06:30:21 +0000 (06:30 +0000)]
Add comments that explain why things are done in this strange order.

There's some method to this madness.

ok jsing

19 months agoPush calloc() of ndef_aux down as far as possible and
tb [Wed, 15 Mar 2023 06:28:55 +0000 (06:28 +0000)]
Push calloc() of ndef_aux down as far as possible and
pull the setting of the ex_arg up, so we can do error
checking.

ok jsing

19 months agoError check BIO_asn1_set_{prefix,suffix}() calls
tb [Wed, 15 Mar 2023 06:22:42 +0000 (06:22 +0000)]
Error check BIO_asn1_set_{prefix,suffix}() calls

ok jsing

19 months agoStreaming BIOs assume they can write to NULL BIOs
tb [Wed, 15 Mar 2023 06:14:02 +0000 (06:14 +0000)]
Streaming BIOs assume they can write to NULL BIOs

At least SMIME_text() relies on this. Pushing an error on the stack trips
PKCS7 regress in py-cryptography, so indicate nothing was written instead
of throwing an error.

Reported by Alex Gaynor a while back

ok jsing

19 months agoEnsure negative input to BN_mod_exp_mont_consttime() is correctly reduced.
jsing [Wed, 15 Mar 2023 04:30:20 +0000 (04:30 +0000)]
Ensure negative input to BN_mod_exp_mont_consttime() is correctly reduced.

A negative input to BN_mod_exp_mont_consttime() is not correctly reduced,
remaining negative (when it should be in the range [0, m)). Fix this by
unconditionally calling BN_nnmod() on the input.

Fixes ossfuzz #55997.

ok tb@

19 months agoInclude tests with negative values in BN_mod_exp* regress.
jsing [Wed, 15 Mar 2023 04:26:23 +0000 (04:26 +0000)]
Include tests with negative values in BN_mod_exp* regress.

This currently fails.

19 months agobn_mod_exp_zero: rename result into got
tb [Wed, 15 Mar 2023 00:41:04 +0000 (00:41 +0000)]
bn_mod_exp_zero: rename result into got

19 months agoPrep for rpki-client 8.3
claudio [Tue, 14 Mar 2023 13:31:16 +0000 (13:31 +0000)]
Prep for rpki-client 8.3

19 months agoWEP in bfwm(4) never worked, sync with reality
kn [Tue, 14 Mar 2023 11:25:22 +0000 (11:25 +0000)]
WEP in bfwm(4) never worked, sync with reality

"ifconfig bwfm0 [-]nwkey ..." does not work and thus the installer no longer
offers WEP, so unmention support while leaving the recommendation against it.

19 months agoFree KRL itself in addition to its contents. From Coverity CID 291841,
dtucker [Tue, 14 Mar 2023 07:28:47 +0000 (07:28 +0000)]
Free KRL itself in addition to its contents. From Coverity CID 291841,
ok djm@

19 months agoCheck pointer for NULL before attempting to deref. None of the existing
dtucker [Tue, 14 Mar 2023 07:26:25 +0000 (07:26 +0000)]
Check pointer for NULL before attempting to deref.  None of the existing
callers seem to do that, but it's worth checking.  From Coverity CID
291834, ok djm@

19 months agorpki-client: disallow AIA in self-signed certs
tb [Tue, 14 Mar 2023 07:09:11 +0000 (07:09 +0000)]
rpki-client: disallow AIA in self-signed certs

Per RFC 6487, 4.8.7, self-signed certificates must not have an Authority
Info Access extension. In normal operation this is ensured by ta_parse()
and cert_parse(), respectively. In filemode, only partial checks are
performed, so this is not guaranteed.

Issue flagged by and ok job

19 months agosync the boot options list, and some macro fixes;
jmc [Tue, 14 Mar 2023 06:55:31 +0000 (06:55 +0000)]
sync the boot options list, and some macro fixes;
ok miod

19 months agosync
deraadt [Tue, 14 Mar 2023 04:51:34 +0000 (04:51 +0000)]
sync

19 months agoTo avoid misunderstanding, keep variables for tcp keepalive in
yasuoka [Tue, 14 Mar 2023 00:24:05 +0000 (00:24 +0000)]
To avoid misunderstanding, keep variables for tcp keepalive in
milliseconds, which is the same unit of tcp_now().  However, keep the
unit of sysctl variables in seconds and convert their unit in
tcp_sysctl().  Additionally revert TCPTV_SRTTDFLT back to 3 seconds,
which was mistakenly changed to 1.5 seconds by tcp_timer.h 1.19.

ok claudio

19 months agoclockintr: add missing newline to ddb(4) printout
cheloha [Tue, 14 Mar 2023 00:11:58 +0000 (00:11 +0000)]
clockintr: add missing newline to ddb(4) printout

Let's also print the state (running, pending, or established) of each
clockintr.

19 months agoDon't lookup the signature path's expiry for trust anchor certs
job [Mon, 13 Mar 2023 21:01:06 +0000 (21:01 +0000)]
Don't lookup the signature path's expiry for trust anchor certs

19 months agoIn filemode, also print details for .cer certificates
job [Mon, 13 Mar 2023 20:55:14 +0000 (20:55 +0000)]
In filemode, also print details for .cer certificates

19 months agoPoint people to boot(8) rather than duplicating information.
miod [Mon, 13 Mar 2023 20:32:28 +0000 (20:32 +0000)]
Point people to boot(8) rather than duplicating information.

19 months agoSwitch alpha to new boot blocks.
miod [Mon, 13 Mar 2023 20:20:59 +0000 (20:20 +0000)]
Switch alpha to new boot blocks.

19 months agoAdd manual page.
miod [Mon, 13 Mar 2023 20:20:13 +0000 (20:20 +0000)]
Add manual page.

19 months ago"ask name" option letter is 'n' instead of 'a' on pmax and alpha for historical
miod [Mon, 13 Mar 2023 20:19:22 +0000 (20:19 +0000)]
"ask name" option letter is 'n' instead of 'a' on pmax and alpha for historical
(and firmware) reasons.

19 months agoCheck that the CMS signing-time is not after the MFT's nextUpdate
job [Mon, 13 Mar 2023 19:54:36 +0000 (19:54 +0000)]
Check that the CMS signing-time is not after the MFT's nextUpdate

Issuing manifests whose validity window is entirely in the past, as
observed from the purported CMS signing-time would be a form of backdating.

OK tb@

19 months agoIn filemode, display the moment the signature path will expire
job [Mon, 13 Mar 2023 19:51:49 +0000 (19:51 +0000)]
In filemode, display the moment the signature path will expire

Previously this was only shown for ROA+ASPA. Now also show for
GBR, Geofeed, Certs, RSC, and TAK.

OK tb@

19 months agoCheck that the CMS signing-time isn't after the X.509 notAfter
job [Mon, 13 Mar 2023 19:46:55 +0000 (19:46 +0000)]
Check that the CMS signing-time isn't after the X.509 notAfter

The CMS signing-time is the purported 'now' from the perspective of the
issuer. It doesn't make sense for an issuer to sign objects that have a
validity window that falls entirely in the past (from the perspective of
the signer). Although CMS signing-time is not a trusted timestamp, it
should never be after X.509 notAfter.

OK tb@

19 months agotypo fix; ok claudio
jmc [Mon, 13 Mar 2023 18:31:54 +0000 (18:31 +0000)]
typo fix; ok claudio

19 months agovmd(8): backout ns8250 changes.
dv [Mon, 13 Mar 2023 18:09:41 +0000 (18:09 +0000)]
vmd(8): backout ns8250 changes.

This backs out commit h1IJwTVsYWfnRKWy which intended to fix interrupt
issues on slower host hardware. Unfortunately, this causes a race
condition on much faster host hardware. It still requires investigation.

With an "I told you so" about touching ns8250 from mlarkin@