diff options
author | Roland McGrath <roland@redhat.com> | 2008-02-06 21:39:44 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-02-06 21:39:44 (GMT) |
commit | c63855d04034c96db791a7217954c93aa66d24cb (patch) | |
tree | 97f22e5bf68de576cad776cd14921903f7d51449 /mm/page-writeback.c | |
parent | c1f766b5519f9b5a51b0e6884ed9e02bce775ea8 (diff) | |
download | linux-c63855d04034c96db791a7217954c93aa66d24cb.tar.xz |
x86 ptrace: disallow null cs/ss
In my revamp of the x86 ptrace code for setting register values,
I accidentally omitted a check that was there in the old code.
Allowing %cs to be 0 causes a bad crash in recovery from iret failure.
This patch fixes that regression against 2.6.24, and adds a comment
that should help prevent this subtlety from being overlooked again.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions