Roland McGrath c63855d040 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>
2008-02-06 22:39:44 +01:00
..
2007-10-17 21:19:04 +02:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:31:12 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2007-10-19 11:53:33 -07:00
2007-10-13 10:01:23 -07:00
2008-01-30 13:31:31 +01:00
2008-01-31 22:05:47 +01:00
2008-01-30 13:33:32 +01:00
2008-02-04 16:48:06 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:31:19 +01:00
2008-02-04 16:48:06 +01:00
2008-01-30 13:31:23 +01:00
2008-02-01 17:49:41 +01:00
2008-01-30 13:31:55 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:33:14 +01:00
2008-01-30 13:30:28 +01:00
2008-01-30 13:33:10 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:31:12 +01:00
2007-10-13 10:01:23 -07:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:30:33 +01:00
2008-01-30 13:33:19 +01:00
2008-01-30 13:30:31 +01:00
2007-10-11 11:17:01 +02:00
2008-02-06 22:39:44 +01:00
2008-01-30 13:33:25 +01:00
2007-10-11 11:17:01 +02:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:32:40 +01:00
2008-01-30 13:33:24 +01:00
2008-02-04 16:48:00 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:33:23 +01:00
2008-01-30 13:33:53 +01:00
2008-01-30 13:33:23 +01:00
2007-10-20 01:13:56 +02:00
2008-02-01 18:30:58 -05:00
2007-10-17 08:42:55 -07:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:31:52 +01:00
2008-01-30 13:33:49 +01:00
2008-01-30 13:33:33 +01:00
2008-01-30 13:33:24 +01:00
2007-10-11 11:17:24 +02:00
2008-01-30 13:31:42 +01:00
2008-02-04 16:47:54 +01:00
2007-10-11 11:17:01 +02:00
2008-01-30 13:32:39 +01:00
2008-01-30 13:31:10 +01:00