menu(3x): Constification and voidification of pointer arguments.
libmenu has several functions that take a non-const char * argument
and then (effectively) strdup(3) it. I've changed it so that these
functions take a const char * argument. Modern GCC objects to string
literals being passed to these functions otherwise.
In other cases, a userptr allows some data to be associated with a
data structure, but its type is char *. I've changed it to void *.
Both of these changes are consistent with similar changes in ncurses,
although are inconsistent with SVR4 libmenu versions. libmenu has
unfortunately never been standardized.
"that is fine" - blymn@
change failure and success path in testing bpf in npf
There are two tests here, standlone BPF byte code and JIT-compiled code
we don't need if/else block, we need an assertion to trigger
on any if there is unsuccessful compilation.
this avoids tests failures being unnoticed because we only see failures when
running in verbose mode
atto(1): Sprinkle __dead on functions that never return.
Pacifies -Werror=missing-noreturn in clang:
/home/source/ab/HEAD-llvm/src/usr.bin/atto/main.c:24:1: error: function 'usage' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn]
{
^
/home/source/ab/HEAD-llvm/src/usr.bin/atto/main.c:134:1: error: function 'fatal' could be declared with attribute 'noreturn' [-Werror,-Wmissing-noreturn]
{
^
2 errors generated.
aarch64: no need to DSB after every DC instruction in ln_dcache_*_all
The ln_dcache_{wb,wbinv,inv}_all helper do not need to DSB after each
DC instruction. Instead DSB after completing the cache level.
FUNCTION_PROFILER(): On 68010, use the same two step profile counter
reference strategy as ColdFire does. This avoids overflowing R_68K_PC16
relocations for pretty much every reasonably sized program build for
profiling.
m68k/conf/Makefile.kern.m68k.inc now sets -fno-omit-frame-pointer
automagically when it's needed, so don't bother doing it in
individual kernel configs.
i915: Fix execlist submission register indexing harder.
This time, with any luck, I transcribed the indexing correctly.
PR port-amd64/58657: i915drmkms blank screen
atto(1): fatal cannot take special format string arguments other than
the initial %s for the program name. Gain some safety by not having
callers pass a format string in the first place.
With this, we can raise WARNS to 5.
PR lib/60949 pthread*_getname_np(3) - avoid UB if len == 0
Just make len == 0 be an EINVAL error.
Update pthread_attr_getname_np(3) man page, so it no longer says
there are no errors from pthread_attr_getname_np() - which was wrong
in any case, as there was already one (if attr is invalid), and
while there, one minor grammar fix.
No pullups currently planned.