[GH-ISSUE #1034] AC: Do not test for ARCH_ALLOWS_UNALIGNED. Just use a whitelist. #635

Closed
opened 2026-10-14 03:16:21 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @magnumripper on GitHub (Jan 25, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1034

Reason as Solar put it: It will end up making JtR actually use unaligned accesses e.g. on Alpha, where they're typically emulated (very slow) and result in complaints from the kernel (seen in dmesg).

Let's remove configure's test for unaligned accesses because it's unreliable and risky. Let's instead only enable unaligned accesses for archs where these are known to be supported in hardware. Maybe just x86, x86_64, vax. Oh, maybe also m68k. %-)

Originally created by @magnumripper on GitHub (Jan 25, 2015). Original GitHub issue: https://github.com/openwall/john/issues/1034 Reason as Solar put it: _It will end up making JtR actually use unaligned accesses e.g. on Alpha, where they're typically emulated (very slow) and result in complaints from the kernel (seen in dmesg)._ _Let's remove configure's test for unaligned accesses because it's unreliable and risky. Let's instead only enable unaligned accesses for archs where these are known to be supported in hardware. Maybe just x86, x86_64, vax. Oh, maybe also m68k. %-)_
bsakaguchi 2026-10-14 03:16:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#635
No description provided.