Re: BKL use in ptrace

Roland McGrath
2009-12-22T01:13:47Z

> I never understood this lock_kernel().
>
> In any case it looks outdated. We were going to kill it "soon",
> along with other ptrace changes.

I never understood it either. It's very ancient and long predates many,
many ptrace cleanups. If the comment was ever accurate, then any issue
like that is now covered by cred_guard_mutex. I don't know of any reason
for (or really, effect of) using BKL in ptrace.

Thanks,
Roland