Comment 24 for bug 379452

Revision history for this message
In , Michal (michal-redhat-bugs) wrote :

Note to self: The mutex was added in 2.6.10 by DaveM in:
[AF_UNIX]: Serialize dgram read using semaphore just like stream
It fixed an exploitable race condition (http://www.securityfocus.com/archive/1/381689).
Using mutex_lock_interruptible() almost works, except that SO_RCVTIMEO will still work badly in this situation.