]> The Tcpdump Group git mirrors - tcpdump/commit
Clarify what abort_on_misalignment() does.
authorGuy Harris <[email protected]>
Wed, 3 Sep 2014 21:03:53 +0000 (14:03 -0700)
committerGuy Harris <[email protected]>
Wed, 3 Sep 2014 21:03:53 +0000 (14:03 -0700)
commitbf468d8027b1dc3933f91f7588f25cf5e0a5ff30
treed7f004e63c0bc44b0d6f0e0727183bcee758e9d6
parentf2e17bb1673b6c1c9d62ea51625aef920d7252d2
Clarify what abort_on_misalignment() does.

It doesn't request byte misalignment repair, it requests that byte
misalignment kill the program with SIGBUS; on platforms that don't
support aligned loads, we should be fetching possibly-misaligned data
using some safe instruction sequence, not by doing misaligned loads and
relying on them to trap to the kernel and be (slowly) emulated.
machdep.c
tcpdump.c