It's absolutely impossible.
Posted Nov 14, 2011 17:31 UTC (Mon) by khim
In reply to: Fast interprocess communication revisited
Parent article: Fast interprocess communication revisited
And as a rogue process can corrupt a futex leaving the other processes unable to work effectively with them, it doesn't seem safe.
It's impossible to corrupt a futex, not matter "what" and "if". Futex exist entirely in kernelspace, it does not matter if processes trust each other or not.
You can corrupt interprocess mutex (built on top of futex), but this is question of mutex implementation.
to post comments)