User: Password:
|
|
Subscribe / Log in / New account

Fast interprocess communication revisited

Fast interprocess communication revisited

Posted Nov 14, 2011 11:27 UTC (Mon) by abacus (guest, #49001)
In reply to: Fast interprocess communication revisited by neilbrown
Parent article: Fast interprocess communication revisited

I wonder about the wisdom of using a shared-memory locks (such as a futex) between process with different uids. Presumably the reason that they have different uids is that they don't trust each other.
One way of setting up shared memory is by mapping a tmpfs file in memory. One can control which processes can map such a file by assigning proper (group) security attributes to it.


(Log in to post comments)


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