[PATCH] i386: let signal handlers set the resume flag
authorChuck Ebbert <76306.1226@compuserve.com>
Thu, 23 Mar 2006 10:59:40 +0000 (02:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 23 Mar 2006 15:38:05 +0000 (07:38 -0800)
commit8bed51cd17464433a0c77afc8a5150e51d3da37d
tree7ffd751ba256f1f88e5888f624cb6e08c2a95bd7
parent3c36c6aa4aa1b3483c6a0370028608367426f58e
[PATCH] i386: let signal handlers set the resume flag

Allow signal handlers to set the RF bit in EFLAGS.  This lets a simple
debugger using SIGTRAP skip one instruction after returning from a signal.

Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/signal.c