[lkml]   [2010]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Uclinux-dist-devel] [PATCH -mm 1/1] ptrace: PTRACE_GETFDPIC: fix the unsafe usage of child->mm
    On Sat, May 22, 2010 at 12:54, Oleg Nesterov wrote:
    > Now that Mike Frysinger unified the FDPIC ptrace code, we can fix
    > the unsafe usage of child->mm in ptrace_request(PTRACE_GETFDPIC).
    > We have the reference to task_struct, and ptrace_check_attach()
    > verified the tracee is stopped. But nothing can protect from
    > SIGKILL after that, we must not assume child->mm != NULL.

    gdb still works with FDPIC apps after this, so presumably it works
    fine :). ive added it to the Blackfin tree to get more testing on our
    side (not that i'll be pushing it out or anything).


     \ /
      Last update: 2010-05-24 06:37    [W:0.023 / U:0.388 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site