Re: [PATCH][RFC] sigurg/sigio cleanup for 2.5.31

From: kuznet@ms2.inr.ac.ru
Date: Fri Aug 16 2002 - 09:50:28 EST


Hello!

> All existing paths which write to the pid/uid/euid fields are protected by
> the BKL

euid? Are you about current->xxx? You jest, you read it, not write.

Well, and if you are going to say that reading is racy, then I wonder
why you started from this place, not from another users current->xxx,
which are really critical and surely cannot use bkl. :-)

> > But I daresay this is deadlock:
>
> Yep.

Ergo, never use BKL. :-)

Alexey
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 23 2002 - 22:00:12 EST