On Wed, Oct 27, 2010 at 05:02:10PM -0400, Chris Metcalf wrote:
FWIW, I'd do that in handle_signal() when hitting a syscall restart.
BTW, is everything in your pt_regs safe to modify? I.e. could bogus
values put there by sigreturn lead to something like kernel mode being
retained when you return from syscall or interesting flags being
set, etc.?
--