[nanomsg] Re: On the use of small integers instead of pointers to identify "sockets"

  • From: Amaury Bouchard <amaury@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Thu, 5 Sep 2013 10:21:05 +0200

2013/9/5 Martin Sustrik <sustrik@xxxxxxxxxx>

> No. You can't implement that in user space. POSIX doesn't allow for that
> kind of thing. True file descriptors can be implemented only in the kernel
> space.
>
> However, I've made a patch for Linux kernel that would fix that and allow
> for implementing true fds in the user space. Unfortunately, I don't have
> enough time and morale to push the patch to the mainline.


Maybe it would be easier to write a FUSE driver?

Other related posts: