LWN.net Logo

It's absolutely impossible.

It's absolutely impossible.

Posted Nov 14, 2011 17:31 UTC (Mon) by khim (guest, #9252)
In reply to: Fast interprocess communication revisited by neilbrown
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.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds