[lkml]   [2003]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH][2.4] cleanup ptrace secfix and fix most side effects
On Iau, 2003-05-08 at 23:05, Bernhard Kaindl wrote:
> - mb();
> - if (!is_dumpable(child))
> - return -EPERM;
> if (!(child->ptrace & PT_PTRACED))
> return -ESRCH;
> Using is_dumpable() here is not neccesary because the checks done here are:
> > if (!(child->ptrace & PT_PTRACED))
> > return -ESRCH;

Except that current->mm->dumpable is not per task but per mm so you
might ptrace one thread and have another go setuid.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [from the cache]
©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site