LWN.net Logo

Sharing buffers between devices

Sharing buffers between devices

Posted Aug 19, 2011 21:20 UTC (Fri) by zlynx (subscriber, #2285)
In reply to: Sharing buffers between devices by cavok
Parent article: Sharing buffers between devices

There is a mechanism to send file descriptors across Unix local sockets between processes. Network servers have used this a lot in order to send a socket to another process for doing the actual work.

This is sendmsg/recvmsg with SCM_RIGHTS, I believe.


(Log in to post comments)

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