Re: 2.4+ptrace exploit fix breaks root's ability to strace

Arjan van de Ven
2003-03-23T10:33:14Z

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

On Sun, 2003-03-23 at 11:31, Lists (lst) wrote:
> On Sat, 22 Mar 2003, Alan Cox wrote:
>
> > On Sat, 2003-03-22 at 10:31, Russell King wrote:
> > > Are the authors of the ptrace patch aware that, in addition to closing the
> > > hole, the "fix" also prevents a ptrace-capable task (eg, strace started by
> > > root) from ptracing user threads?
> >
> > Its an unintended side effect, nobody has sent a patch to fix it yet.
>
> Hi,
>
> mlafon send a patch to the list:

uid == 0 is the wrong test

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]