Still needs <sys/reboot.h>
missing bracket in previous;
tweak previous;
obvious conversion to mallocarray()
An EOF is a good reason to close a connection.

ok nicm@
No libsa putchar wanted here actually
Show an error if cmd_find_session can't find the current session, like
the other functions.
ugly hanging tabs; ok jasper
more hanging tabs
Display zero page hit and miss counters in vmstat -s.

ok deraadt@
#$%#@$# CONSPEED
fix even more trailing tabs
include stdint.h for standard ints. from Jean-Philippe Ouellet
Only set machdep.allowaperture if 'vga1: aperture needed' is found
in dmesg output. Use that information to decide whether or not to
ask the user if he intends to use X.

initial diff from and OK halex@
OK deraadt@
Some functions need to dup() before sending a socket by imsg and don't
need to close() after sending socket since imsg_compose() closes the
passing socket.
Convert error handling to SSLerr and ERR_asprintf_error_data.
Explicitly initialise slen - this was not previously done due to a missing
M_ASN1_D2I_begin macro.
yes indeed, it returns void *.  from Jean-Philippe Ouellet, i also had
this lurking in a tree
Fix sched_stop_secondary_cpus() to properly drain CPUs

TAILQ_FOREACH() isn't safe to use in sched_chooseproc() to iterate
over the run queues because within the loop body we remove the threads
from their run queues and reinsert them elsewhere.  As a result, we
end up only draining the first thread of each run queue rather than
all of them.

ok kettenis
Use lerrx instead of errx since the logging subsystem is already initialized.
OK florian@