Clear %dr6 and %dr7 on boot and on resume from suspend, in case the
BIOS uses but doesn't reset them. Display their values in trap_print()
if it's a trace trap.
problem observed on a MacPro6,1 by mglocker@
ok deraadt@ mglocker@
When auto-fetching files:
1. Error out when a command line argument that is supposed to specify
a URL does not contain a colon, rather than silently ignoring all
subsequent arguments including the bad one and reporting spurious
success. This can only happen for a bad argument following a valid
URL argument.
2. The check whether the "host" part of a URL is empty was ineffective.
Move it after cutting off the directory part to make it actually work,
and let it print a meaningful error message.
Issue 1 reported by Henrich Hartzer <h at hartzer dot sh> on tech@.
Issue 2 found in my audit of the function triggered by the report.
OK tedu@, and deraadt@ is "not worried"
net/rate-mirrors: new port (version 0.20.0)
net/rate-mirrors tests mirror speed for some Linux distributives,
OpenBSD and any http/https mirrors via stdin.
It uses info about submarine cables and internet exchanges (kudos to
TeleGeography for data) to jump between countries and find fast mirrors.
And it's fast enough to run it before each system update (~30 seconds
with default options).
OK: rsadowski@
Clear the resp buffer before calling getfh(). If getfh fails the response
would leak stack memory to the less privileged process.
Reported by S. Ai, H. Lefeuvre, Systopia team
OK deraadt@
merge the x509name test into x509_name_test.c
Remove the old x509name test and its Makefile rule. Its logic has
been fully integrated into x509_name_test.c using a new table-driven
approach. Each x509 name entry is added and validated step by step,
checking both the string representation produced by X509_NAME_print_ex()
and the internal RDN set structure.
This makes the test easier to extend and maintain, and eliminates the need
for an external .expected file or output diff.
From Kenjiro Nakayama (with tiny tweaks)