level.
On Snapdragon X Elite there are 3 performance domains spanning 4 CPUs
each, where each can go from level 0 (719 Mhz) to 12 (3418 Mhz).
By default domain 0 boots into level 10, domains 1 and 2 boot into
level 12. Since the kernel only understands a single global performance
value we keep them in sync by initializing them all to 12 for now.
While there, also move PERFORMANCE_LEVEL_GET to a separate function
and clean up a bit.
ok patrick@
Add a basic test case for HKDF using EVP_PKEY_HKDF to evp_test.c.
This test verifies the correct derivation of output keying material
using SHA-256, matching the test vector from RFC 5869 Appendix A.1.
ok tb@ joshua@
Add complete description of PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH.
Improve descriptions of various other options and variables.
This patch was accepted and pushed upstream by Ariadne Conill.
revealed an (admittedly rare) use case that is not only legitimate, but even
provides .Li with semantic significance: unquoted in-line literal display.
Make it clear that .Ql is still the normal macro for in-line literal displays.
Consistently mention that the term "literal display" implies formatting with
a constant-width font, resulting in improved descriptions for several
macros implementing literal displays.
OK jmc@.
Always set `data' and `udata' of the EVFILT_USER event when triggering
it with NOTE_TRIGGER. Preserve `fflags' when the event is cleared
with EV_CLEAR. These make the behaviour more similar to kqueue(2) /
kevent(2) of FreeBSD, to avoid OS-specific quirks in user code.
Tested by volker@
OK tedu@ mvs@
This adds significant complexity to the code. On amd64 and aarch64 it
results in a minimal slowdown for aligned inputs and a performance
improvement for unaligned inputs.
ok beck@ joshua@ tb@
new (optional) pmap function that "purges" a pmap to optimize a subsqeuent
uvm space teardown. Rewire the arm64 TLB flush optimization to use that
new function.
ok mpi@, claudio@
- Always read the value just before issuing an atomic operation to avoid
locking the cache line.
- Use an exponential backoff for the busy loop when waiting for a contended
lock.
Prevent hangs on Ampere Altra with highly contended mutexes.
ok kettenis@, dlg@
Add a test framework for use in LibreSSL regression tests. This test
framework aims to be as lightweight and as simple to use as possible.
The design is mostly inspired by Go's test system, and aims to be a
drop-in utility in most existing regress tests.
ok jsing tb beck
SOCKS4A is a fairly obscure extension to the olde SOCKS4 protocol that
allows passing the destination as a string rather than a literal IPv4
address, which is the only thing that vanilla SOCKS4 supports.
The motivation for adding something so niche is to test the SOCKS4A
server code in ssh(1)'s dynamic forwarding (-D) support.
ok tb@
The 3 highlighting modes can be accessed through 'c', 'l', and 'w'.
The operator should just those toggles (instead of a toggle that does
different things depending on what happened before).
OK kn@
Seems more important to help the operator understand where they are and
whether the thing is moving; rather than learning what year it is. This
makes watch more like top(1).
OK kn@
"stdio route" denies file I/O, so confining to /var/empty/ is pointless,
requiring a preopened /dev/null to later pass into custom rdaemon().
Drop all that and rely on tight promises after daemonising.
OK brynet
There is no chroot(2), only unveil(2) to a single file, see initial commit.
Defer unveil for deamon(3) to see /dev/null and drop cargo-culted code.
OK deraadt brynet