Christian Groessler <[email protected]> writes: > Hi, > > I've noticed that the kernel covers up unaligned memory accesses, see > this dmesg message (and the program doesn't crash): > > [26186.220638] unal(9569): unaligned access to 0x000110e9 at ip > 0x00010543 (iir 0x0f40109c) > > Is there a way to disable the handling of unaligned accesses in kernel 6.x? > I'd like to get a bus error (SIGBUS or other signal) so I can find the > places in the code where unaligned accesses are done.
You can use prctl (https://sourceforge.net/projects/prctl/). > > regards, > chris
signature.asc
Description: PGP signature

