Re: BKL use in ptrace

From: Roland McGrath
Date: Mon Dec 21 2009 - 20:16:54 EST


> 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
--
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/