use ret from raw test case in verbose to see return value
and then tests can reach normalization tests for in flight packet testing.
more in flight packets tests for routing and possibly logging soon
gas: vax: Cherry-pick upstream commit 2722595890a
PR port-vax/59326
---
Author: Jan-Benedict Glaw <jbglaw at getslash.de>
Date: Sun Nov 15 18:36:27 2026 +0100
VAX: In PIC code, use GOT for function pointers
Use GOT references for function pointers in PIC code. Actual fix by
Rin Okuyama, initially reported for NetBSD in https://gnats.netbsd.org/59326 .
PR gas/32941
gas/
* config/tc-vax.c (md_estimate_size_before_relax): Use GOT instead of PLT.
* testsuite/gas/vax/elf-got-func.s,
* testsuite/gas/vax/elf-got-func.d: New test.
* testsuite/gas/vax/vax.exp: Run it.
A driver for the Maxim DS2413 1-Wire Dual Channel Addressable Switch,
that is, two open drain GPIO ports at the end of a 1-Wire bus.
Except for overdrive speed support, which is currently lacking in the
onewire(4) infrastructure, all aspects of the chip are supported. The
ports are presented as a gpio(4) bus and are operated on like any GPIO
bus would be with gpioctl.
There is an official family ID for the DS2413, but widely known clones
use an alternative. Both IDs are supported. It is also possible to
add another ID using a kernel config option, as there are some reports
of yet other family IDs out in the wild.
The chip works on the DS248x I2C to 1-Wire bridges and works on the
bitbanged gpioow driver. Tests were performed on a Virtualbox amd64
VM using umcpmio(4) as a USB to I2C bridge together with a DS2484 I2C
to 1-Wire bridge as well as directly on a RPI2 and RPI3 running
[7 lines not shown]
lint: fix integer constraints for division
In the expression 'a / b' with b > 0, lint wrongly assumed the result
would have the same bits cleared as a.
In the expression 'a % b', the resulting constraints were wrong for
negative b.
Introduce consumed flags by procedures in NPF.
Route procedures will almost always consume mbufs.
introcude a flag in the nbuf to let us know
that the nbuf has been consumed in case there is a
NULL check.
looked by martin
Pull up following revision(s) (requested by brad in ticket #582):
sys/dev/i2c/ds2482owreg.h: revision 1.2
sys/dev/onewire/onewire.c: revision 1.23
share/man/man4/ds2482ow.4: revision 1.2
sys/dev/i2c/ds2482owvar.h: revision 1.4
sys/dev/i2c/ds2482ow.c: revision 1.3
20 years ago when the 1-Wire infrastructure was ported over from
OpenBSD, the calls in the onewire_detach() function in the onewirebus
(sys/dev/onewire/onewire.c) code for config_detach_children() was
commented out. I don't know why this was done, exactly, as there
wasn't any particular comments present. I suspect it might have been
because owtemp, the common end device, could not detach or maybe
detaching just didn't work as expected at that time.
The string of devices are as follows:
End controller -> onewirebus -> End device
gpioow or ds2482ow -> -> such as owtemp or ds24e17iic
[28 lines not shown]
Pull up following revision(s) (requested by riastradh in ticket #580):
share/mk/bsd.own.mk: revision 1.1491
hppa: Enable fortify/ssp in userland for progs/libs that opt into it.
The `ssp' part doesn't actually do much (and really I'm not sure why
these options are mixed together) because hppa stack grows up, so
writing past the end of an array won't overwrite the return address,
so stack smashing in this way is extremely unlikely. But the
`fortify' part, which instruments functions like memcpy/read/getcwd
with bounds checks where statically known, is still useful to catch
buffer overruns.
ok `I guess' nick@
PR lib/60858: fortuitous embarrassment: fortify is all kinds of busted
Pull up following revision(s) (requested by riastradh in ticket #579):
include/ssp/ssp.h: revision 1.17
share/mk/bsd.own.mk: revision 1.1488
share/mk/bsd.own.mk: revision 1.1489
sys/arch/sparc64/conf/Makefile.sparc64: revision 1.87
lib/libc/ssp/ssp_redirect.c: revision 1.4
sys/arch/amd64/conf/Makefile.amd64: revision 1.87
sys/conf/ssp.mk: revision 1.6
sys/conf/ssp.mk: revision 1.7
sys/arch/amd64/include/Makefile.inc: revision 1.6
sys/arch/xen/conf/Makefile.xen: revision 1.51
sys/arch/i386/include/Makefile.inc: revision 1.4
sys/arch/i386/conf/Makefile.i386: revision 1.198
ssp.h: Stop creating references to useless __ssp_protected_* symbols.
The ssp wrappers are useful _only_ when they are actually used for
inline function call expansion; if the function is used for anything
[118 lines not shown]
PR lib/60677 strfmon() - remove some (harmless) lint
Avoid using a var name that overrides an external func name
from a standard header (func not used) for a short block
(harmless change).
Remove a func param that ended up no longer being used
(just got forgotten) from two (very similar) functions.
The rest of what lint complains about is idiotic. Won't fix.
PR lib/60677 strfmon() gcc lunacy fix
Deal with gcc stupidity when chars are unsigned.
If I need to check that a char pointer points to a
char that is between 0 and N (for any N <= 127)
I should be able to just write
if (*p >= 0 && *p <= N)
and on signed char hosts, that works just fine.
On unsigned char hosts, the test *p >= 0 is
always true, so gcc decides I don't know what I
am doing, and complains.
Idiotic. It is irrelevant if *p can never be < 0
on such a host, the code is still correct, does exactly
what is needed, and ...
[12 lines not shown]
Rename the pmap_completion structure to pmap_garbage, and include a copy
in each pmap. We now try to defer releasing freed resources until a
pmap_update() call (with some exceptions; RTFS), laying the groundwork
for some future ATC-related optimizations.