aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2023-12-14 20:17:20 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2023-12-14 20:17:20 +0000
commit2a622f14e8a588de654847ae264cdc3616528c9d (patch)
tree2860e60e407de6f3225e884b7360068530e00504 /sys/netinet
parentaaba1490ec4b17dea750b1e58dfded7aeb4e9816 (diff)
downloadsrc-2a622f14e8a588de654847ae264cdc3616528c9d.tar.gz
src-2a622f14e8a588de654847ae264cdc3616528c9d.zip
kldxref: Reduce divergence between per-architecture files
Note that relbase is always 0 for DSOs so its omission for __KLD_SHARED architectures was not a bug in practice. Whilst here, also parenthesise the dest offset for where to avoid transiently creating an out-of-bounds pointer, which is UB (though even on CHERI architectures, where capability bounds compression can result in that creating invalid capabilities that will trap on dereference, optimisation will reassociate to the correct form in practice and thus work just fine).
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions