Re: futex: race in lock and unlock&exit for robust futex with PI?

From: Michal Hocko
Date: Mon Jun 28 2010 - 11:40:13 EST


On Mon 28-06-10 17:32:14, Michal Hocko wrote:
[...]
> Btw. I guess that there is a typo in the condition and it should be
> like this:
> if (cred->euid != pcred->euid &&
> - cred->euid != pcred->uid)
> + cred->uid != pcred->uid)

Scratch that. This looks correct.


--
Michal Hocko
L3 team
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9
Czech Republic
--
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/