lkml.org 
[lkml]   [2010]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: situation with signals
On Wed, Oct 27, 2010 at 06:51:12PM -0400, Chris Metcalf wrote:

> > BTW, is everything in your pt_regs safe to modify?
>
> What an interesting observation. :-) In fact, it would be possible to
> overwrite the privilege level (the ex1 register) from within the signal
> handler and then return to run arbitrary code at kernel PL. I'll fix it.

Then you need to be careful with that in your ptrace as well (POKEUSR and
SETREGS).


\
 
 \ /
  Last update: 2010-10-28 01:33    [from the cache]
©2003-2011 Jasper Spaans