BKL use in ptrace

Andi Kleen
2009-12-20T18:53:24Z

Hi,

ptrace has this comment/BKL use:

/*
* This lock_kernel fixes a subtle race with suid exec
*/
lock_kernel();

But unless I'm blind I don't see execve actually getting the BKL
anywhere. So is this comment outdated or misleading (is the race with exit?)
or is there a bug?

Thanks,
-Andi

--
ak@linux.intel.com -- Speaking for myself only.