commit | a3c195144e162097c42e4284323ed6d386de105d | [log] [tgz] |
---|---|---|
author | Bobby Bingham <koorogi@koorogi.info> | Thu Apr 03 14:46:41 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Apr 03 16:20:52 2014 -0700 |
tree | beae07ac4a12e2bee76f3160a8f4b5725f8a00ad | |
parent | 7caf62de25554da3af00c92c11afa95dcc3592c4 [diff] |
sh: don't pass saved userspace state to exception handlers The compiler is permitted to generate code which overwrites the parameters to a function. If those parameters include the only saved copy we have of userspace's registers, we're in trouble. Signed-off-by: Bobby Bingham <koorogi@koorogi.info> Cc: Paul Mundt <paul.mundt@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>