amd64: expose machinery for BHI_CTRL and BHI_DIS_S
Some recent Intel CPUs expose BHI_CTRL. That allows one to enable BHI_DIS_S
if BHI_NO is not present. This change adds the infrastructure for this but
does not yet enable BHI_DIS_S.
ok jsg@
Switch syslogd(8) to getexecpath(3).
Both syslogd and syslogd-parent call getexecpath() to get their own
program path. Then they transform the trailing components into the
path of the other one, which each has to execv(3) during start or
after SIGHUP.
with deraadt@; OK millert@
Migrate vmd(8) to use getexecpath(3).
vmd requires absolute paths during its many instances of fork+exec
in conjunction with its usage of unveil(2). Make it easier to run
vmd by capturing the absolute path via getexecpath(3) during early
init and storing it in the vmd environment state.
Looks good to deraadt@, "go for it" mlarkin@
Fix off-by-one in pf(4) ioctl DIOCIGETIFACES
The check for buffer exhaustion in pfi_get_ifaces() is off-by-one.
This leaves the last part of the buffer uninitialized and copies
out foreign heap data.
from Johann Hoepfner; OK deraadt@ sashan@
graphics/stable-diffusion.cpp: disable "GGML_NATIVE"
... current packaged binaries crash here with SIGILL, presumably because
they use instructions that are available on port-builders, but not here.
I hope this fixes things.
While here, enable support for webp (via graphics/libwepb) and webm (via
github.com/webmproject/libwebm)
auxinfo was not being placed on the stack for -static -pie binaries.
auxinfo was originally intended only for ld.so but libc has started inspecting
it, though nothing went wrong if it was missing. But now libc getexexpath(3)
requires it.
ok kettenis