robert [Tue, 5 Sep 2023 15:37:07 +0000 (15:37 +0000)]
fix mismatching declaration of argument with mismatched bounds
ok tb@
robert [Tue, 5 Sep 2023 15:33:40 +0000 (15:33 +0000)]
function definitions without prototypes are deprecated, so shut clang16 up
ok kettenis@
schwarze [Tue, 5 Sep 2023 15:01:39 +0000 (15:01 +0000)]
add a BUGS section warning about the creation of incomplete objects
tb [Tue, 5 Sep 2023 14:59:00 +0000 (14:59 +0000)]
Improve error handling in OBJ_add_object()
There is no need for a helper function to obfuscate lh_ADDED_OBJ_new().
Just call the real thing directly.
Adding an object with a NID of NID_undef basically amounts to disabling
a built-in OID. It does so in an incoherent fashion and the caller can't
easily tell success from failure of the operation. Arguably the result is
a corrupted objects table.
Let's not allow adding such an object in an attempt at keeping things
slightly more coherent.
Issue noted and initial diff by schwarze while writing documentation
ok schwarze
schwarze [Tue, 5 Sep 2023 14:54:21 +0000 (14:54 +0000)]
document EVP_CIPHER_name(3)
schwarze [Tue, 5 Sep 2023 14:37:00 +0000 (14:37 +0000)]
add the missing .Dv macros to the list of flags
schwarze [Tue, 5 Sep 2023 14:19:02 +0000 (14:19 +0000)]
improve the descriptions of almost all flags,
in particular saying which API functions each flag affects
jsg [Tue, 5 Sep 2023 14:05:41 +0000 (14:05 +0000)]
unifdef HAS_INLINES
inline is part of gnu89 and c99
ok kn@ espie@
mlarkin [Tue, 5 Sep 2023 14:00:40 +0000 (14:00 +0000)]
vmm(4): switch the APMI CPUID mask to an include mask
dv points out that there are other bits there that imply the existence
of other MSRs, so switching this to an include list is a better idea.
espie [Tue, 5 Sep 2023 13:58:49 +0000 (13:58 +0000)]
reorder
espie [Tue, 5 Sep 2023 13:55:57 +0000 (13:55 +0000)]
automated MASTER_SITE* -> SITE* renaming
(need some alphabetical reordering)
schwarze [Tue, 5 Sep 2023 13:50:22 +0000 (13:50 +0000)]
Partial rewrite:
* Integrate the leftovers of the former NOTES section into the main text,
resulting in a more logical order of information.
* Make many descriptions more precise and tweak many wordings.
For example, the description of OBJ_cmp(3) was totally misleading.
Add a CAVEATS section explaining the scary ownership contracts
of the functions returning ASN1_OBJECT pointers.
Move the discussion of NID_undef to the BUGS section because the
statement "objects which are not in the table have the NID value
NID_undef" was misleading in more than one way.
Considering that an API as fundamental as this one contains such a
gigantic amount of quirks and traps and gaps makes me shudder.
espie [Tue, 5 Sep 2023 13:47:25 +0000 (13:47 +0000)]
avoid fatal errors at all costs
espie [Tue, 5 Sep 2023 13:15:31 +0000 (13:15 +0000)]
DIST_TUPLE's handling of HOMEPAGE is optional, of course
espie [Tue, 5 Sep 2023 13:13:50 +0000 (13:13 +0000)]
update informal toc
naddy [Tue, 5 Sep 2023 13:06:42 +0000 (13:06 +0000)]
stop putting multicast addresses into the Receive Address Registers
Hash them all into the Multicast Table Array. This matches what
FreeBSD does.
This fixes a problem where the I217-LM would fail to receive packets
for some of the programmed addresses.
Approach agreed by jmatthew@ dlg@
OK claudio@
stsp [Tue, 5 Sep 2023 13:06:01 +0000 (13:06 +0000)]
Make ksmn(4) attach to 19h/4x devices
Tested on:
cpu0: AMD Ryzen 5 PRO 6650U with Radeon Graphics, 2900.00 MHz, 19-44-01, patch
0a404102
ok mlarkin
espie [Tue, 5 Sep 2023 13:04:58 +0000 (13:04 +0000)]
pof for check-lib-depends
espie [Tue, 5 Sep 2023 13:02:11 +0000 (13:02 +0000)]
be blunter about IS_INTERACTIVE
espie [Tue, 5 Sep 2023 12:58:01 +0000 (12:58 +0000)]
drop very old history
espie [Tue, 5 Sep 2023 12:53:43 +0000 (12:53 +0000)]
strongly hint that people take advantage of sqlports
espie [Tue, 5 Sep 2023 12:47:54 +0000 (12:47 +0000)]
document moving mechanisms
espie [Tue, 5 Sep 2023 12:10:34 +0000 (12:10 +0000)]
use terminology for other projects: it's still "fake" to us, but
acknowledge the more common name "staging area"
espie [Tue, 5 Sep 2023 11:51:44 +0000 (11:51 +0000)]
There's no index in bsd.port.mk these days.
espie [Tue, 5 Sep 2023 11:25:12 +0000 (11:25 +0000)]
Be more specific in some places.
In particular, telling people not to use pre-fake unless
they know what they're doing is idiotic.
sthen [Tue, 5 Sep 2023 11:18:03 +0000 (11:18 +0000)]
oops, forgot to rm these before cvs import
sthen [Tue, 5 Sep 2023 11:12:09 +0000 (11:12 +0000)]
merge unbound-1.18.0
sthen [Tue, 5 Sep 2023 11:07:45 +0000 (11:07 +0000)]
import unbound 1.18.0, ok florian
tobhe [Tue, 5 Sep 2023 11:04:06 +0000 (11:04 +0000)]
Fix touchpad on newer device trees. The *gpio fields moved up one layer.
The driver will work with both formats for now but we plan to remove
the old one in the future.
ok kettenis@
espie [Tue, 5 Sep 2023 10:31:48 +0000 (10:31 +0000)]
readmes hasn't existed for a long time, say goodbye to TEMPLATES
espie [Tue, 5 Sep 2023 10:29:16 +0000 (10:29 +0000)]
nits, explain when DISTFILES is automatically set
guenther [Tue, 5 Sep 2023 05:08:26 +0000 (05:08 +0000)]
Address the case 2b version of inconsistent view across threads of
a page undergoing copy-on-write faulting. We fixed the case 1b
version in rev 1.125 (2022-02-01), but missed this other path.
jsg@ noted that in NetBSD Chuck Silvers had a relevant commit, their
rev 1.234 (2023-08-13), which looks like it fixed both cases due
to their refactoring of common code into a uvmfault_promote()
function.
ok mpi@ jca@
yasuoka [Tue, 5 Sep 2023 00:32:01 +0000 (00:32 +0000)]
Refuse an incomplete config, an authentication block which doesn't
have authentication module. The code doesn't expect this.
yasuoka [Mon, 4 Sep 2023 23:55:23 +0000 (23:55 +0000)]
Revert previous. It caused the stdio of the modules be NONBLOCK.
Generally programs don't expect that.
bluhm [Mon, 4 Sep 2023 23:00:36 +0000 (23:00 +0000)]
Fix netstat output of uses of current SYN cache left.
TCP syn cache variable scs_use is basically counting packet insertions
into syn cache. Prefer type long to exclude overflow on fast
machines. Due to counting downwards from a limit, it can become
negative. Copy it out as tcps_sc_uses_left via sysctl, and print
it as signed long long integer.
OK mvs@
thfr [Mon, 4 Sep 2023 22:36:55 +0000 (22:36 +0000)]
document DIST_TUPLE and related variables: EXTRACT_SUFX.<name>,
TEMPLATE_DISTFILES.<name>, and TEMPLATE_HOMEPAGE.<name>.
ok espie@
jca [Mon, 4 Sep 2023 17:08:03 +0000 (17:08 +0000)]
Save some space on the ramdisks, actually use -DSMALL
This disables the helpers that recognize compressed archives when the
user failed to use the proper flag/command. Those are not terribly
useful on the ramdisks and the fallback behavior is sane.
Went through a make release Just In Case(tm).
Spotted by caspar@, ok millert@ sthen@ caspar@
jca [Mon, 4 Sep 2023 17:05:34 +0000 (17:05 +0000)]
Zap #ifndef SMALL around pax format read support
-DSMALL has never been used to build the ramdisks, thus the support for
reading pax format archives has always been there. This is misleading,
so just zap the ifdef since we want to keep read support.
Went through a make release Just In Case(tm).
Spotted by caspar@, ok millert@ sthen@ caspar@
jmc [Mon, 4 Sep 2023 16:11:00 +0000 (16:11 +0000)]
rework DESCRIPTION for readability. put the BOOTP stuff in its own
section, to avoid cluttering things up. remove the useless COMMAND LINE
section header, and shuffle text accordingly.
ok stsp claudio krw
claudio [Mon, 4 Sep 2023 13:18:41 +0000 (13:18 +0000)]
Protect ps_single, ps_singlecnt and ps_threadcnt by the process mutex.
The single thread API needs to lock the process to enter single thread
mode and does not need to stop the scheduler.
This code changes ps_singlecount from a count down to zero to ps_singlecnt
which counts up until equal to ps_threadcnt (in which case all threads
are properly asleep).
Tested by phessler@, OK mpi@ cheloha@
schwarze [Mon, 4 Sep 2023 13:08:11 +0000 (13:08 +0000)]
Fix a bug where the wrong digit was used for prioritizing filenames
in the standard man(1) mode that formats a single resulting page
if the respective manpath contained digits, like X11R6 does.
Fortunately, this bug did not trigger for any Xenocara manual page.
espie [Mon, 4 Sep 2023 12:40:44 +0000 (12:40 +0000)]
complete documentation for ALL_DISTFILES/ALL_PATCHFILES and the
new warning message
yasuoka [Mon, 4 Sep 2023 12:28:18 +0000 (12:28 +0000)]
Don't surround by "" at much as possible.
espie [Mon, 4 Sep 2023 11:35:11 +0000 (11:35 +0000)]
GC old code that was originally implemented to facilitate adoption by
other BSDs, which never happened, so make things simpler for further
development.
Ditches config.h entirely since it gets reduced to 2 defines.
okay tb@
yasuoka [Mon, 4 Sep 2023 10:50:52 +0000 (10:50 +0000)]
Specify SOCK_NONBLOCK for socketpair(2) instead of fcntl(2).
yasuoka [Mon, 4 Sep 2023 10:49:20 +0000 (10:49 +0000)]
Don't return an extra OK message. Also call module_destroy() when
exit(3).
job [Mon, 4 Sep 2023 10:29:58 +0000 (10:29 +0000)]
Generate
Ed25519 keys when invoked without arguments
Ed25519 public keys are very convenient due to their small size.
OpenSSH has supported
Ed25519 since version 6.5 (January 2014).
OK djm@ markus@ sthen@ deraadt@
tb [Mon, 4 Sep 2023 08:43:41 +0000 (08:43 +0000)]
Make wp_local.h and cmll_local.h self-standing
robert [Mon, 4 Sep 2023 08:36:48 +0000 (08:36 +0000)]
unbreak build with llvm-16 by including sys/types.h for __BEGIN_HIDDEN_DECLS
/usr/src/lib/libcrypto/whrlpool/wp_local.h:5:1: error: unknown type name '__BEGIN_HIDDEN_DECLS'
ok tb@
nicm [Mon, 4 Sep 2023 08:01:43 +0000 (08:01 +0000)]
Skip wrapped lines in top level search loop because they will be
combined in the inner loop (in window_copy_search_rl_regex and the
others), avoids searching the same text multiple times. Also add a line
length limit for regex searches. GitHub issue 3675.
djm [Mon, 4 Sep 2023 00:08:14 +0000 (00:08 +0000)]
trigger keystroke timing obfucation only if the channels layer enqueud
some data in the last poll() cycle; this avoids triggering the
obfuscatior for non-channels data like ClientAlive probes and also
fixes a related problem were the obfucations would be triggered on
fully quiescent connections.
Based on / tested by naddy@
djm [Mon, 4 Sep 2023 00:04:02 +0000 (00:04 +0000)]
avoid bogus "obfuscate_keystroke_timing: stopping ..." debug
messages when keystroke timing obfuscation was never started;
spotted by naddy@
djm [Mon, 4 Sep 2023 00:01:46 +0000 (00:01 +0000)]
make channel_output_poll() return a flag indicating whether channel
data was enqueued. Will be used to improve keystroke timing
obfuscation. Problem spotted by / tested by naddy@
djm [Sun, 3 Sep 2023 23:59:32 +0000 (23:59 +0000)]
set interactive mode for ControlPersist sessions if they originally
requested a tty; enables keystroke timing obfuscation for most
ControlPersist sessions. Spotted by naddy@
bluhm [Sun, 3 Sep 2023 22:01:00 +0000 (22:01 +0000)]
Allow UDP for built-in inetd(8) services on 127.0.0.1.
This restriction was added in year 2000 due to IPv6 compatible and
mapped addresses. Nowadays our kernel does not support these IPv6
features and blocks localhost addresses on non-loopback interfaces.
Make IPv4 127.0.0.1/8 and IPv6 ::1 behave identically and provide
local services if configured.
OK mvs@ deraadt@
bluhm [Sun, 3 Sep 2023 21:46:52 +0000 (21:46 +0000)]
sync perl syscall emulator header
bluhm [Sun, 3 Sep 2023 21:37:17 +0000 (21:37 +0000)]
Avoid a useless increment and decrement of the tcp syn cache refcount
by unexpanding the SYN_CACHE_TIMER_ARM() macro in the timer callback.
OK mvs@
stsp [Sun, 3 Sep 2023 20:19:13 +0000 (20:19 +0000)]
Document rdomain-related behaviour of dhcpd(8).
ok jmc
espie [Sun, 3 Sep 2023 12:24:16 +0000 (12:24 +0000)]
if UNLOCK_CMD is a user settings, so is LOCK_CMD !
espie [Sun, 3 Sep 2023 12:22:21 +0000 (12:22 +0000)]
gc ancient stuff
point people to pkg_create wrt FULLPKGNAME
job [Sun, 3 Sep 2023 10:48:50 +0000 (10:48 +0000)]
Shuffle the order in which Manifest entries are processed
Previously work items were enqueued in the order the CA intended them
to appear on a Manifest. However, there is no obvious benefit to letting
third parties decide the order in which things are processed.
Instead, randomize: ordering has no meaning anyway, and the number of
concurrent repository synchronization operations is limited & timeboxed.
As they say, a fox is not taken twice in the same snare
OK tb@
mpi [Sun, 3 Sep 2023 10:26:35 +0000 (10:26 +0000)]
Let builtin process names be stored in maps as string.
ok dv@
nicm [Sun, 3 Sep 2023 10:22:03 +0000 (10:22 +0000)]
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb
nicm [Sun, 3 Sep 2023 10:18:18 +0000 (10:18 +0000)]
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb
mlarkin [Sun, 3 Sep 2023 09:30:43 +0000 (09:30 +0000)]
vmm(4): Suppress AMD HwPstate visibility to guests
On newer Ryzen/EPYC, we need to hide the HwPstate CPUID
80000007:EDX
field for HwPstate, or guests will try to access the MSRs associated
with those, and that will fail with #GP.
ok deraadt
afresh1 [Sun, 3 Sep 2023 01:43:09 +0000 (01:43 +0000)]
Replace perl's use of syscall(2) with a dispatcher to libc
This removes the ability to do direct syscalls from perl, instead calling
the appropriate libc functions.
Currently we generate the dispatcher via a perl script duing build.
requested by deraadt@
nits from espie@
education from miod@
infrastructure fixes from sthen@
many improvements and ok gkoehler@
Please commit soon. OK bluhm@
bluhm [Sun, 3 Sep 2023 00:48:54 +0000 (00:48 +0000)]
Zero initialize Perl AV elements after unshift and resize.
https://github.com/Perl/perl5/issues/21235
https://github.com/Perl/perl5/pull/21265
https://github.com/Perl/perl5/commit/
9e298ab597b2c6fc0741749d7e29119e2d6cd628
Bug reported by Anton Borowka. Fix from upstream Perl. OK afresh1@
jca [Sun, 3 Sep 2023 00:23:25 +0000 (00:23 +0000)]
Adapt tlb flush calls following arm64/pmap.c
1. in pmap_enter() no need to call tlb_flush_page() if we don't actually
insert a pted
2. all callers of pmap_pte_remove() already call tlb_flush_page()
This seems to result in some performance improvement (18mn -> 17mn15)
while building libc on a Hifive Unmatched). Also zap whitespace and
useless comments to further reduce the diff with arm64/pmap.c
ok kettenis@
jca [Sun, 3 Sep 2023 00:15:46 +0000 (00:15 +0000)]
Inline PTED_* functions and actually use PTED_WIRED()
As noted by drahn@ the compiler did inline said functions, but it also
provided them as unused symbols.
ok miod@ mlarkin@ kettenis@
jca [Sun, 3 Sep 2023 00:03:30 +0000 (00:03 +0000)]
pmap_page_protect() should not unmap pages after making them readonly.
This brings riscv64/pmap.c in line with arm64/pmap.c, original fix by
drahn@
ok miod@ kettenis@ mlarkin@
nicm [Sat, 2 Sep 2023 20:03:10 +0000 (20:03 +0000)]
Request terminal colours again on SIGWINCH but at most once every 30
seconds, GitHub issue 3582.
dv [Sat, 2 Sep 2023 19:28:46 +0000 (19:28 +0000)]
btrace(8): allow empty statements in probes.
Allows for probes like `BEGIN {}`, in parity with bpftrace.
Also fixes an incorrect syntax error parsing argN builtins in
subsequent probes after an empty BEGIN block.
ok mpi@
tobhe [Sat, 2 Sep 2023 18:36:30 +0000 (18:36 +0000)]
Make sure cert_type is not 0 to prevent leak of certid->id_buf.
Found by David Linder
ok patrick@
tobhe [Sat, 2 Sep 2023 18:16:02 +0000 (18:16 +0000)]
Remove unneccessary id == NULL check after dereferencing it. id can never
be NULL here.
Found by tb@
espie [Sat, 2 Sep 2023 17:19:57 +0000 (17:19 +0000)]
document ALL_DISTFILES and ALL_PATCHFILES
dv [Sat, 2 Sep 2023 15:16:12 +0000 (15:16 +0000)]
btrace(8): fix probe builtin in BEGIN/END.
Resolves segfaults when using probe within BEGIN or END.
ok mpi@
kn [Sat, 2 Sep 2023 10:18:45 +0000 (10:18 +0000)]
Fix comment about skipped interfaces
After r1.44 "Start on DOWN interfaces" this sentence makes no sense
and just repeats the obvious conditions, so zap it.
With/OK stsp
nicm [Sat, 2 Sep 2023 09:17:23 +0000 (09:17 +0000)]
Setulc only does RGB colour so add Setulc1 to do non-RGB colours, GitHub
issue 3627.
kn [Sat, 2 Sep 2023 09:14:47 +0000 (09:14 +0000)]
Use a hardware based number of KDF rounds by default for passphrases
When creating new crypto volumes with a passphrase or updating one, pick a
number of rounds that aims to take around 1s instead of just 16 (on X230 and
T14 machines, 16 rounds unlock pretty much instantly).
New default [-r auto] never decreases rounds, only explicit '-r N' can.
16 is the absolute minimum.
Motivation is to provide a saner and more modern default, especially for
fresh installations utilizing new disk encryption question.
Prodding for new default from and OK jsing on early "-r auto" installer diff
idea to to pick MAX(auto, old-rounds) from Lucas[AT sexy DOT is]
"seems acceptable to me" deraadt
Feedback kettenis sthen
OK op
stsp [Sat, 2 Sep 2023 09:02:18 +0000 (09:02 +0000)]
Avoid trying to remove keys if the station is not active in iwm firmware.
Same fix as applied to iwx(4) in March. Since iwm(4) does not use a task
for key installation and removal the same race might not manifest here.
However, trying to delete a key while the station is not in firmware
is wrong in any case. And this code might get moved into a task later.
stsp [Sat, 2 Sep 2023 08:57:46 +0000 (08:57 +0000)]
Make iwm(4) not crash when aircrack-ng attempts to inject frames via
bpf in monitor mode.
Crash reported by brad and sthen.
I reproduced the issue to verify my fix but I did not check whether
aircrack-ng actually works with this.
nicm [Sat, 2 Sep 2023 08:38:37 +0000 (08:38 +0000)]
Set visited flag on last windows when linking session.
mpi [Sat, 2 Sep 2023 08:24:40 +0000 (08:24 +0000)]
Zap anon pages mappings in uvm_anon_release() instead of in the fault handler.
This makes all code paths deactivating or freeing anons consistent.
No objection from the usual suspects.
tb [Sat, 2 Sep 2023 04:55:18 +0000 (04:55 +0000)]
whitespace
tb [Sat, 2 Sep 2023 04:15:39 +0000 (04:15 +0000)]
Align EVP_PKEY_get1_RSA() with EVP_PKEY_get0_RSA()
kettenis [Fri, 1 Sep 2023 20:35:31 +0000 (20:35 +0000)]
Implement drive strength tweaking for the YT8531. Needed on the v1.3b
variant of the visionfive2 board.
ok jsing@
mvs [Fri, 1 Sep 2023 20:24:29 +0000 (20:24 +0000)]
Call rtm_send() with netlock held to protect dereference of sockaddr
structure data returned by rtable_getsource(). Netlock can't be pushed
within rtm_send() because we have paths where caller already holds it.
tested by jca
ok bluhm jca
dv [Fri, 1 Sep 2023 19:42:26 +0000 (19:42 +0000)]
vmd(8): ignore masks on asserts, use synchronous deasserts.
The i8259 was considering the state of the mask register when a
device requested raising the bit in the interrupt request register.
This caused a race condition where if the virtio device asserted
the irq while it was masked in the i8259 by the vm, we'd miss the
interrupt request. The device and the pic would become out of sync
and users reported virtio block device stalls as the vioblk(4)
driver would starve, waiting for an interrupt that will never arrive.
The mask is now considered only at ack time, when finding possible
interrupts to inject. This bug was never a problem previously as
virtio devices were emulated synchronously.
Deasserts related to the vcpu reading the virtio isr register are
also made now in response to the read request instead of issued
asynchronously. This removes a subsequent race condition.
Testing from mbuhl@, stsp@, and Florian Riehm.
ok mlarkin@
nicm [Fri, 1 Sep 2023 18:43:54 +0000 (18:43 +0000)]
Only compare the actual size of the UTF-8 character, not all of it.
schwarze [Fri, 1 Sep 2023 17:28:21 +0000 (17:28 +0000)]
Many improvements, almost amounting to a partial rewrite:
* more precision what the CIPHER_CTX functions do
* more precision what an NID is
* avoid talking about RC2, use AES-256 for an example instead
* clarify that block sizes are measured in bytes
* mention additional restrictions regarding valid block sizes
* add the missing description of the *_flags(3) functions
* mention the public mask constant EVP_CIPH_MODE
* add three missing modes that can occur as return values
* add the missing entries for *_flags(3) and *_mode(3) below RETURN VALUES
* tweak various wordings for precision and conciseness
tb [Fri, 1 Sep 2023 17:12:19 +0000 (17:12 +0000)]
Fix EVP_PKEY_get0_RSA() for RSA-PSS
It currently returns NULL. This is OpenSSL
4088b926 + De Morgan.
ok jsing
nicm [Fri, 1 Sep 2023 16:40:38 +0000 (16:40 +0000)]
Add missing -T to getopt string.
kettenis [Fri, 1 Sep 2023 16:13:56 +0000 (16:13 +0000)]
Update with pin definitions from Linux 6.4.
ok patrick@
nicm [Fri, 1 Sep 2023 16:01:54 +0000 (16:01 +0000)]
Clear combine flag when a non-UTF-8 set of characters is encountered.
nicm [Fri, 1 Sep 2023 14:29:11 +0000 (14:29 +0000)]
Rewrite combined character handling to be more consistent and to support
newer Unicode combined characters (which we have to "know" are combined
since they are not width zero). GitHub issue 3600.
nicm [Fri, 1 Sep 2023 14:24:46 +0000 (14:24 +0000)]
Expand name before looking for window with -S, GitHub issue 3670.
nicm [Fri, 1 Sep 2023 13:48:54 +0000 (13:48 +0000)]
Add detach-on-destroy previous and next, mostly from Alexis Hildebrandt.
schwarze [Fri, 1 Sep 2023 12:13:13 +0000 (12:13 +0000)]
fix an obvious typo in the OBJ_NAME_add(3) prototype
afresh1 [Thu, 31 Aug 2023 21:29:53 +0000 (21:29 +0000)]
Add spaces for failure status
cheloha [Thu, 31 Aug 2023 19:29:51 +0000 (19:29 +0000)]
sched_cpu_init: remove unnecessary NULL-checks for clockintr pointers
sched_cpu_init() is only run once per cpu_info struct, so we don't
need these NULL-checks.
The NULL-checks are a vestige of clockintr_cpu_init(), which runs more
than once per CPU and uses the checks to avoid leaking clockintr handles.
Thread: https://marc.info/?l=openbsd-tech&m=
169349579804340&w=2
ok claudio@