Now
MAIN commitmail json YAML
arm/fdt/cpu_fdt.c: Use `cpu' iattr to attach cpufreq.
Now that cpu has an explicit interface attribute, cpufeaturebus,
_all_ children of cpu must use an explicit interface attribute to
disambiguate. For children that weren't previously attached using an
explicit interface attribute, the name of the parent, `cpu', serves
as the iattr.
XXX I think we should either
(a) not use cpufreqbus, since in the aarch64 case it doesn't seem to
be passing any information through attach args, or
(b) create another iattr like cpufdtbus for use by cpufreq_dt.c,
which does rely on attach args, if it has to attach differently
from the rest of fdtbus.
But for now this should get aarch64 on fdt booting again.
Now that cpu has an explicit interface attribute, cpufeaturebus,
_all_ children of cpu must use an explicit interface attribute to
disambiguate. For children that weren't previously attached using an
explicit interface attribute, the name of the parent, `cpu', serves
as the iattr.
XXX I think we should either
(a) not use cpufreqbus, since in the aarch64 case it doesn't seem to
be passing any information through attach args, or
(b) create another iattr like cpufdtbus for use by cpufreq_dt.c,
which does rely on attach args, if it has to attach differently
from the rest of fdtbus.
But for now this should get aarch64 on fdt booting again.
MAIN commitmail json YAML
xdebug/shl.mi: Delete libXxf86misc.so.2.0.debug.
Loading existing applications that linked against this into a
debugger should continue to work, so it shouldn't be obsoleted, but
the file is no longer installed.
Loading existing applications that linked against this into a
debugger should continue to work, so it shouldn't be obsoleted, but
the file is no longer installed.
MAIN commitmail json YAML
xbase/shl.mi: Delete, rather than obsolete, libXxf86misc.so.M(.N).
Obsolete lines here will lead postinstall to delete the shlib, which
will break any existing applications linked against it. Deleting the
lines has no effect on postinstall.
(We should maybe have a different way to mark them instead, as
suggested in PR 57581, but we don't, so this is what we do for now.)
However, keep the obsolete line for libXxf86misc.so, since the .so
symlink itself is only used when linking new applications.
Obsolete lines here will lead postinstall to delete the shlib, which
will break any existing applications linked against it. Deleting the
lines has no effect on postinstall.
(We should maybe have a different way to mark them instead, as
suggested in PR 57581, but we don't, so this is what we do for now.)
However, keep the obsolete line for libXxf86misc.so, since the .so
symlink itself is only used when linking new applications.
MAIN commitmail json YAML
xbase/shl.mi: Copy comment about delete vs obsolete from base/shl.mi.
MAIN commitmail json YAML
tests/usr.bin/mtree/t_sets: Add base32, base64, debug32, debug64.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix another rounding error.
Noted by kre.
This doesn't break a passing test or fix a failed test, at least on
x86 -- our printf produces `0x1.533p+3' for the double case and
`0xa.99ap+0' for the long double case. But of the hexadecimal number
literals that that start with 0x5 having three hexadigits to the
right of the fractional point, 0x5.4cdp+1 closest to the IEEE 754
binary64, VAX D, x86 extended precision, and IEEE 754 binary128
floating-point numbers closest to 10.6.
The reason is that the number 10.6 (or the nearest floating-point
number in any format with enough precision) is:
101.0100 1100 1100|1100... * 2^1 = 0x5.4cc|c...p+1
If we round at the vertical bar to the _nearest_ output with three
hexadigits of precision, the result is:
101.0100 1100 1101 * 2^1 = 0x5.4cdp+1
Noted by kre.
This doesn't break a passing test or fix a failed test, at least on
x86 -- our printf produces `0x1.533p+3' for the double case and
`0xa.99ap+0' for the long double case. But of the hexadecimal number
literals that that start with 0x5 having three hexadigits to the
right of the fractional point, 0x5.4cdp+1 closest to the IEEE 754
binary64, VAX D, x86 extended precision, and IEEE 754 binary128
floating-point numbers closest to 10.6.
The reason is that the number 10.6 (or the nearest floating-point
number in any format with enough precision) is:
101.0100 1100 1100|1100... * 2^1 = 0x5.4cc|c...p+1
If we round at the vertical bar to the _nearest_ output with three
hexadigits of precision, the result is:
101.0100 1100 1101 * 2^1 = 0x5.4cdp+1
MAIN commitmail json YAML
libm: No divtc3.c or multc3.c in sparc64's compat sparc library.
compat/sparc64/sparc/bsd.sparc.mk doesn't define LIBC_MACHINE_CPU,
only LIBC_MACHINE_ARCH, so when the compat build gets to this
conditional, LIBC_MACHINE_CPU is just MACHINE_CPU, i.e., sparc64.
Since there's no `sparc64el' or `sparc64hf-el' that we need to
canonicalize by MACHINE_ARCH -> MACHINE_CPU, just use
LIBC_MACHINE_ARCH here.
compat/sparc64/sparc/bsd.sparc.mk doesn't define LIBC_MACHINE_CPU,
only LIBC_MACHINE_ARCH, so when the compat build gets to this
conditional, LIBC_MACHINE_CPU is just MACHINE_CPU, i.e., sparc64.
Since there's no `sparc64el' or `sparc64hf-el' that we need to
canonicalize by MACHINE_ARCH -> MACHINE_CPU, just use
LIBC_MACHINE_ARCH here.
MAIN commitmail json YAML
tests/lib/libc/gen/t_fpclassify: Test fpclassify on non-IEEE754 too.
Just exclude the subnormal parts on non-IEEE754 architectures
according to __FLT/DBL/LDBL_HAS_DENORM__.
Just exclude the subnormal parts on non-IEEE754 architectures
according to __FLT/DBL/LDBL_HAS_DENORM__.
MAIN commitmail json YAML
src/lib/libm/Makefile@1.234
/
diff
/
nxr@1.234
src/lib/libm/m.vax.expsym@1.4 / diff / nxr@1.4
src/lib/libm/noieee_src/n_frexpf.c@1.1 / diff / nxr@1.1
src/lib/libm/noieee_src/n_frexpl.c@1.1 / diff / nxr@1.1
src/lib/libm/m.vax.expsym@1.4 / diff / nxr@1.4
src/lib/libm/noieee_src/n_frexpf.c@1.1 / diff / nxr@1.1
src/lib/libm/noieee_src/n_frexpl.c@1.1 / diff / nxr@1.1
libm: Add frexpf and frexpl on VAX.
These are trivial subroutines, not symbol aliases, for separate
reasons:
- frexpf has a different ABI from frexp (float vs double argument)
- frexp is defined in libc, not libm, so although long double is the
same as double, frexpl can't be an alias in libm of a symbol
defined in libc
These are trivial subroutines, not symbol aliases, for separate
reasons:
- frexpf has a different ABI from frexp (float vs double argument)
- frexp is defined in libc, not libm, so although long double is the
same as double, frexpl can't be an alias in libm of a symbol
defined in libc
MAIN commitmail json YAML
tests/lib/libc/gen/t_fpclassify: Spruce this up a bit.
Provide more useful diagnostics when tests fail.
Provide more useful diagnostics when tests fail.
MAIN commitmail json YAML
tests/lib/libm/t_infinity: Remove broken long double conditional.
LDBL_MAX is always defined, so this branch is dead. (If LDBL_MAX is
not defined, that's a bug in the architecture's float.h, not a reason
to skip a test.)
LDBL_MAX is always defined, so this branch is dead. (If LDBL_MAX is
not defined, that's a bug in the architecture's float.h, not a reason
to skip a test.)
MAIN commitmail json YAML
src/lib/libc/gdtoa/hdtoa.c@1.13
/
diff
/
nxr@1.13
src/tests/lib/libc/stdio/t_printf.c@1.15 / diff / nxr@1.15
src/tests/lib/libc/stdio/t_printf.c@1.15 / diff / nxr@1.15
Revert various broken changes to printf %La (hldtoa).
This reverts:
hdtoa.c 1.12 (PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core)
hdtoa.c 1.11 (fix tyop)
hdtoa.c 1.10 (Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).)
The underlying motivation for this change was that when ld128 is
decomposed into 4x32 words, this hldtoa logic is broken.
But we don't decompose ld128 into 4x32 words; we decompose it into
6x64 words.
And the change, which was supposed to be a noop in our case of 2x64
words (or similar for x87 80-bit floating-point), broke it to the
point of causing buffer overruns (PR 56247) which when worked around
led to just incorrect output output (PR 56937).
If we want to make the #ifdefs for 4x32 words work, that's fine, but
we absolutely must have automatic test cases to detect this kind of
regression because %La formatting is extremely important for
diagnosing details of floating-point data since it doesn't involve
rounding in binary formats. For now I've added some trivial tests;
there is a more extensive test suite inside gdtoa that we need to
wire up before anyone tries any other shenanigans in this code.
PR lib/56937: printf(3) long double %a formatting is broken
This reverts:
hdtoa.c 1.12 (PR/56247: Greg A. Woods: printf("%La", LDBL_MIN) dumps core)
hdtoa.c 1.11 (fix tyop)
hdtoa.c 1.10 (Via enh at google dot com in tech-userlevel. Fix handling of
EXT_FRAC{H,L}BITS (although we don't need to since we don't have them).)
The underlying motivation for this change was that when ld128 is
decomposed into 4x32 words, this hldtoa logic is broken.
But we don't decompose ld128 into 4x32 words; we decompose it into
6x64 words.
And the change, which was supposed to be a noop in our case of 2x64
words (or similar for x87 80-bit floating-point), broke it to the
point of causing buffer overruns (PR 56247) which when worked around
led to just incorrect output output (PR 56937).
If we want to make the #ifdefs for 4x32 words work, that's fine, but
we absolutely must have automatic test cases to detect this kind of
regression because %La formatting is extremely important for
diagnosing details of floating-point data since it doesn't involve
rounding in binary formats. For now I've added some trivial tests;
there is a more extensive test suite inside gdtoa that we need to
wire up before anyone tries any other shenanigans in this code.
PR lib/56937: printf(3) long double %a formatting is broken
MAIN commitmail json YAML
tests/lib/libm/t_ilogb: Expand and tidy.
1. Instead of calling out VAX by name, use #ifdef NAN and
isinf(INFINITY). (VAX defines INFINITY even though it's not an
infinity, not sure if there's a better compile-time test.)
2. Verify ilogbl works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
1. Instead of calling out VAX by name, use #ifdef NAN and
isinf(INFINITY). (VAX defines INFINITY even though it's not an
infinity, not sure if there's a better compile-time test.)
2. Verify ilogbl works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
MAIN commitmail json YAML
tests/lib/libm/t_fe_round.c: Tidy.
nextafter/nexttoward tests didn't make much sense, and are now
supplanted by t_next.
PR misc/58054
nextafter/nexttoward tests didn't make much sense, and are now
supplanted by t_next.
PR misc/58054
MAIN commitmail json YAML
src/lib/libm/Makefile@1.233
/
diff
/
nxr@1.233
src/lib/libm/m.mips.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips64.expsym@1.1 / diff / nxr@1.1
libm: Split expected symbols in mips further by 32-bit vs 64-bit.
32-bit has binary64 long double, same as double; 64-bit has binary128
long double, which is implemented with a few more symbols in libm
(which should maybe be hidden internal symbols, but let's get this
diagnostic measure in the build working before we think about
possibly deleting private symbols).
32-bit has binary64 long double, same as double; 64-bit has binary128
long double, which is implemented with a few more symbols in libm
(which should maybe be hidden internal symbols, but let's get this
diagnostic measure in the build working before we think about
possibly deleting private symbols).
MAIN commitmail json YAML
libm: Record expected symbols for sh3.
MAIN commitmail json YAML
src/lib/libm/Makefile@1.232
/
diff
/
nxr@1.232
src/lib/libm/m.arm.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.armhf.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.mipshf.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.arm.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.armhf.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.mipshf.expsym@1.1 / diff / nxr@1.1
libm: Split expected symbols on arm and mips by hard/soft float.
MAIN commitmail json YAML
tests/lib/libm/t_fe_round: xfail for modfl uses.
PR lib/58237: modfl returns wrong answers on ld128 architectures
PR lib/58237: modfl returns wrong answers on ld128 architectures
MAIN commitmail json YAML
tests/lib/libm/t_modf: Mark modfl xfail on ld128.
PR lib/58237: modfl returns wrong answers on ld128 architectures
PR lib/58237: modfl returns wrong answers on ld128 architectures
MAIN commitmail json YAML
bsd.lib.mk: Use LIBC_MACHINE_ARCH/CPU if set for expected symbols.
Otherwise, we get the wrong list of symbols for compat library
builds, where MACHINE_ARCH/CPU is different from
LIBC_MACHINE_ARCH/CPU, e.g. building compat 32-bit sparc libm on
sparc64.
XXX This is kinda kludgey -- `libc' seems wrong here.
Otherwise, we get the wrong list of symbols for compat library
builds, where MACHINE_ARCH/CPU is different from
LIBC_MACHINE_ARCH/CPU, e.g. building compat 32-bit sparc libm on
sparc64.
XXX This is kinda kludgey -- `libc' seems wrong here.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Add another %La test.
This one was adapted from the screw case shown in
https://mail-index.netbsd.org/tech-userlevel/2020/04/11/msg012329.html
which wasn't broken in our libc, but which nevertheless prompted us
to commit a wrong and apparently untested patch that has rendered
printf %La broken for the last four years, which is a little
embarrassing. (The part of that patch that led to a buffer overrun
has been worked around, so now the output is just incorrect.)
PR lib/56937: printf(3) long double %a formatting is broken
This one was adapted from the screw case shown in
https://mail-index.netbsd.org/tech-userlevel/2020/04/11/msg012329.html
which wasn't broken in our libc, but which nevertheless prompted us
to commit a wrong and apparently untested patch that has rendered
printf %La broken for the last four years, which is a little
embarrassing. (The part of that patch that led to a buffer overrun
has been worked around, so now the output is just incorrect.)
PR lib/56937: printf(3) long double %a formatting is broken
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix %a test the same way.
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Fix %La test.
0xa.99ap+0 is closer to (long double)10.6 in x86 ld80 and in
binary128 (and possibly more formats, haven't verified).
0xa.99ap+0 is closer to (long double)10.6 in x86 ld80 and in
binary128 (and possibly more formats, haven't verified).
MAIN commitmail json YAML
tests/lib/libc/stdio/t_printf: Add a couple simple %La tests.
PR lib/56937: printf(3) long double %a formatting is broken
PR lib/56937: printf(3) long double %a formatting is broken
MAIN commitmail json YAML
tests/lib/libm/t_next: Expand substantially.
This covers many more potential problem areas -- and includes a new
xfail test for PR lib/58236: nexttoward(3) is broken on subnormals.
This covers many more potential problem areas -- and includes a new
xfail test for PR lib/58236: nexttoward(3) is broken on subnormals.
MAIN commitmail json YAML
src/lib/libm/m.vax.expsym@1.3
/
diff
/
nxr@1.3
src/lib/libm/noieee_src/n_floor.c@1.9 / diff / nxr@1.9
src/lib/libm/noieee_src/n_floor.c@1.9 / diff / nxr@1.9
libm: Add rintl, rintf to non-IEEE754 architectures.
While here, delete #ifdef to handle ns32k -- I don't think that's
gonna be relevant any time soon; in case you hadn't noticed, the
world has moved on from ns32k to vax by now.
PR 57881
While here, delete #ifdef to handle ns32k -- I don't think that's
gonna be relevant any time soon; in case you hadn't noticed, the
world has moved on from ns32k to vax by now.
PR 57881
MAIN commitmail json YAML
libm: ldbl_dummy.c is no longer needed -- nix it.
MAIN commitmail json YAML
src/lib/libm/m.aarch64.expsym@1.3
/
diff
/
nxr@1.3
src/lib/libm/m.riscv.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/src/s_cosl.c@1.3 / diff / nxr@1.3
src/lib/libm/m.riscv.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.sparc64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/src/s_cosl.c@1.3 / diff / nxr@1.3
libm: Don't export symbol `pio4' from s_cosl.c.
This appears to have been added unintentionally in the recent FreeBSD
long double update, and never went out in a release.
This appears to have been added unintentionally in the recent FreeBSD
long double update, and never went out in a release.
MAIN commitmail json YAML
src/lib/libm/m.aarch64.expsym@1.2
/
diff
/
nxr@1.2
src/lib/libm/m.alpha.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.arm.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.hppa.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.i386.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.ia64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.m68k.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.powerpc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.riscv.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/noieee_src/n_sincos.c@1.10 / diff / nxr@1.10
src/lib/libm/src/namespace.h@1.20 / diff / nxr@1.20
src/lib/libm/src/s_cos.c@1.12 / diff / nxr@1.12
src/lib/libm/src/s_cosf.c@1.10 / diff / nxr@1.10
src/lib/libm/src/s_finite.c@1.13 / diff / nxr@1.13
src/lib/libm/src/s_finitef.c@1.9 / diff / nxr@1.9
src/lib/libm/src/s_sin.c@1.12 / diff / nxr@1.12
:
(more 3 files)
src/lib/libm/m.alpha.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.arm.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.hppa.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.i386.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.ia64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.m68k.expsym@1.4 / diff / nxr@1.4
src/lib/libm/m.mips.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.powerpc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.riscv.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.sparc64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.3 / diff / nxr@1.3
src/lib/libm/noieee_src/n_sincos.c@1.10 / diff / nxr@1.10
src/lib/libm/src/namespace.h@1.20 / diff / nxr@1.20
src/lib/libm/src/s_cos.c@1.12 / diff / nxr@1.12
src/lib/libm/src/s_cosf.c@1.10 / diff / nxr@1.10
src/lib/libm/src/s_finite.c@1.13 / diff / nxr@1.13
src/lib/libm/src/s_finitef.c@1.9 / diff / nxr@1.9
src/lib/libm/src/s_sin.c@1.12 / diff / nxr@1.12
:
(more 3 files)
libm: Do the weak alias dance for sin/cos/tan/finite{,f}.
tan isn't used internally, but it's confusing for it to be treated
differently from sin and cos, and there's no harm in doing the dance
unnecessarily.
tan isn't used internally, but it's confusing for it to be treated
differently from sin and cos, and there's no harm in doing the dance
unnecessarily.
MAIN commitmail json YAML
src/lib/libm/arch/m68k/s_finite.S@1.8
/
diff
/
nxr@1.8
src/lib/libm/m.m68k.expsym@1.3 / diff / nxr@1.3
src/lib/libm/m.m68k.expsym@1.3 / diff / nxr@1.3
libm/arch/m68k: Do the weak alias dance for finite.
This is used internally.
This is used internally.
MAIN commitmail json YAML
src/lib/libm/arch/mc68881/s_cos.S@1.7
/
diff
/
nxr@1.7
src/lib/libm/arch/mc68881/s_sin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/mc68881/s_tan.S@1.7 / diff / nxr@1.7
src/lib/libm/m.m68k.expsym@1.2 / diff / nxr@1.2
src/lib/libm/arch/mc68881/s_sin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/mc68881/s_tan.S@1.7 / diff / nxr@1.7
src/lib/libm/m.m68k.expsym@1.2 / diff / nxr@1.2
libm/arch/mc68881: Do the weak alias dance for sin, cos, tan.
These are used internally.
These are used internally.
MAIN commitmail json YAML
src/lib/libm/arch/vax/n_support.S@1.12
/
diff
/
nxr@1.12
src/lib/libm/m.vax.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.vax.expsym@1.2 / diff / nxr@1.2
libm/arch/vax: Do the weak alias dance for finite, finitef.
These are used internally.
These are used internally.
MAIN commitmail json YAML
src/lib/libm/arch/i387/s_finite.S@1.8
/
diff
/
nxr@1.8
src/lib/libm/arch/i387/s_finitef.S@1.7 / diff / nxr@1.7
src/lib/libm/m.i386.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.2 / diff / nxr@1.2
src/lib/libm/arch/i387/s_finitef.S@1.7 / diff / nxr@1.7
src/lib/libm/m.i386.expsym@1.2 / diff / nxr@1.2
src/lib/libm/m.x86_64.expsym@1.2 / diff / nxr@1.2
libm/arch/i387: Do the weak alias dance for finite and finitef.
These are used internally by some things.
These are used internally by some things.
MAIN commitmail json YAML
libm: Add expected symbols for m68k.
Not sure if this'll work for all ports -- we might need to split it
up finer-grained by different m68k flavours -- but let's give it a
try and see what breaks.
Not sure if this'll work for all ports -- we might need to split it
up finer-grained by different m68k flavours -- but let's give it a
try and see what breaks.
MAIN commitmail json YAML
src/lib/libm/arch/m68060/Makefile.list@1.8
/
diff
/
nxr@1.8
src/lib/libm/arch/m68060/e_acos.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_acosf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asin.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asinf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_cosh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_coshf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_exp.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_expf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10f.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_logf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrtf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/fplsp_wrap.S@1.9 / diff / nxr@1.9
:
(more 18 files)
src/lib/libm/arch/m68060/e_acos.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_acosf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asin.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_asinf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_atanhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_cosh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_coshf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_exp.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_expf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_log10f.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_logf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinh.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sinhf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/e_sqrtf.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/m68060/fplsp_wrap.S@1.9 / diff / nxr@1.9
:
(more 18 files)
lib/libm/arch/m68060: regen
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Delimit symbols with END.
This way we get symbol sizes in the ELF output.
This way we get symbol sizes in the ELF output.
MAIN commitmail json YAML
lib/libm/arch/m68060/makeas.sh: Create public weak aliases.
Use _foo for internal names, and weak alias foo when it's public like
sin/cos/tan.
Use _foo for internal names, and weak alias foo when it's public like
sin/cos/tan.
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Use `set -eu' to detect script mistakes.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Pass arguments to dummy more idiomatically.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
lib/libm/m68060/makeas.sh: Use local for shell functions.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
lib/libm/arch/m68060/makeas.sh: Indent sh blocks.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
src/lib/libm/arch/m68060/Makefile.list@1.7
/
diff
/
nxr@1.7
src/lib/libm/arch/m68060/e_acos.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_acosf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asinf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_cosh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_coshf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_exp.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_expf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10f.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_logf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrt.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrtf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/fplsp_wrap.S@1.8 / diff / nxr@1.8
:
(more 18 files)
src/lib/libm/arch/m68060/e_acos.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_acosf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asin.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_asinf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_atanhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_cosh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_coshf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_exp.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_expf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_log10f.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_logf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinh.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sinhf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrt.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/e_sqrtf.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/m68060/fplsp_wrap.S@1.8 / diff / nxr@1.8
:
(more 18 files)
lib/libm/arch/m68060: regen
MAIN commitmail json YAML
lib/libm/arch/m68060/makeas.sh: Strip the $ when emitting RCS id.
MAIN commitmail json YAML
libm/arch/m68060/Makefile: bsd.sys.mk -> bsd.host.mk
Somewhat belatedly, after bsd.sys.mk was forbidden to use directly
from Makefiles back in 2014.
Somewhat belatedly, after bsd.sys.mk was forbidden to use directly
from Makefiles back in 2014.
MAIN commitmail json YAML
libm/arch/m68060/makeas.sh: Tag output with makeas.sh RCS id.
No functional change intended to the output -- only changes are to
comments.
No functional change intended to the output -- only changes are to
comments.
MAIN commitmail json YAML
tests/lib/libc/gen/t_fpclassify: Enable long double tests.
The necessary long double symbols should all be available now. If
there are any architectures where they're not, we can fix those
architectures.
The necessary long double symbols should all be available now. If
there are any architectures where they're not, we can fix those
architectures.
MAIN commitmail json YAML
src/lib/libm/m.aarch64.expsym@1.1
/
diff
/
nxr@1.1
src/lib/libm/m.alpha.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.arm.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.hppa.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.i386.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.ia64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.powerpc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.riscv.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.vax.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.x86_64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.alpha.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.arm.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.hppa.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.i386.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.ia64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.mips.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.powerpc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.riscv.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.sparc64.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.vax.expsym@1.1 / diff / nxr@1.1
src/lib/libm/m.x86_64.expsym@1.1 / diff / nxr@1.1
libm: Memorialize expected symbols on various architectures.
This will reduce the risk of accidentally adding or deleting the
wrong symbols while fixing the aliases.
(This is all the architectures I have a build tree for handy; can add
other architectures like m68k later.)
This will reduce the risk of accidentally adding or deleting the
wrong symbols while fixing the aliases.
(This is all the architectures I have a build tree for handy; can add
other architectures like m68k later.)
MAIN commitmail json YAML
bsd.lib.mk: Allow MACHINE_CPU for default expsym file.
MAIN commitmail json YAML
math.h: Move declarations under appropriate namespace tests.
Not sure about _REENTRANT, but if gamma_r and lgamma_r go under that
(even if _NETBSD_SOURCE isn't defined), then lgammal_r probably
should too.
Not sure about _REENTRANT, but if gamma_r and lgamma_r go under that
(even if _NETBSD_SOURCE isn't defined), then lgammal_r probably
should too.
MAIN commitmail json YAML
src/lib/libm/arch/vax/n_cabs.S@1.9
/
diff
/
nxr@1.9
src/lib/libm/arch/vax/n_cbrt.S@1.9 / diff / nxr@1.9
src/lib/libm/arch/vax/n_scalbn.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_cbrt.S@1.9 / diff / nxr@1.9
src/lib/libm/arch/vax/n_scalbn.S@1.8 / diff / nxr@1.8
libm/arch/vax: Use STRONG_ALIAS, not ALTENTRY.
STRONG_ALIAS copies the symbol size and type, so it avoids warnings
like this:
/home/riastradh/netbsd/10/obj.vax/tooldir/bin/../lib/gcc/vax--netbsdelf/10.5.0/../../../../vax--netbsdelf/bin/ld: warning: type and size of dynamic symbol `ldexpl' are not defined
STRONG_ALIAS copies the symbol size and type, so it avoids warnings
like this:
/home/riastradh/netbsd/10/obj.vax/tooldir/bin/../lib/gcc/vax--netbsdelf/10.5.0/../../../../vax--netbsdelf/bin/ld: warning: type and size of dynamic symbol `ldexpl' are not defined
MAIN commitmail json YAML
src/lib/libm/arch/vax/n_argred.S@1.10
/
diff
/
nxr@1.10
src/lib/libm/arch/vax/n_atan2.S@1.10 / diff / nxr@1.10
src/lib/libm/arch/vax/n_cabs.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_cbrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_infnan.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_scalbn.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_sqrt.S@1.12 / diff / nxr@1.12
src/lib/libm/arch/vax/n_support.S@1.11 / diff / nxr@1.11
src/lib/libm/arch/vax/n_atan2.S@1.10 / diff / nxr@1.10
src/lib/libm/arch/vax/n_cabs.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_cbrt.S@1.8 / diff / nxr@1.8
src/lib/libm/arch/vax/n_infnan.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_scalbn.S@1.7 / diff / nxr@1.7
src/lib/libm/arch/vax/n_sqrt.S@1.12 / diff / nxr@1.12
src/lib/libm/arch/vax/n_support.S@1.11 / diff / nxr@1.11
libm/arch/vax: Use END to delimit symbol definitions.
This way we get sizes and, likely, slightly better debug info about
PCs inside these symbols.
This way we get sizes and, likely, slightly better debug info about
PCs inside these symbols.
MAIN commitmail json YAML
tests/lib/libm/t_bit: Expand and tidy.
1. Instead of calling out VAX by name, use #ifdef NAN.
2. Verify signbit works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
3. Minor formatting tidying.
1. Instead of calling out VAX by name, use #ifdef NAN.
2. Verify signbit works on long double on all architectures, not just
those with __HAVE_LONG_DOUBLE which means long double is _larger_
than double.
3. Minor formatting tidying.
MAIN commitmail json YAML
tests/lib/libc/stdlib/t_strtod: Spruce up and nix needless #ifdefs.
MAIN commitmail json YAML
tests/lib/libm/t_modf: Use isinf(INFINITY) to detect inf support.
Apparently VAX defines the INFINITY macro even though it's not
actually an infinity and isinf returns zero for it.
Apparently VAX defines the INFINITY macro even though it's not
actually an infinity and isinf returns zero for it.
MAIN commitmail json YAML
tests/lib/libc/gen/t_floatunditf: Nix __HAVE_LONG_DOUBLE conditional.
Conversion from uint64_t to long double should work on all ports,
including those where long double is the same as double, i.e., where
__HAVE_LONG_DOUBLE is undefined.
Instead, conditionalize the test cases on how many bits of precision
long double has in the significand, according to LDBL_MANT_DIG. The
conditionals here should handle binary128, powerpc double-dekker
(~106-bit precision), x86 extended precision (80-bit), m68k extended
precision (80-bit), and VAX D (56-bit).
Conversion from uint64_t to long double should work on all ports,
including those where long double is the same as double, i.e., where
__HAVE_LONG_DOUBLE is undefined.
Instead, conditionalize the test cases on how many bits of precision
long double has in the significand, according to LDBL_MANT_DIG. The
conditionals here should handle binary128, powerpc double-dekker
(~106-bit precision), x86 extended precision (80-bit), m68k extended
precision (80-bit), and VAX D (56-bit).
MAIN commitmail json YAML
tests/lib/libm/t_sincos: Nix __HAVE_LONG_DOUBLE conditionals.
sincosl is supposed to be there even if long double is double, as is
the case when __HAVE_LONG_DOUBLE is undefined.
sincosl is supposed to be there even if long double is double, as is
the case when __HAVE_LONG_DOUBLE is undefined.
MAIN commitmail json YAML
tests/lib/libm/t_scalbn: Nix __HAVE_LONG_DOUBLE conditionals.
If long double is the same as double, i.e., __HAVE_LONG_DOUBLE is
undefined, these tests should still pass, since they don't rely on
extra precision beyond double.
If long double is the same as double, i.e., __HAVE_LONG_DOUBLE is
undefined, these tests should still pass, since they don't rely on
extra precision beyond double.
MAIN commitmail json YAML
tests/lib/libm/t_precision: Nix __HAVE_LONG_DOUBLE conditionals.
long double and LDBL_EPSILON work even on architectures where long
double is the same as double, i.e., where the confusingly named
__HAVE_LONG_DOUBLE is not defined.
long double and LDBL_EPSILON work even on architectures where long
double is the same as double, i.e., where the confusingly named
__HAVE_LONG_DOUBLE is not defined.
MAIN commitmail json YAML
tests/lib/libm/t_cos: Fix comment about necessity of volatile.
MAIN commitmail json YAML
tests/lib/libm/t_cos: Nix __HAVE_LONG_DOUBLE.
cosl should always be defined even on architectures where long double
is the same as double so the confusingly named __HAVE_LONG_DOUBLE is
not defined.
cosl should always be defined even on architectures where long double
is the same as double so the confusingly named __HAVE_LONG_DOUBLE is
not defined.
MAIN commitmail json YAML
tests/lib/libm/t_cabsl: Nix __HAVE_LONG_DOUBLE conditionals.
__HAVE_LONG_DOUBLE just means long double is different from double.
This test should always pass on all ports, even if long double is the
same as double; it doesn't test any additional precision.
__HAVE_LONG_DOUBLE just means long double is different from double.
This test should always pass on all ports, even if long double is the
same as double; it doesn't test any additional precision.
MAIN commitmail json YAML
tests/usr.bin/mtree/t_sets.sh: atf_fail, not atf_tc_fail
MAIN commitmail json YAML
tests/lib/libm/t_modf: Check sign of modf on infinities too.
Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B)
instead, so you can see which one failed, but in this case the inputs
are displayed anyway so we don't lose anything unless the
floating-point printer is broken.
Normally I don't like CHECK(A && B) and favour CHECK(A); CHECK(B)
instead, so you can see which one failed, but in this case the inputs
are displayed anyway so we don't lose anything unless the
floating-point printer is broken.
MAIN commitmail json YAML
tests/lib/libm/t_modf.c: Expand modf/modff/modfl tests.
1. Exercise more edge cases around the largest exponent that can
represent non-integers.
2. - Verify modf can handle all cases modff can.
- Veriy modf can handle some cases modff can't.
- Verify modfl can handle all cases modf or modff can.
- If long double isn't just double, verify modfl can handle some
cases modf and modff can't.
3. Check infinities and NaN.
4. Verify oddness, i.e., modf(-x) = -modf(x).
5. Display more useful diagnostics in case any of this goes wrong.
1. Exercise more edge cases around the largest exponent that can
represent non-integers.
2. - Verify modf can handle all cases modff can.
- Veriy modf can handle some cases modff can't.
- Verify modfl can handle all cases modf or modff can.
- If long double isn't just double, verify modfl can handle some
cases modf and modff can't.
3. Check infinities and NaN.
4. Verify oddness, i.e., modf(-x) = -modf(x).
5. Display more useful diagnostics in case any of this goes wrong.
MAIN commitmail json YAML
tests/lib/libm/t_fe_round.c: Work around likely ia64 bug in gcc.
MAIN commitmail json YAML
libm: If long double is double, nexttowardl is nextafter.
long double nexttowardl(long double, long double);
double nextafter(double, double);
long double nexttowardl(long double, long double);
double nextafter(double, double);
MAIN commitmail json YAML
makeinfo: Avoid ambiguous bracelessness.
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:526:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->defining_line > (*elt2)->defining_line)
^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:531:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->entry_number > (*elt2)->entry_number)
^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:526:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->defining_line > (*elt2)->defining_line)
^
/home/source/ab/HEAD-llvm/src/external/gpl2/texinfo/dist/makeinfo/index.c:531:5: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else if ((*elt1)->entry_number > (*elt2)->entry_number)
^
MAIN commitmail json YAML
src/external/mit/xorg/lib/dri.old/Makefile@1.9
/
diff
/
nxr@1.9
src/external/mit/xorg/lib/dri/Makefile@1.42 / diff / nxr@1.42
src/external/mit/xorg/lib/dri/Makefile@1.42 / diff / nxr@1.42
mesa: Build with -Wno-error=typedef-redefinition.
While here, use CWARNFLAGS.clang instead of an explicit conditional.
In file included from 110_blorp_exec.c:33:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3: error: redefinition of typedef 'nir_shader' is a C11 feature [-Werror,-Wtypedef-redefinition]
} nir_shader;
^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27: note: previous definition is here
typedef struct nir_shader nir_shader;
^
While here, use CWARNFLAGS.clang instead of an explicit conditional.
In file included from 110_blorp_exec.c:33:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_genX_exec.h:27:
In file included from /home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/blorp/blorp_priv.h:30:
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/compiler/nir/nir.h:3840:3: error: redefinition of typedef 'nir_shader' is a C11 feature [-Werror,-Wtypedef-redefinition]
} nir_shader;
^
/home/source/ab/HEAD-llvm/xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_compiler.h:41:27: note: previous definition is here
typedef struct nir_shader nir_shader;
^
MAIN commitmail json YAML
aarch64/sljit_machdep.h: Make this work in compat32 context.
Should fix clang build of compat32 eabi libsljit:
dependall ===> compat/arm/eabi/../../../lib/../external/bsd/sljit/lib
In file included from /home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c:1678:
/home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c:142:54: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21)));
^ ~~
Should fix clang build of compat32 eabi libsljit:
dependall ===> compat/arm/eabi/../../../lib/../external/bsd/sljit/lib
In file included from /home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c:1678:
/home/source/ab/HEAD-llvm/src/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_64.c:142:54: error: shift count >= width of type [-Werror,-Wshift-count-overflow]
FAIL_IF(push_inst(compiler, MOVK | RD(dst) | (((imm >> 32) & 0xffff) << 5) | (2 << 21)));
^ ~~
MAIN commitmail json YAML
libm: No s_rintl.c on mips32.
This is only for machines where long double is not double.
Not 100% sure this is the right criterion, but there's a good chance
it is.
This is only for machines where long double is not double.
Not 100% sure this is the right criterion, but there's a good chance
it is.
MAIN commitmail json YAML
tests/lib/libm/t_next: Fix stub on VAX.
Tested building the wrong tree, oops.
Tested building the wrong tree, oops.
MAIN commitmail json YAML
libm/s_nexttowardf.c: Handle __HAVE_LONG_DOUBLE, LDBL_IMPLICIT_NBIT.
We should arrange to just have LDBL_NBIT unconditionally defined in the
appropriate MD header file, and make LDBL_IMPLICIT_NBIT an alias for
LDBL_NBIT==0. But for now this will do.
We should arrange to just have LDBL_NBIT unconditionally defined in the
appropriate MD header file, and make LDBL_IMPLICIT_NBIT an alias for
LDBL_NBIT==0. But for now this will do.
MAIN commitmail json YAML
libm: Make s_nexttowardf.c work when long double is double.
Seems likely that there are other parts of libm which would benefit
from being defined unconditionally in terms of ieee_ext_u, with
ieee_ext_u as an alias for ieee_double_u, in this scenario. But I
haven't gone looking yet.
Seems likely that there are other parts of libm which would benefit
from being defined unconditionally in terms of ieee_ext_u, with
ieee_ext_u as an alias for ieee_double_u, in this scenario. But I
haven't gone looking yet.
MAIN commitmail json YAML
src/distrib/sets/lists/debug/mi@1.435
/
diff
/
nxr@1.435
src/distrib/sets/lists/tests/mi@1.1315 / diff / nxr@1.1315
src/tests/lib/libm/Makefile@1.49 / diff / nxr@1.49
src/tests/lib/libm/t_next.c@1.1 / diff / nxr@1.1
src/distrib/sets/lists/tests/mi@1.1315 / diff / nxr@1.1315
src/tests/lib/libm/Makefile@1.49 / diff / nxr@1.49
src/tests/lib/libm/t_next.c@1.1 / diff / nxr@1.1
tests/lib/libm: Test nextafter/nexttoward and variants.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
The tests are fairly trivial but should work without any conditionals
about floating-point formats.
MAIN commitmail json YAML
MAIN commitmail json YAML
tests/usr.bin/mtree: Fail gracefully with unknown sets.
Rather than `bogus test program', make a test fail.
PR misc/57877
Rather than `bogus test program', make a test fail.
PR misc/57877
MAIN commitmail json YAML
s_rintl.c: Reduce FreeBSD diff and fix on ld128 platforms.
EXT_FRACBITS, the number of bits in the _binary encoding_ that stores
the trailing significand field, is never 113. In IEEE 754 binary128,
it is 112, even though there are 113 bits of precision in the set of
floating-point numbers -- the leading 1 bit is implicit in binary128.
So ld128 platforms like aarch64 and sparc64 were skipping the real
definition and just defining rintl as an alias for rint, which is
wrong.
In contrast, LDBL_MANT_DIG, the number of bits of precision in the set
of floating-point numbers (p, in IEEE 754 parlance), is 113 in IEEE 754
binary128. This is also the constant used in FreeBSD libm anyway. So
let's just use that instead of trying to translate it to our private
EXT_FRACBITS (not defined in FreeBSD) with a fencepos terror. And
delete the buggy rintl=rint alias.
PR lib/58054
EXT_FRACBITS, the number of bits in the _binary encoding_ that stores
the trailing significand field, is never 113. In IEEE 754 binary128,
it is 112, even though there are 113 bits of precision in the set of
floating-point numbers -- the leading 1 bit is implicit in binary128.
So ld128 platforms like aarch64 and sparc64 were skipping the real
definition and just defining rintl as an alias for rint, which is
wrong.
In contrast, LDBL_MANT_DIG, the number of bits of precision in the set
of floating-point numbers (p, in IEEE 754 parlance), is 113 in IEEE 754
binary128. This is also the constant used in FreeBSD libm anyway. So
let's just use that instead of trying to translate it to our private
EXT_FRACBITS (not defined in FreeBSD) with a fencepos terror. And
delete the buggy rintl=rint alias.
PR lib/58054
MAIN commitmail json YAML
tests/lib/libm/t_fe_round: Fix a missed cast.
Need long long or intmax_t, not long, on LP32.
PR lib/58054
Need long long or intmax_t, not long, on LP32.
PR lib/58054
MAIN commitmail json YAML
tests/lib/libm/t_fe_round.c: Simplify previous.
There is never any need to write casts to type T in integer constant
initializers for type T.
PR lib/58054
There is never any need to write casts to type T in integer constant
initializers for type T.
PR lib/58054
MAIN commitmail json YAML
tests/lib/libm/t_fe_round: Test nearbyintl.
This uses inputs that can't be distinguished with only 53 bits of
precision, so it should work in essentially all long double formats
to detect when nearbyintl is incorrectly implemented in terms of
nearbyint.
PR lib/58054
This uses inputs that can't be distinguished with only 53 bits of
precision, so it should work in essentially all long double formats
to detect when nearbyintl is incorrectly implemented in terms of
nearbyint.
PR lib/58054
MAIN commitmail json YAML
cgdconfig(8): KNF in cgdconfig.c.
No functional change intended.
No functional change intended.
MAIN commitmail json YAML
tests/lib/Makefile: Hook up libstdc++.
MAIN commitmail json YAML
src/distrib/sets/lists/debug/mi@1.433
/
diff
/
nxr@1.433
src/distrib/sets/lists/tests/mi@1.1313 / diff / nxr@1.1313
src/etc/mtree/NetBSD.dist.tests@1.204 / diff / nxr@1.204
src/tests/lib/libstdc++/Makefile@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/h_cin_nosync.cc@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/t_sync_with_stdio.sh@1.1 / diff / nxr@1.1
src/distrib/sets/lists/tests/mi@1.1313 / diff / nxr@1.1313
src/etc/mtree/NetBSD.dist.tests@1.204 / diff / nxr@1.204
src/tests/lib/libstdc++/Makefile@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/h_cin_nosync.cc@1.1 / diff / nxr@1.1
src/tests/lib/libstdc++/t_sync_with_stdio.sh@1.1 / diff / nxr@1.1
MAIN commitmail json YAML
src/sys/arch/amd64/conf/GENERIC@1.611
/
diff
/
nxr@1.611
src/sys/arch/i386/conf/GENERIC@1.1255 / diff / nxr@1.1255
src/sys/arch/i386/conf/GENERIC@1.1255 / diff / nxr@1.1255
apei(4), acpihed(4): Enable in x86 GENERIC.
Let's just see how this works out in practice. Might need to reduce
the overhead of each GHES on machines with thousands of them, but
we'll see.
PR kern/58046
Let's just see how this works out in practice. Might need to reduce
the overhead of each GHES on machines with thousands of them, but
we'll see.
PR kern/58046
MAIN commitmail json YAML
drm: Allow DRM_IOCTL_GET_UNIQUE on render nodes.
On NetBSD, libdrm uses this to discover what kind of bus the device
is on, without which it refuses to expose the render node at all,
rendering it useless. With this change, libdrm is able to use render
nodes on NetBSD.
Since this is just reading out information about the bus type and
bus/dev/func numbers, I don't think it's problematic to expose to
render nodes.
This requires tweaking the access path to the master.
PR kern/58180
On NetBSD, libdrm uses this to discover what kind of bus the device
is on, without which it refuses to expose the render node at all,
rendering it useless. With this change, libdrm is able to use render
nodes on NetBSD.
Since this is just reading out information about the bus type and
bus/dev/func numbers, I don't think it's problematic to expose to
render nodes.
This requires tweaking the access path to the master.
PR kern/58180
MAIN commitmail json YAML
drm(4): Fix st_rdev in stat.
dminor->index already has the 64*type adjustment, as allocated in
drm_minor_alloc.
PR kern/58180
dminor->index already has the 64*type adjustment, as allocated in
drm_minor_alloc.
PR kern/58180
MAIN commitmail json YAML
ip6_output: Initialize plen for ip6_hopopts_input.
This funny little block in ip6_process_hopopts assumes it is
initialized as and behaves differently depending on whether it's zero
or not:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#976
In the other call site, it is initialized to ip6->ip6_plen:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#561
Reported-by: syzbot+587e3b707bdfe533283f@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=587e3b707bdfe533283f
This funny little block in ip6_process_hopopts assumes it is
initialized as and behaves differently depending on whether it's zero
or not:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#976
In the other call site, it is initialized to ip6->ip6_plen:
https://nxr.netbsd.org/xref/src/sys/netinet6/ip6_input.c?r=1.227#561
Reported-by: syzbot+587e3b707bdfe533283f@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=587e3b707bdfe533283f
MAIN commitmail json YAML
dounmount: Avoid &((struct vnode_impl *)NULL)->vi_vnode.
Member access of a null pointer is undefined, even if the result
should also be null because vi_vnode is at the start of vnode_impl.
Reported-by: syzbot+a4b2d13c0d6d4dac2d07@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=a4b2d13c0d6d4dac2d07
Member access of a null pointer is undefined, even if the result
should also be null because vi_vnode is at the start of vnode_impl.
Reported-by: syzbot+a4b2d13c0d6d4dac2d07@syzkaller.appspotmail.com
https://syzkaller.appspot.com/bug?extid=a4b2d13c0d6d4dac2d07
MAIN commitmail json YAML
radeon_acpi.c: ifdef out unused function on NetBSD.
Should fix syzkaller build.
Should fix syzkaller build.
MAIN commitmail json YAML
tap(4): Use DETACH_FORCE with config_detach.
It doesn't make a difference here, because tap_detach never fails,
but let's make it more obvious at the call site that failure is
forbidden here.
No functional change intended.
PR kern/58166
It doesn't make a difference here, because tap_detach never fails,
but let's make it more obvious at the call site that failure is
forbidden here.
No functional change intended.
PR kern/58166
MAIN commitmail json YAML
src/sys/modules/examples/fopsmapper/cmd_mapper.c@1.3
/
diff
/
nxr@1.3
src/sys/modules/examples/fopsmapper/fopsmapper.c@1.3 / diff / nxr@1.3
src/sys/modules/examples/fopsmapper/fopsmapper.c@1.3 / diff / nxr@1.3
modules/examples/fopsmapper: KNF, sprinkle comments
Missing: MP-safety; this is a kind of broken example.
Missing: MP-safety; this is a kind of broken example.
MAIN commitmail json YAML
sys/conf.h: Need sys/types.h for dev_t, devmajor_t.
MAIN commitmail json YAML
src/sys/external/bsd/drm2/amdgpu/files.amdgpu@1.31
/
diff
/
nxr@1.31
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu.h@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_acpi.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_hwmgr.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_smu7_hwmgr.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.49 / diff / nxr@1.49
src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drv.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_acpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_pci.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_tegra.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/priv.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadowacpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/nouveau_nvkm_subdev_mxm_base.c@1.5 / diff / nxr@1.5
:
(more 12 files)
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu.h@1.9 / diff / nxr@1.9
src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_acpi.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_hwmgr.c@1.3 / diff / nxr@1.3
src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/amdgpu_smu7_hwmgr.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_acpi.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/i915/display/intel_opregion.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h@1.49 / diff / nxr@1.49
src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/device.h@1.10 / diff / nxr@1.10
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.c@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_acpi.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_display.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_drv.h@1.5 / diff / nxr@1.5
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_acpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_base.c@1.13 / diff / nxr@1.13
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_pci.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/nouveau_nvkm_engine_device_tegra.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/device/priv.h@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/nouveau_nvkm_subdev_bios_shadowacpi.c@1.4 / diff / nxr@1.4
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/mxm/nouveau_nvkm_subdev_mxm_base.c@1.5 / diff / nxr@1.5
:
(more 12 files)
drm: Set CONFIG_ACPI in linux/acpi.h and make it build.
Leave a little ACPI-related functionality disabled for now, like
getting EDID out of ACPI -- needs a bit more work to make this work,
and I don't have hardware to work on that.
Should help with failures of the forms:
- unable to locate a BIOS ROM
- bios: unable to locate usable image
on various machines.
Leave a little ACPI-related functionality disabled for now, like
getting EDID out of ACPI -- needs a bit more work to make this work,
and I don't have hardware to work on that.
Should help with failures of the forms:
- unable to locate a BIOS ROM
- bios: unable to locate usable image
on various machines.
MAIN commitmail json YAML
opensolaris/sys/sys/elf.h: Omit needless __ELF_WORD_SIZE.
MAIN commitmail json YAML
nouveau: Rework nouveau2netbsd hack to get ACPI stuff.
MAIN commitmail json YAML
sys_futex.c: Fix illustration of futex(2).
In this illustration, we need to _set_ bit 1 to claim ownership, not
_clear_ bit 1 to claim ownership.
No functional change intended -- comment only.
In this illustration, we need to _set_ bit 1 to claim ownership, not
_clear_ bit 1 to claim ownership.
No functional change intended -- comment only.
MAIN commitmail json YAML
Nix /var/run/named entry from set lists.
Normally we don't do this, but /var/run/named is
(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.
However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.
Do the same with /var/run/lwresd just in case.
PR misc/57877
Normally we don't do this, but /var/run/named is
(a) used by running daemons, so postinstall should not delete it, and
(b) deleted at boot-time anyway by /etc/rc.d/mountcritlocal, so
there's no sense in having it checked by mtree.
However, this means that update builds need manual intervention to
delete $DESTDIR/var/run/named or else checkflist will fail, so add a
note to UPDATING about this.
Do the same with /var/run/lwresd just in case.
PR misc/57877
MAIN commitmail json YAML
doc/3RDPARTY: Tidy up am-utils entry.
Add vendor branch and release branch pattern.
Add vendor branch and release branch pattern.
MAIN commitmail json YAML
riscv: Schedule next hardclock tick in the future, not the past.
If we have missed hardclock ticks, schedule up to one tick interval
in the future anyway; don't try to play hardclock catchup by
scheduling for when the next hardclock tick _should_ have been, in
the past, leading to ticking as fast as possible until we've caught
up. as fast as possible until we've caught up.
Playing hardclock catchup triggers heartbeat panics when continuing
from ddb, if you've been in ddb for >15sec. Other hardclock drivers
like x86 lapic don't play hardclock catchup either.
PR kern/57920
If we have missed hardclock ticks, schedule up to one tick interval
in the future anyway; don't try to play hardclock catchup by
scheduling for when the next hardclock tick _should_ have been, in
the past, leading to ticking as fast as possible until we've caught
up. as fast as possible until we've caught up.
Playing hardclock catchup triggers heartbeat panics when continuing
from ddb, if you've been in ddb for >15sec. Other hardclock drivers
like x86 lapic don't play hardclock catchup either.
PR kern/57920
MAIN commitmail json YAML
riscv: Make sure cpu0->ci_cpu_freq is initialized by cpu_attach.
Otherwise this stays zero, which screws up cpu_ipi_wait.
Otherwise this stays zero, which screws up cpu_ipi_wait.
MAIN commitmail json YAML
src/sys/dev/usb/ehci.c@1.325
/
diff
/
nxr@1.325
src/sys/dev/usb/motg.c@1.43 / diff / nxr@1.43
src/sys/dev/usb/ohci.c@1.326 / diff / nxr@1.326
src/sys/dev/usb/uhci.c@1.318 / diff / nxr@1.318
src/sys/dev/usb/usbdi.c@1.253 / diff / nxr@1.253
src/sys/dev/usb/xhci.c@1.181 / diff / nxr@1.181
src/sys/external/bsd/dwc2/dwc2.c@1.81 / diff / nxr@1.81
src/sys/dev/usb/motg.c@1.43 / diff / nxr@1.43
src/sys/dev/usb/ohci.c@1.326 / diff / nxr@1.326
src/sys/dev/usb/uhci.c@1.318 / diff / nxr@1.318
src/sys/dev/usb/usbdi.c@1.253 / diff / nxr@1.253
src/sys/dev/usb/xhci.c@1.181 / diff / nxr@1.181
src/sys/external/bsd/dwc2/dwc2.c@1.81 / diff / nxr@1.81
usb *hci: Always set ux_status before usbd_xfer_schedule_timeout.
Add an assert to usbd_xfer_schedule_timeout to enforce this.
Since access to ux_status is serialized by the bus lock, and nothing
releases the bus lock in the interim, this doesn't make a functional
change. But it does reduce confusion by readers, who no longer have
to worry if some callers got the order wrong. It could also now
potentially be factored out in a subsequent commit.
Add an assert to usbd_xfer_schedule_timeout to enforce this.
Since access to ux_status is serialized by the bus lock, and nothing
releases the bus lock in the interim, this doesn't make a functional
change. But it does reduce confusion by readers, who no longer have
to worry if some callers got the order wrong. It could also now
potentially be factored out in a subsequent commit.
MAIN commitmail json YAML
MAIN commitmail json YAML
src/usr.bin/config/defs.h@1.109
/
diff
/
nxr@1.109
src/usr.bin/config/files.c@1.38 / diff / nxr@1.38
src/usr.bin/config/mkioconf.c@1.36 / diff / nxr@1.36
src/usr.bin/config/mkmakefile.c@1.73 / diff / nxr@1.73
src/usr.bin/config/pack.c@1.11 / diff / nxr@1.11
src/usr.bin/config/files.c@1.38 / diff / nxr@1.38
src/usr.bin/config/mkioconf.c@1.36 / diff / nxr@1.36
src/usr.bin/config/mkmakefile.c@1.73 / diff / nxr@1.73
src/usr.bin/config/pack.c@1.11 / diff / nxr@1.11
config(1): Make sort order deterministic.
Ensure we break ties in every case. This way, even though we use the
unstable qsort(3) library routine, the output is reproducible, no
matter what algorithm is behind qsort(3).
It would be nice if we could just use a stable sort function here,
but mergesort(3) is nonstandard, so we'd have to add it to
tools/compat, which is a big pain.
Instead, put a tie-breaking rule in every comparison function we use
with qsort, and abort() in the event of ties -- that way, we noisily
refuse to rely on unstable sort order.
While here, dispense with any question of integer overflow, and
sprinkle comments.
PR bin/58115
Ensure we break ties in every case. This way, even though we use the
unstable qsort(3) library routine, the output is reproducible, no
matter what algorithm is behind qsort(3).
It would be nice if we could just use a stable sort function here,
but mergesort(3) is nonstandard, so we'd have to add it to
tools/compat, which is a big pain.
Instead, put a tie-breaking rule in every comparison function we use
with qsort, and abort() in the event of ties -- that way, we noisily
refuse to rely on unstable sort order.
While here, dispense with any question of integer overflow, and
sprinkle comments.
PR bin/58115
MAIN commitmail json YAML
src/lib/librumpuser/rumpuser_daemonize.c@1.10
/
diff
/
nxr@1.10
src/tests/rump/rumpkern/t_sp.sh@1.19 / diff / nxr@1.19
src/tests/rump/rumpkern/t_sp.sh@1.19 / diff / nxr@1.19
Temporarily make PR t_sp:sigsafe noisier.
This is an attempt to diagnose why it's flaky in the releng testbeds
but not when I run it. This change will be backed out once we get
new testbed output.
This is an attempt to diagnose why it's flaky in the releng testbeds
but not when I run it. This change will be backed out once we get
new testbed output.
MAIN commitmail json YAML
external/bsd/am-utils: delete outdated amd2netbsd under dist
This was stored as a local change to dist, where it doesn't belong --
it belongs outside dist. But we already have an amd2netbsd with the
correct path outside of dist.
This was stored as a local change to dist, where it doesn't belong --
it belongs outside dist. But we already have an amd2netbsd with the
correct path outside of dist.
MAIN commitmail json YAML
rumpkern/t_sp: Save stdout and stderr to report on failure.
This is not very tidy at the moment, but it's an experiment using the
approach in PR bin/58112, to diagnose why t_sp:sigsafe keeps failing
intermittently. If this works, perhaps can tidy it up and apply it
to all the other tests that run rump_servers.
This is not very tidy at the moment, but it's an experiment using the
approach in PR bin/58112, to diagnose why t_sp:sigsafe keeps failing
intermittently. If this works, perhaps can tidy it up and apply it
to all the other tests that run rump_servers.
MAIN commitmail json YAML
rumpuser(3): New RUMP_STDOUT, RUMP_STDERR environment variables.
If set, then when rump daemonizes, it opens the path in RUMP_STDOUT
and redirects fd 1 to that (which mostly gets the kernel console
output), and opens the path in RUMP_STDERR and redirects fd 2 to that
(no idea what this gets but it's probably good to record if it ever
gets anything).
This will allow tests that rely on rump_server daemons to stash the
output for diagnostics in case, e.g., the rump kernel crashes.
PR bin/58112
If set, then when rump daemonizes, it opens the path in RUMP_STDOUT
and redirects fd 1 to that (which mostly gets the kernel console
output), and opens the path in RUMP_STDERR and redirects fd 2 to that
(no idea what this gets but it's probably good to record if it ever
gets anything).
This will allow tests that rely on rump_server daemons to stash the
output for diagnostics in case, e.g., the rump kernel crashes.
PR bin/58112
MAIN commitmail json YAML
src/lib/libc/arch/i386/gen/setjmp.S@1.18
/
diff
/
nxr@1.18
src/lib/libc/arch/i386/gen/sigsetjmp.S@1.19 / diff / nxr@1.19
src/tests/lib/libc/setjmp/t_sigstack.c@1.9 / diff / nxr@1.9
src/lib/libc/arch/i386/gen/sigsetjmp.S@1.19 / diff / nxr@1.19
src/tests/lib/libc/setjmp/t_sigstack.c@1.9 / diff / nxr@1.9
i386 longjmp: Restore stack first, then signal mask.
Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.
While here:
- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use forward branches for statically predicted not-taken.
=> val==0 is unlikely in longjmp
PR lib/57946
Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.
While here:
- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use forward branches for statically predicted not-taken.
=> val==0 is unlikely in longjmp
PR lib/57946
MAIN commitmail json YAML
src/lib/libc/arch/x86_64/gen/__setjmp14.S@1.4
/
diff
/
nxr@1.4
src/lib/libc/arch/x86_64/gen/__sigsetjmp14.S@1.4 / diff / nxr@1.4
src/tests/lib/libc/setjmp/t_sigstack.c@1.8 / diff / nxr@1.8
src/lib/libc/arch/x86_64/gen/__sigsetjmp14.S@1.4 / diff / nxr@1.4
src/tests/lib/libc/setjmp/t_sigstack.c@1.8 / diff / nxr@1.8
amd64 longjmp: Restore stack first, then signal mask.
Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.
While here:
- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use `xorl %eXX,%eXX' instead of `xorq %rXX,%rXX'.
=> Same effect, one byte shorter, breaks dep chain on more uarches.
- Use forward branches for statically predicted not-taken.
=> val==0 is unlikely in longjmp
PR lib/57946
Otherwise, a pending signal may be delivered on the wrong stack when
we restore the signal mask.
While here:
- Tidy the code a little bit.
- Sprinkle comments to explain what's going on.
- Use `xorl %eXX,%eXX' instead of `xorq %rXX,%rXX'.
=> Same effect, one byte shorter, breaks dep chain on more uarches.
- Use forward branches for statically predicted not-taken.
=> val==0 is unlikely in longjmp
PR lib/57946
MAIN commitmail json YAML
bsd.own.mk: No need for MKSLJIT to be set differently from others.
- Use ?=, not =, so mk.conf setting wins.
- Write out per-architecture tabular settings, not a conditional.
- Add comments for the architectures that look like they should have
sljit but don't. (XXX Missing comments about powerpc and mips --
not sure why, is this because modules don't yet work on those
architectures, or what?)
Tidying for PR 58103: bpfjit.kmod is not built on aarch64.
- Use ?=, not =, so mk.conf setting wins.
- Write out per-architecture tabular settings, not a conditional.
- Add comments for the architectures that look like they should have
sljit but don't. (XXX Missing comments about powerpc and mips --
not sure why, is this because modules don't yet work on those
architectures, or what?)
Tidying for PR 58103: bpfjit.kmod is not built on aarch64.
MAIN commitmail json YAML
src/share/mk/bsd.own.mk@1.1365
/
diff
/
nxr@1.1365
src/sys/arch/aarch64/include/sljit_machdep.h@1.4 / diff / nxr@1.4
src/sys/modules/Makefile@1.285 / diff / nxr@1.285
src/sys/arch/aarch64/include/sljit_machdep.h@1.4 / diff / nxr@1.4
src/sys/modules/Makefile@1.285 / diff / nxr@1.285
bsd.own.mk: Enable MKLSJIT on aarch64.
Make sure there's only one copy of the conditional, in bsd.own.mk;
just make sys/modules/Makefile conditional on MKSLJIT so we don't
have to keep these in sync.
As a workaround for PR 58106, tweak the conditional definition of
SLJIT_CACHE_FLUSH to use cpu_icache_sync_range only in _HARDKERNEL,
and use __builtin___clear_cache in userland and in rump kernels.
PR 58103: bpfjit.kmod is not built on aarch64
Make sure there's only one copy of the conditional, in bsd.own.mk;
just make sys/modules/Makefile conditional on MKSLJIT so we don't
have to keep these in sync.
As a workaround for PR 58106, tweak the conditional definition of
SLJIT_CACHE_FLUSH to use cpu_icache_sync_range only in _HARDKERNEL,
and use __builtin___clear_cache in userland and in rump kernels.
PR 58103: bpfjit.kmod is not built on aarch64
MAIN commitmail json YAML
src/etc/etc.aarch64/MAKEDEV.conf@1.10
/
diff
/
nxr@1.10
src/etc/etc.amd64/MAKEDEV.conf@1.36 / diff / nxr@1.36
src/etc/etc.i386/MAKEDEV.conf@1.36 / diff / nxr@1.36
src/etc/etc.amd64/MAKEDEV.conf@1.36 / diff / nxr@1.36
src/etc/etc.i386/MAKEDEV.conf@1.36 / diff / nxr@1.36
MAKEDEV: Tidy some entries on x86 and Arm.
While here, reduce some diffs arising from ordering and formatting
between these architectures.
Only difference between evbarm and aarch64 now is /dev/vchiq. Not
sure offhand if it makes sense on aarch64 or only 32-bit Arm.
PR port-amd64/58093: /dev/efi missing on x86
PR port-arm/58100: /dev/ttyVI* missing on aarch64
PR port-arm/58101: /dev/nvme* missing on aarch64
PR port-arm/58102: /dev/raid* missing on aarch64
While here, reduce some diffs arising from ordering and formatting
between these architectures.
Only difference between evbarm and aarch64 now is /dev/vchiq. Not
sure offhand if it makes sense on aarch64 or only 32-bit Arm.
PR port-amd64/58093: /dev/efi missing on x86
PR port-arm/58100: /dev/ttyVI* missing on aarch64
PR port-arm/58101: /dev/nvme* missing on aarch64
PR port-arm/58102: /dev/raid* missing on aarch64
MAIN commitmail json YAML
src/external/bsd/elftoolchain/dist/libelf/_libelf_config.h@1.7
/
diff
/
nxr@1.7
src/external/bsd/elftoolchain/dist/libelf/libelf.h@1.7 / diff / nxr@1.7
src/external/bsd/elftoolchain/lib/libdwarf/Makefile@1.6 / diff / nxr@1.6
src/external/cddl/osnet/dist/lib/libdtrace/common/drti.c@1.9 / diff / nxr@1.9
src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c@1.19 / diff / nxr@1.19
src/external/cddl/osnet/sys/elf.h@1.2 / diff / nxr@1.2
src/external/cddl/osnet/sys/sys/elf.h@1.7 / diff / nxr@1.7
src/tests/lib/libc/sys/t_ptrace_wait.c@1.192 / diff / nxr@1.192
src/tools/ctfconvert/Makefile@1.11 / diff / nxr@1.11
src/tools/ctfmerge/Makefile@1.12 / diff / nxr@1.12
src/tools/elftoolchain/libdwarf/Makefile@1.7 / diff / nxr@1.7
src/tools/elftoolchain/libelf/Makefile@1.3 / diff / nxr@1.3
src/tools/libctf/Makefile@1.10 / diff / nxr@1.10
src/usr.bin/kdump/Makefile.ioctl-c@1.40 / diff / nxr@1.40
src/usr.sbin/tprof/ksyms.c@1.3 / diff / nxr@1.3
src/external/bsd/elftoolchain/dist/libelf/libelf.h@1.7 / diff / nxr@1.7
src/external/bsd/elftoolchain/lib/libdwarf/Makefile@1.6 / diff / nxr@1.6
src/external/cddl/osnet/dist/lib/libdtrace/common/drti.c@1.9 / diff / nxr@1.9
src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c@1.19 / diff / nxr@1.19
src/external/cddl/osnet/sys/elf.h@1.2 / diff / nxr@1.2
src/external/cddl/osnet/sys/sys/elf.h@1.7 / diff / nxr@1.7
src/tests/lib/libc/sys/t_ptrace_wait.c@1.192 / diff / nxr@1.192
src/tools/ctfconvert/Makefile@1.11 / diff / nxr@1.11
src/tools/ctfmerge/Makefile@1.12 / diff / nxr@1.12
src/tools/elftoolchain/libdwarf/Makefile@1.7 / diff / nxr@1.7
src/tools/elftoolchain/libelf/Makefile@1.3 / diff / nxr@1.3
src/tools/libctf/Makefile@1.10 / diff / nxr@1.10
src/usr.bin/kdump/Makefile.ioctl-c@1.40 / diff / nxr@1.40
src/usr.sbin/tprof/ksyms.c@1.3 / diff / nxr@1.3
elftoolchain: Be consistent about which ELF header files we use.
1. For tools that use elftoolchain: always use elftoolchain's
elfdefinitions.h. Don't even think about looking at the host's
sys/exec_elf.h, which makes no sense and should never happen.
(ELF tools that don't use elftoolchain, like m68k-elf2coff,
continue to use nbincludes/sys/exec_elf.h. But no more nbincludes
hacks in elftoolchain.)
2. For kernel components (solaris, zfs, dtrace): always use
sys/exec_elf.h, even in Solaris components via sys/elf.h.
elfdefinitions.h is not wired up in the kernel build at all.
3. For most userland components that involve libelf: use
elfdefinitions.h via libelf header files (libelf.h, gelf.h).
libdtrace in particular requires _all_ R_* reloc type definitions,
but sys/exec_elf.h brings in only the _current machine's_ R_*
reloc type definitions. (While here: Use uintptr_t instead of
Elf_Addr for pointer-to-integer cast, since Elf_Addr is MD and
provided only by sys/exec_elf.h, not by elfdefinitions.h.)
And most userland components using libelf don't rely on any
properties of the current machine from sys/exec_elf.h, so they can
use libelf's elfdefinition.h.
Exceptions:
- dtrace drti.c relies on link.h -> link_elf.h -> sys/exec_elf.h,
but it also relies on sys/dtrace.h -> sys/elf.h ->
elfdefinitions.h like other userland components using sys/elf.h.
- kdump-ioctl.c uses sys/exec_elf.h directly and sys/dtrace.h ->
sys/elf.h -> elfdefinitions like other userland components using
sys/elf.h.
- t_ptrace_wait.c (via t_ptrace_core_wait.h) uses libelf to parse
core files, but relies on sys/exec_elf.h for struct
netbsd_elfcore_procinfo.
None of these exceptions needs all R_* reloc type definitions, so
as a workaround, we can just suppress libelf's elfdefinitions.h by
defining _SYS_ELFDEFINITIONS_H_ and use sys/exec_elf.h in these
exceptions.
And undo the whole BUILTIN_ELF_HEADERS mistake. This was:
- half bogus workarounds for missing build_install dependencies in
tools/Makefile, which are no longer missing now, and
- half futile attempt to use src/sys/sys/exec_elf.h via nbincludes in
tools involving libelf instead of libelf's elfdefinitions.h, which
collides.
Longer-term, we may wish to unify sys/exec_elf.h and libelf's
elfdefinitions.h, so we don't have to play these games.
But at least now the games are limited to three .c files (one of
which is generated by Makefile.ioctl-c), rather than haphazardly
applied tree-wide by monstrous kludges in widely used .h files with
broken hackarounds to get the tools build lurching to completion.
1. For tools that use elftoolchain: always use elftoolchain's
elfdefinitions.h. Don't even think about looking at the host's
sys/exec_elf.h, which makes no sense and should never happen.
(ELF tools that don't use elftoolchain, like m68k-elf2coff,
continue to use nbincludes/sys/exec_elf.h. But no more nbincludes
hacks in elftoolchain.)
2. For kernel components (solaris, zfs, dtrace): always use
sys/exec_elf.h, even in Solaris components via sys/elf.h.
elfdefinitions.h is not wired up in the kernel build at all.
3. For most userland components that involve libelf: use
elfdefinitions.h via libelf header files (libelf.h, gelf.h).
libdtrace in particular requires _all_ R_* reloc type definitions,
but sys/exec_elf.h brings in only the _current machine's_ R_*
reloc type definitions. (While here: Use uintptr_t instead of
Elf_Addr for pointer-to-integer cast, since Elf_Addr is MD and
provided only by sys/exec_elf.h, not by elfdefinitions.h.)
And most userland components using libelf don't rely on any
properties of the current machine from sys/exec_elf.h, so they can
use libelf's elfdefinition.h.
Exceptions:
- dtrace drti.c relies on link.h -> link_elf.h -> sys/exec_elf.h,
but it also relies on sys/dtrace.h -> sys/elf.h ->
elfdefinitions.h like other userland components using sys/elf.h.
- kdump-ioctl.c uses sys/exec_elf.h directly and sys/dtrace.h ->
sys/elf.h -> elfdefinitions like other userland components using
sys/elf.h.
- t_ptrace_wait.c (via t_ptrace_core_wait.h) uses libelf to parse
core files, but relies on sys/exec_elf.h for struct
netbsd_elfcore_procinfo.
None of these exceptions needs all R_* reloc type definitions, so
as a workaround, we can just suppress libelf's elfdefinitions.h by
defining _SYS_ELFDEFINITIONS_H_ and use sys/exec_elf.h in these
exceptions.
And undo the whole BUILTIN_ELF_HEADERS mistake. This was:
- half bogus workarounds for missing build_install dependencies in
tools/Makefile, which are no longer missing now, and
- half futile attempt to use src/sys/sys/exec_elf.h via nbincludes in
tools involving libelf instead of libelf's elfdefinitions.h, which
collides.
Longer-term, we may wish to unify sys/exec_elf.h and libelf's
elfdefinitions.h, so we don't have to play these games.
But at least now the games are limited to three .c files (one of
which is generated by Makefile.ioctl-c), rather than haphazardly
applied tree-wide by monstrous kludges in widely used .h files with
broken hackarounds to get the tools build lurching to completion.
MAIN commitmail json YAML
docs/3RDPARTY: Record vendor and release tags for elftoolchain.
MAIN commitmail json YAML
tools/elftoolchain: Build with BUILTIN_ELF_HEADERS again.
The header file dependency that motivated disabling this should be
resolved now.
The header file dependency that motivated disabling this should be
resolved now.
MAIN commitmail json YAML
tools/elftoolchain: Handle dependencies properly.
This should properly resolve the problem christos was trying to
address by a bogus make includes hack and #ifdefs in elftoolchain.
This should properly resolve the problem christos was trying to
address by a bogus make includes hack and #ifdefs in elftoolchain.
MAIN commitmail json YAML
exports(5): Tiny punctuation fix in man page.
MAIN commitmail json YAML
efiboot: Duplicate efi_bootdp before we clobber it in efi_net_probe.
Patch from jakllsch@. Makes Socionext Synquacer boot considerably
more reliably.
PR kern/58075
Patch from jakllsch@. Makes Socionext Synquacer boot considerably
more reliably.
PR kern/58075
MAIN commitmail json YAML
exports(5): Substantially rewrite for clarity.
Hope this is an improvement over the turgid paragraphs all about
first/second/third cases of everything.
PR misc/58063
Hope this is an improvement over the turgid paragraphs all about
first/second/third cases of everything.
PR misc/58063
MAIN commitmail json YAML
exports(5): Revert warning about `-ro' on read/write file systems.
Looks like the nfs server does enforce that after all, in spite of
the rather oblique commentary in the BUGS section about export
options being tied to local mount point options with which they must
be noncontradictory.
And there's no reason in principle it shouldn't enforce this -- it
just need to block various file system _operations_, rather than the
subtree issue where the criteria for evaluating whether operations
are allowed on particular _file handles_ are too painful to
contemplate.
PR misc/58063
Looks like the nfs server does enforce that after all, in spite of
the rather oblique commentary in the BUGS section about export
options being tied to local mount point options with which they must
be noncontradictory.
And there's no reason in principle it shouldn't enforce this -- it
just need to block various file system _operations_, rather than the
subtree issue where the criteria for evaluating whether operations
are allowed on particular _file handles_ are too painful to
contemplate.
PR misc/58063
MAIN commitmail json YAML
src/usr.sbin/mountd/exports.5@1.33
/
diff
/
nxr@1.33
src/usr.sbin/mountd/mountd.8@1.43 / diff / nxr@1.43
src/usr.sbin/mountd/mountd.8@1.43 / diff / nxr@1.43
exports(5), mountd(8): First pass at clarifying export semantics.
The exports(5) man page is full of walls of turgid prose that should
be itemized lists with syntax templates, and I'm itching to rewrite
it, but let's get the security-relevant warnings out of the way
first.
PR misc/58063
The exports(5) man page is full of walls of turgid prose that should
be itemized lists with syntax templates, and I'm itching to rewrite
it, but let's get the security-relevant warnings out of the way
first.
PR misc/58063
MAIN commitmail json YAML
bsd.lib.mk: Avoid symbol check if we're not doing shared libraries.
Otherwise this fails on non-shlib builds like sun2.
Otherwise this fails on non-shlib builds like sun2.
MAIN commitmail json YAML
mips/conf/files.octeon: octrnm does not depend on rnd
Whether or not we have /dev/random and /dev/urandom baked into the
kernel, configuring `octrnm* at ...' in the kernel config requires
octeon_rnm.c.
Related to PR kern/46728.
Whether or not we have /dev/random and /dev/urandom baked into the
kernel, configuring `octrnm* at ...' in the kernel config requires
octeon_rnm.c.
Related to PR kern/46728.
MAIN commitmail json YAML
bsd.lib.mk: Tidy up expected symbols check a little.
Add some documentation in bsd.README.
Add some documentation in bsd.README.
MAIN commitmail json YAML
wg(4): Fix IPv6 numbering in example diagram.
This way it matches the configuration suggested below (which avoids
host number zero on the subnet).
PR misc/58015
This way it matches the configuration suggested below (which avoids
host number zero on the subnet).
PR misc/58015
MAIN commitmail json YAML
MAIN commitmail json YAML
src/sys/dev/acpi/apei_einj.c@1.4
/
diff
/
nxr@1.4
src/sys/dev/acpi/apei_erst.c@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_interp.c@1.4 / diff / nxr@1.4
src/sys/dev/acpi/apei_interp.h@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_reg.c@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_reg.h@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_erst.c@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_interp.c@1.4 / diff / nxr@1.4
src/sys/dev/acpi/apei_interp.h@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_reg.c@1.2 / diff / nxr@1.2
src/sys/dev/acpi/apei_reg.h@1.2 / diff / nxr@1.2
apei(4): Pre-map registers when compiling interpreter.
This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed. Paves the way to
use ERST for saving dmesg on crash.
Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.
PR kern/58046
This way we don't have to worry about mapping them in nasty contexts
where access to uvm_km_alloc may not be allowed. Paves the way to
use ERST for saving dmesg on crash.
Exception: ACPI_ERST_MOVE_DATA still needs to do AcpiOsMapMemory.
We'll need to reserve a couple pages to avoid that.
PR kern/58046
MAIN commitmail json YAML
apei(4): Fix register chunk counting.
Now it will actually read and write the registers!
Have been updating and reloading the wrong module to test this, oops.
PR kern/58046
Now it will actually read and write the registers!
Have been updating and reloading the wrong module to test this, oops.
PR kern/58046
MAIN commitmail json YAML
src/distrib/sets/lists/debug/module.md.amd64@1.16
/
diff
/
nxr@1.16
src/distrib/sets/lists/debug/module.md.i386@1.10 / diff / nxr@1.10
src/distrib/sets/lists/modules/md.amd64@1.102 / diff / nxr@1.102
src/distrib/sets/lists/modules/md.i386@1.99 / diff / nxr@1.99
src/share/man/man4/acpihed.4@1.1 / diff / nxr@1.1
src/share/man/man4/apei.4@1.2 / diff / nxr@1.2
src/sys/arch/amd64/conf/ALL@1.186 / diff / nxr@1.186
src/sys/arch/i386/conf/ALL@1.517 / diff / nxr@1.517
src/sys/dev/acpi/acpi_hed.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/files.acpi@1.132 / diff / nxr@1.132
src/sys/modules/Makefile@1.284 / diff / nxr@1.284
src/sys/modules/acpihed/Makefile@1.1 / diff / nxr@1.1
src/sys/modules/acpihed/acpihed.ioconf@1.1 / diff / nxr@1.1
src/distrib/sets/lists/debug/module.md.i386@1.10 / diff / nxr@1.10
src/distrib/sets/lists/modules/md.amd64@1.102 / diff / nxr@1.102
src/distrib/sets/lists/modules/md.i386@1.99 / diff / nxr@1.99
src/share/man/man4/acpihed.4@1.1 / diff / nxr@1.1
src/share/man/man4/apei.4@1.2 / diff / nxr@1.2
src/sys/arch/amd64/conf/ALL@1.186 / diff / nxr@1.186
src/sys/arch/i386/conf/ALL@1.517 / diff / nxr@1.517
src/sys/dev/acpi/acpi_hed.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/files.acpi@1.132 / diff / nxr@1.132
src/sys/modules/Makefile@1.284 / diff / nxr@1.284
src/sys/modules/acpihed/Makefile@1.1 / diff / nxr@1.1
src/sys/modules/acpihed/acpihed.ioconf@1.1 / diff / nxr@1.1
acpihed(4): New driver for PNP0C33 to notify apei(4).
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.
PR kern/58046
PNP0C33 denotes the ACPI Hardware Error Device, which exists only to
be a vector for event notifications.
PR kern/58046
MAIN commitmail json YAML
apei(4): Note some TODOs for EINJ and HEST.
No functional change intended, comments only.
PR kern/58046
No functional change intended, comments only.
PR kern/58046
MAIN commitmail json YAML
apei(4): Fix parsing checks for TRIGGER_ERROR action table.
The TableSize is size of the header plus the body, not just the body.
PR kern/58046
The TableSize is size of the header plus the body, not just the body.
PR kern/58046
MAIN commitmail json YAML
apei(4): Tweak some comments about the APEI interpreter language.
No functional change intended.
PR kern/58046
No functional change intended.
PR kern/58046
MAIN commitmail json YAML
apei(4): Pacify -Wsign-compare.
Assert that the parsing made forward progress too while here.
PR kern/58046
Assert that the parsing made forward progress too while here.
PR kern/58046
MAIN commitmail json YAML
src/distrib/sets/lists/debug/module.md.amd64@1.15
/
diff
/
nxr@1.15
src/distrib/sets/lists/debug/module.md.i386@1.9 / diff / nxr@1.9
src/distrib/sets/lists/modules/md.amd64@1.101 / diff / nxr@1.101
src/distrib/sets/lists/modules/md.i386@1.98 / diff / nxr@1.98
src/share/man/man4/apei.4@1.1 / diff / nxr@1.1
src/sys/arch/amd64/conf/ALL@1.185 / diff / nxr@1.185
src/sys/arch/i386/conf/ALL@1.516 / diff / nxr@1.516
src/sys/dev/acpi/apei.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_bert.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_bertvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_cper.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_einj.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_einjvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_erst.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_erstvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_hed.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_hest.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_hestvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_interp.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_interp.h@1.1 / diff / nxr@1.1
:
(more 9 files)
src/distrib/sets/lists/debug/module.md.i386@1.9 / diff / nxr@1.9
src/distrib/sets/lists/modules/md.amd64@1.101 / diff / nxr@1.101
src/distrib/sets/lists/modules/md.i386@1.98 / diff / nxr@1.98
src/share/man/man4/apei.4@1.1 / diff / nxr@1.1
src/sys/arch/amd64/conf/ALL@1.185 / diff / nxr@1.185
src/sys/arch/i386/conf/ALL@1.516 / diff / nxr@1.516
src/sys/dev/acpi/apei.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_bert.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_bertvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_cper.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_einj.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_einjvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_erst.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_erstvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_hed.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_hest.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_hestvar.h@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_interp.c@1.1 / diff / nxr@1.1
src/sys/dev/acpi/apei_interp.h@1.1 / diff / nxr@1.1
:
(more 9 files)
apei(4): New driver for ACPI Platform Error Interfaces.
For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.
PR kern/58046
For now it is wired up only in x86 ALL kernels, and built as a module
for x86 and Arm. Once it gets a little more testing on machines with
APEI, I would like to flip it on by default.
PR kern/58046
MAIN commitmail json YAML
src/distrib/amd64/ramdisks/common/Makefile.ramdisk@1.17
/
diff
/
nxr@1.17
src/distrib/i386/ramdisks/common/Makefile.ramdisk@1.16 / diff / nxr@1.16
src/etc/etc.amd64/Makefile.inc@1.17 / diff / nxr@1.17
src/etc/etc.i386/Makefile.inc@1.70 / diff / nxr@1.70
src/distrib/i386/ramdisks/common/Makefile.ramdisk@1.16 / diff / nxr@1.16
src/etc/etc.amd64/Makefile.inc@1.17 / diff / nxr@1.17
src/etc/etc.i386/Makefile.inc@1.70 / diff / nxr@1.70
x86: Release the ramdisks too.
This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534
This way we will get cgdroot.fs (and zfsroot.fs too) in the release.
PR misc/57534
MAIN commitmail json YAML
libcrypto: Add expected symbol list to check at build-time.
MAIN commitmail json YAML
bsd.lib.mk: Check expected vs actual symbols at build-time.
If, for LIB=foo, you create a file foo.expsym, bsd.lib.mk will list
the dynamic symbols and their versions with
nm --dynamic --extern-only --defined-only --with-symbol-versions
and compare the names (not addresses or types) to foo.expsym. If
there are any differences, they will be printed and the build will
fail.
foo.expsym should be sorted with `LANG=C sort -u'.
This way, you can verify changes don't inadvertently add or remove
symbols. If you do want to add (or, if you're bumping the major,
remove) symbols, you can verify the changes and edit the foo.expsym
file accordingly. This will also help to enforce rules about symbol
changes on pullups in release branches.
Note that using a version map (-Wl,--version-script=...) doesn't
catch symbol removal -- ld quietly ignores symbols in the version map
that aren't actually defined by any object in the library. So this
supplements the version map.
Proposed on tech-userlevel:
https://mail-index.NetBSD.org/tech-userlevel/2024/03/16/msg014264.html
If, for LIB=foo, you create a file foo.expsym, bsd.lib.mk will list
the dynamic symbols and their versions with
nm --dynamic --extern-only --defined-only --with-symbol-versions
and compare the names (not addresses or types) to foo.expsym. If
there are any differences, they will be printed and the build will
fail.
foo.expsym should be sorted with `LANG=C sort -u'.
This way, you can verify changes don't inadvertently add or remove
symbols. If you do want to add (or, if you're bumping the major,
remove) symbols, you can verify the changes and edit the foo.expsym
file accordingly. This will also help to enforce rules about symbol
changes on pullups in release branches.
Note that using a version map (-Wl,--version-script=...) doesn't
catch symbol removal -- ld quietly ignores symbols in the version map
that aren't actually defined by any object in the library. So this
supplements the version map.
Proposed on tech-userlevel:
https://mail-index.NetBSD.org/tech-userlevel/2024/03/16/msg014264.html
MAIN commitmail json YAML
src/sys/dev/acpi/acpi.c@1.299
/
diff
/
nxr@1.299
src/sys/dev/acpi/acpivar.h@1.90 / diff / nxr@1.90
src/sys/dev/acpi/files.acpi@1.129 / diff / nxr@1.129
src/sys/dev/acpi/acpivar.h@1.90 / diff / nxr@1.90
src/sys/dev/acpi/files.acpi@1.129 / diff / nxr@1.129
acpi(4): New iattr `apeibus' for attaching an APEI driver.
APEI is the ACPI Platform Error Interface, a standard (if very
complicated) interface for reporting hardware errors to the OS.
Firmware support for APEI is presented through the ACPI tables BERT
(Boot Error Record Table), ERST (Error Record Serialization Table),
EINJ (Error Injection Table), and HEST (Hardware Error Source Table),
rather than through nodes in the ACPI device tree, so it can't just
attach through the existing acpinodebus iattr and instead requires a
special pseudo-bus like acpiwdrt(4).
No driver yet -- this is just the hook to attach one in a module.
The new member sc_apei of struct acpi_softc is placed at the end of
the structure so that this change can be safely pulled up to release
branches without risk to ABI compatibility in existing modules such
as acpiverbose.kmod which may rely on the layout (but not size) of
struct acpi_softc.
PR kern/58046
APEI is the ACPI Platform Error Interface, a standard (if very
complicated) interface for reporting hardware errors to the OS.
Firmware support for APEI is presented through the ACPI tables BERT
(Boot Error Record Table), ERST (Error Record Serialization Table),
EINJ (Error Injection Table), and HEST (Hardware Error Source Table),
rather than through nodes in the ACPI device tree, so it can't just
attach through the existing acpinodebus iattr and instead requires a
special pseudo-bus like acpiwdrt(4).
No driver yet -- this is just the hook to attach one in a module.
The new member sc_apei of struct acpi_softc is placed at the end of
the structure so that this change can be safely pulled up to release
branches without risk to ABI compatibility in existing modules such
as acpiverbose.kmod which may rely on the layout (but not size) of
struct acpi_softc.
PR kern/58046
MAIN commitmail json YAML
strptime(3): Declare digit d as time_t.
This doesn't make a semantic difference -- d can only take on the ten
values {0,1,2,3,4,5,6,7,8,9}, and the arithmetic with it later all
comes out the same whether the type is unsigned or time_t, even if
time_t were int32_t instead of int64_t.
But it pacifies overzealous compilers used by downstream users of
this code. And while it's silly to use a much wider type (64-bit
signed) than is needed here to store a single digit, it doesn't
really hurt either (32-bit unsigned is much larger than needed too).
PR lib/58041
This doesn't make a semantic difference -- d can only take on the ten
values {0,1,2,3,4,5,6,7,8,9}, and the arithmetic with it later all
comes out the same whether the type is unsigned or time_t, even if
time_t were int32_t instead of int64_t.
But it pacifies overzealous compilers used by downstream users of
this code. And while it's silly to use a much wider type (64-bit
signed) than is needed here to store a single digit, it doesn't
really hurt either (32-bit unsigned is much larger than needed too).
PR lib/58041
MAIN commitmail json YAML
strptime(3): Reduce unnecessary indentation.
Post-fix tidying.
No functional change intended.
PR lib/58041
Post-fix tidying.
No functional change intended.
PR lib/58041
MAIN commitmail json YAML
strptime(3): Exercise some edge cases in the automatic tests.
Unfortunately, we can't quite use strptime as a black box to detect
the cases that triggered undefined behaviour, because strptime just
fails in that case anyway since the number that would go in .tm_year
is far out of the representable range.
PR lib/58041
Unfortunately, we can't quite use strptime as a black box to detect
the cases that triggered undefined behaviour, because strptime just
fails in that case anyway since the number that would go in .tm_year
is far out of the representable range.
PR lib/58041
MAIN commitmail json YAML
src/crypto/external/bsd/openssl/dist/crypto/evp/legacy_sha.c@1.2
/
diff
/
nxr@1.2
src/crypto/external/bsd/openssl/dist/include/crypto/sha.h@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/dist/providers/implementations/digests/sha2_prov.c@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/libc-sha2xx.c@1.4 / diff / nxr@1.4
src/tests/crypto/libcrypto/t_sha512trunc.c@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/dist/include/crypto/sha.h@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/dist/providers/implementations/digests/sha2_prov.c@1.2 / diff / nxr@1.2
src/crypto/external/bsd/openssl/lib/libcrypto/libc-sha2xx.c@1.4 / diff / nxr@1.4
src/tests/crypto/libcrypto/t_sha512trunc.c@1.2 / diff / nxr@1.2
libcrypto: Fix buffer overrun in truncated SHA-512 functions.
Further fallout from the libc/openssl sha2 symbol collision.
PR lib/58039
Further fallout from the libc/openssl sha2 symbol collision.
PR lib/58039
MAIN commitmail json YAML
doc/3RDPARTY: Note OpenSSL vendor/release tags.
MAIN commitmail json YAML
src/distrib/sets/lists/debug/mi@1.430
/
diff
/
nxr@1.430
src/distrib/sets/lists/tests/mi@1.1311 / diff / nxr@1.1311
src/tests/crypto/libcrypto/Makefile@1.16 / diff / nxr@1.16
src/tests/crypto/libcrypto/t_sha512trunc.c@1.1 / diff / nxr@1.1
src/distrib/sets/lists/tests/mi@1.1311 / diff / nxr@1.1311
src/tests/crypto/libcrypto/Makefile@1.16 / diff / nxr@1.16
src/tests/crypto/libcrypto/t_sha512trunc.c@1.1 / diff / nxr@1.1
libcrypto: Add some trivial tests for truncated SHA-512 variants.
These should use more of the test vectors from
https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing#Testing
but this will do for now to detect the buffer overrun rake we left
lying around for ourselves.
PR lib/58039
These should use more of the test vectors from
https://csrc.nist.gov/Projects/Cryptographic-Algorithm-Validation-Program/Secure-Hashing#Testing
but this will do for now to detect the buffer overrun rake we left
lying around for ourselves.
PR lib/58039
MAIN commitmail json YAML
evbarm/instkernel/sshramdisk: Put firmware in the right paths.
Maybe this should also be wired up to `release' to put the ramdisk in
the releasedir so we detect destdir path leakage like this had.
PR port-evbarm/58035
Maybe this should also be wired up to `release' to put the ramdisk in
the releasedir so we detect destdir path leakage like this had.
PR port-evbarm/58035
MAIN commitmail json YAML
evbmips/interrupt.c: No need for __diagused with KASSERT.
KASSERT already references all the variables even in !DIAGNOSTIC
builds (but evaluates nothing at run-time in that case).
That said: Is the curlwp->l_blcnt assertion correct? Can't curlwp be
changed in this interrupt handler by preemption?
KASSERT already references all the variables even in !DIAGNOSTIC
builds (but evaluates nothing at run-time in that case).
That said: Is the curlwp->l_blcnt assertion correct? Can't curlwp be
changed in this interrupt handler by preemption?
MAIN commitmail json YAML
wg(4): Rework example numbering for clarity and add IPv6.
Let's avoid triggering unease with host number 0.
PR misc/58015
Let's avoid triggering unease with host number 0.
PR misc/58015
MAIN commitmail json YAML
nvme(4): Disestablish admin q interrupt while suspended.
And re-establish on resume. Fixes nvmectl(8) after a suspend/resume
cycle on some systems.
Adapted from a patch by mrg@.
PR kern/58025
And re-establish on resume. Fixes nvmectl(8) after a suspend/resume
cycle on some systems.
Adapted from a patch by mrg@.
PR kern/58025
MAIN commitmail json YAML
wg(4): Bind to CPU in wg_handle_packet.
Required by use of psref there.
Assert we're bound up front so we catch mistakes early, rather than
later on if we get unlucky in preemption and scheduling.
PR bin/58021
Required by use of psref there.
Assert we're bound up front so we catch mistakes early, rather than
later on if we get unlucky in preemption and scheduling.
PR bin/58021
MAIN commitmail json YAML
wg(4): Spruce up example a bit.
- Suggest umask so the private keys aren't world readable.
- Suggest use of pre-shared key files.
- Use TEST-NET-1 and TEST-NET-2 addresses for the example instead of
real publicly routable addresses.
Holding off on adding IPv6 example until the tun(4) issue is fixed
(PR bin/58013).
PR misc/58015
- Suggest umask so the private keys aren't world readable.
- Suggest use of pre-shared key files.
- Use TEST-NET-1 and TEST-NET-2 addresses for the example instead of
real publicly routable addresses.
Holding off on adding IPv6 example until the tun(4) issue is fixed
(PR bin/58013).
PR misc/58015
MAIN commitmail json YAML
heartbeat(9): Return early if panicstr is set.
This way we avoid doing unnecessary work -- and print unnecessary
messages -- to _not_ trigger another panic anyway.
PR kern/58011
This way we avoid doing unnecessary work -- and print unnecessary
messages -- to _not_ trigger another panic anyway.
PR kern/58011
MAIN commitmail json YAML
certctl(8): Pacify formal POSIX sh syntax.
According to POSIX 2018, the syntax between `then' and `elif' and
`fi' must be a _non-empty_ list of commands:
compound_list : linebreak term
| linebreak term separator
;
...
if_clause : If compound_list Then compound_list else_part Fi
| If compound_list Then compound_list Fi
;
else_part : Elif compound_list Then compound_list
| Elif compound_list Then compound_list else_part
| Else compound_list
;
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10_02
NetBSD's sh(1) currently doesn't enforce this and allows an empty
sequence of commands, but let's not rely on that nonstandard quirk.
Noted in PR 57997.
According to POSIX 2018, the syntax between `then' and `elif' and
`fi' must be a _non-empty_ list of commands:
compound_list : linebreak term
| linebreak term separator
;
...
if_clause : If compound_list Then compound_list else_part Fi
| If compound_list Then compound_list Fi
;
else_part : Elif compound_list Then compound_list
| Elif compound_list Then compound_list else_part
| Else compound_list
;
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10_02
NetBSD's sh(1) currently doesn't enforce this and allows an empty
sequence of commands, but let's not rely on that nonstandard quirk.
Noted in PR 57997.
MAIN commitmail json YAML
certctl(8): Avoid basename(1).
Saves some time running subprocesses. Since this is only used for
non-directories (i.e., there's never trailing / on the inputs), it
suffices to delete the longest prefix matching glob `*/' with shell
parameter expansion -- much cheaper than spawning a subprocess.
Shaves off about 1/3 of the time spent in `certctl list' on an
aarch64 VM in qemu.
PR bin/57993
Saves some time running subprocesses. Since this is only used for
non-directories (i.e., there's never trailing / on the inputs), it
suffices to delete the longest prefix matching glob `*/' with shell
parameter expansion -- much cheaper than spawning a subprocess.
Shaves off about 1/3 of the time spent in `certctl list' on an
aarch64 VM in qemu.
PR bin/57993
MAIN commitmail json YAML
mozilla-certdata: Fix typo: sprintf, not snprintf, in awk.
Only used during import, and only in case something is wrong anyway
requiring manual intervention, so no change to builds.
Only used during import, and only in case something is wrong anyway
requiring manual intervention, so no change to builds.
MAIN commitmail json YAML
doc/3RDPARTY: mozilla-certdata is up-to-date.
MAIN commitmail json YAML
mozilla-certdata: Update set lists.
MAIN commitmail json YAML
src/external/mpl/mozilla-certdata/share/certs/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.1.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem@1.2 / diff / nxr@1.2
src/external/mpl/mozilla-certdata/share/certs/Chambers_of_Commerce_Root_-_2008.pem deleted
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_ECC_Root-01.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_ECC_Root-02.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_RSA_Root-01.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_RSA_Root-02.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/D-Trust_SBR_Root_CA_1_2022.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/D-Trust_SBR_Root_CA_2_2022.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Global_Chambersign_Root_-_2008.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Security_Communication_Root_CA.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Symantec_Class_1_Public_Primary_Certification_Authority_-_G6.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Symantec_Class_2_Public_Primary_Certification_Authority_-_G6.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_SMIME_ECC_Root_2021.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_SMIME_RSA_Root_2023.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_TLS_ECC_Root_2020.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_TLS_RSA_Root_2023.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/TrustAsia_Global_Root_CA_G3.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/TrustAsia_Global_Root_CA_G4.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/TrustCor_ECA-1.pem deleted
:
(more 6 files)
src/external/mpl/mozilla-certdata/share/certs/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem@1.2 / diff / nxr@1.2
src/external/mpl/mozilla-certdata/share/certs/Chambers_of_Commerce_Root_-_2008.pem deleted
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_ECC_Root-01.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_ECC_Root-02.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_RSA_Root-01.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/CommScope_Public_Trust_RSA_Root-02.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/D-Trust_SBR_Root_CA_1_2022.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/D-Trust_SBR_Root_CA_2_2022.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Global_Chambersign_Root_-_2008.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Security_Communication_Root_CA.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Symantec_Class_1_Public_Primary_Certification_Authority_-_G6.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Symantec_Class_2_Public_Primary_Certification_Authority_-_G6.pem deleted
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_SMIME_ECC_Root_2021.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_SMIME_RSA_Root_2023.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_TLS_ECC_Root_2020.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/Telekom_Security_TLS_RSA_Root_2023.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/TrustAsia_Global_Root_CA_G3.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/TrustAsia_Global_Root_CA_G4.pem@1.1 / diff / nxr@1.1
src/external/mpl/mozilla-certdata/share/certs/TrustCor_ECA-1.pem deleted
:
(more 6 files)
mozilla-certdata: regen
MAIN commitmail json YAML
mozilla-certdata: Update reference in Makefile.
MAIN commitmail json YAML
urtwn(4): Ditch old queued commands on overflow.
Don't increment ring->queued past what the task will decrement.
This is a stop-gap measure; really, we should just have one task for
each operation that is deferred to the task thread.
PR kern/57965
Don't increment ring->queued past what the task will decrement.
This is a stop-gap measure; really, we should just have one task for
each operation that is deferred to the task thread.
PR kern/57965
MAIN commitmail json YAML
heartbeat(9): Restore still-applicable comment nixed in last commit.
The nesting depth is stored in ci_heartbeat_suspend which is 32-bit.
The nesting depth is stored in ci_heartbeat_suspend which is 32-bit.
MAIN commitmail json YAML
heartbeat(9): No kpreempt_disable/enable in heartbeat_suspend/resume.
This causes a leak of l_nopreempt in xc_thread when a CPU is offlined
and onlined again, because the offlining heartbeat_suspend and the
onlining heartbeat_resume happen in separate xcalls.
No change to callers because they are already bound to the CPU:
1. cnpollc does kpreempt_disable/enable itself around the calls to
heartbeat_suspend/resume anyway
2. cpu_xc_offline/online run in the xcall thread, which is always
bound to the CPU that is being offlined or onlined
This causes a leak of l_nopreempt in xc_thread when a CPU is offlined
and onlined again, because the offlining heartbeat_suspend and the
onlining heartbeat_resume happen in separate xcalls.
No change to callers because they are already bound to the CPU:
1. cnpollc does kpreempt_disable/enable itself around the calls to
heartbeat_suspend/resume anyway
2. cpu_xc_offline/online run in the xcall thread, which is always
bound to the CPU that is being offlined or onlined
MAIN commitmail json YAML
MAIN commitmail json YAML
longjmp(3) t_sigstack: Fix fencepost error.
Extremely unlikely to cause trouble, but let's just turn that into
`never' to keep it easier for readers.
PR lib/57946
Extremely unlikely to cause trouble, but let's just turn that into
`never' to keep it easier for readers.
PR lib/57946
MAIN commitmail json YAML
ramdisk-zfsroot: Enable build by default on amd64.
XXX Should maybe copy this to other ports like evbarm64 too.
PR port-amd64/57948
XXX Should maybe copy this to other ports like evbarm64 too.
PR port-amd64/57948
MAIN commitmail json YAML
longjmp(3) t_sigstack: Use a sigaltstack per handler entry.
longjmp evidently doesn't reset the state of whether the process is
executing on the alternate signal stack. So when we re-enter the
signal handler, the alternate stack appears to be still in use, and
the system chooses the original stack for the second call to the
signal handler -- which trips our assertion asking to verify that the
signal handler is always using an alternate stack.
Not strictly necessary for the signal handler to use an alternate
stack on re-entry, but this makes it clearer that the signal handler
itself is always using the alternate stack so we can verify that the
interrupted code is _not_ in the signal handler.
With this change, the test now passes on aarch64.
PR lib/57946
longjmp evidently doesn't reset the state of whether the process is
executing on the alternate signal stack. So when we re-enter the
signal handler, the alternate stack appears to be still in use, and
the system chooses the original stack for the second call to the
signal handler -- which trips our assertion asking to verify that the
signal handler is always using an alternate stack.
Not strictly necessary for the signal handler to use an alternate
stack on re-entry, but this makes it clearer that the signal handler
itself is always using the alternate stack so we can verify that the
interrupted code is _not_ in the signal handler.
With this change, the test now passes on aarch64.
PR lib/57946
MAIN commitmail json YAML
longjmp(3) t_sigstack: Note aarch64 seems to DTRT.
But only by code inspection; it appears to have another problem: on
re-entry, the signal handler is called on the normal stack, not on
the alternate signal stack.
PR lib/57946
But only by code inspection; it appears to have another problem: on
re-entry, the signal handler is called on the normal stack, not on
the alternate signal stack.
PR lib/57946
MAIN commitmail json YAML
MAIN commitmail json YAML
hdaudio(4): KNF, no functional change intended