summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/system.h
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-05-20 05:12:31 +0000
committermarius <marius@FreeBSD.org>2012-05-20 05:12:31 +0000
commitb8d578077a6ca2ae9225c87dc8ffa19aa26b462a (patch)
tree962372f6180fcfd8a2261f9884b32a76879a07e3 /contrib/diff/src/system.h
parent7ee37f6fdd000e1d8d545b4816e8d97ae9f32827 (diff)
downloadFreeBSD-src-b8d578077a6ca2ae9225c87dc8ffa19aa26b462a.zip
FreeBSD-src-b8d578077a6ca2ae9225c87dc8ffa19aa26b462a.tar.gz
Rewrite nd6_sysctl_{d,p}rlist() to avoid misaligned accesses to char arrays
casted to structs by getting rid of these buffers entirely. In r169832, it was tried to paper over this issue by 32-bit aligning the buffers. Depending on compiler optimizations that still was insufficient for 64-bit architectures with strong alignment requirements though. While at it, add comments regarding the total lack of locking in this area. Tested by: bz Reviewed by: bz (slightly earlier version), yongari (earlier version) MFC after: 1 week
Diffstat (limited to 'contrib/diff/src/system.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud