> This looks unsafe. What protect child->mm if ptrace() races with SIGKILL ?
Agreed, unless things are somehow different on nommu so there aren't such
races. But, as you mention, this is a long-standing issue that is entirely
unrelated to the cleanup here and should not delay merging this patch.
Thanks,
Roland
--