Move kassert from resolve to add case in rtrequest().
In case RTM_RESOLVE there is already an assertion about ifa_ifp !=
NULL. Move it down after the fallthrough to cover also RTM_ADD.
This should give a better hint from syzkaller what is going wrong.
Reported-by: syzbot+f77fe03091e5efd9aaf9 at syzkaller.appspotmail.com
OK claudio@
U-Boot typically doesn't support setting EFI varibles. In that case
the EFIIOC_VAR_SET ioctl will return ENOSYS. Handle this the same way
as EPERM to avoid needlessly alarming the user.
ok deraadt@, jca@
install.md runs too early for dmesg.boot to be available, use plain dmesg(1)
Should have been in r1.63 "With ACPI >= 5, assume UEFI and default to GPT",
otherwise an early grep ENOENT error shows and default detection fails.
Reminded by kevlo, thanks.
Remove acme-challenge location from HTTPS server configuration as
RFC8555 8.3 explicitly states that the challenge must be over HTTP.
From Lucas de Sena (lucas AT seninha.org), thanks!
ok sdk@
replace "if (!task_del) taskq_barrier" with "taskq_del_barrier".
as per src/sys/kern/kern_task.c r1.36, it's possible for a task to
be re-added while it's currently running. in this situation the "if
(!task_del)" skips the barrier but doesn't do anything about the
currently running code, which taskq_del_barrier properly handles.
----------------------------------------------------------------------
Remove unused name member from x509_st
As far as I can tell this has never been used since the beginning of git
history with SSLeay 0.8.1b, so we can simplify the x509_cb() a little.
ok jsing miod
Remove unused valid member of x509_st
internal_verify() (now x509_vfy_internal_verify()) used to cache the
validity of the signature of a cert in this field. This is no longer
the case since x509_vfy.c 1.57 (2017).
Abstract internal time into monotime and increase resolution to micorseconds
monotime is tracking CLOCK_MONOTONIC with microsecond resolution as a
64bit long long type. To avoid type confusion and integer promotion
this long long lives inside a struct. The monotime API provides the
necessary functions to add, subtract and convert monotimes.
OK tb@
Add -c option that sets up the machine to boot from the specified disk.
For now, this is only implemented on amd64 and arm64 machines that use
UEFI and a GPT partition table. Will be used by the installer soon.
ok deraadt@, kn@