Re: [PATCH 0/3] Fix a misaligned load inside ptrace_attach()

2015-05-01 Thread Peter Zijlstra
On Thu, Apr 30, 2015 at 09:19:54PM -0700, Palmer Dabbelt wrote: I ran across what I believe is a bug in some asm-generic code while working on the RISC-V Linux port. Essentially the problem is that wait_on_bit() takes a void *, but then perfroms long-aligned operation. As far as I can tell,

[PATCH 0/3] Fix a misaligned load inside ptrace_attach()

2015-04-30 Thread Palmer Dabbelt
I ran across what I believe is a bug in some asm-generic code while working on the RISC-V Linux port. Essentially the problem is that wait_on_bit() takes a void *, but then perfroms long-aligned operation. As far as I can tell, this bug could manifest on any other architecture that doesn't