BKL use in ptrace

From: Andi Kleen
Date: Sun Dec 20 2009 - 13:53:28 EST



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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/