lkml.org 
[lkml]   [2009]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/4] ptrace: fix possible zombie leak on PTRACE_DETACH
Date
ACK on the change, though looks different if you put __ptrace_detach in
ptrace.c with the earliar patch, as I suggest. Also, I think this warrants
a comment for the release_task call mentioning briefly what it means:

/*
* The flag means __ptrace_detach() determined that this child
* was a zombie that should have been auto-reaped already.
* Don't leak it.
*/
if (unlikely(dead))
release_task(child);


Thanks,
Roland


\
 
 \ /
  Last update: 2009-02-05 02:33    [W:0.046 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site