> On 18 Dec 2022, at 11:25, Helge Deller <deller@xxxxxx> wrote: > > https://manpages.ubuntu.com/manpages/focal/man1/prctl.1.html > Thanks, this looks perfect! > -------- Ursprüngliche Nachricht -------- > Von: Helge Deller <deller@xxxxxx> > Datum: 18.12.22 12:23 (GMT+01:00) > An: Sam James <sam@xxxxxxxxxx>, linux-parisc@xxxxxxxxxxxxxxx > Betreff: RE: Way to kill processes with unaligned access? > > See prctl manpage, PR_SET_UNALIGN. > -------- Ursprüngliche Nachricht -------- > Von: Sam James <sam@xxxxxxxxxx> > Datum: 18.12.22 10:14 (GMT+01:00) > An: linux-parisc@xxxxxxxxxxxxxxx > Betreff: Way to kill processes with unaligned access? > > Hi all, > > I'm wondering if there's a way to configure the kernel such that > it kills processes when an unaligned access occurs. > > I often get messages like: > ``` > [18531.277742] conftest(4066): unaligned access to 0xf7fa1715 at ip 0x426cb787 (iir 0xf801094) > [18531.487681] conftest(4066): unaligned access to 0xf7fa1716 at ip 0x426cb793 (iir 0xf80109c) > ``` > > I know what they are, but it's a real pain to figure out *which* configure test in a given > case is causing the problem. If there's some way to make the kernel kill such naughty processes, > it'd make it way easier for me to locate. > > (Sometimes when I've built hundreds of packages, I have a lot of these I want to go investigate > after a week or two, but it's hard to track it down afterwards because of this.) > > Any ideas? > > Thanks! >
Attachment:
signature.asc
Description: Message signed with OpenPGP