Page MenuHomePhabricator

enable fd passing over ecore-con (efl-net)
Open, TODOPublic


This is a useful mechanism which we should permit on local sockets. There are some requirements:

  • use sendmsg/recvmsg in efl_net_socket_fd.c
    • set/get socket data from efl_io_{writer/reader} into iovecs
    • use/check SCM_RIGHTS flag
    • set/get fds in ancillary data
  • add explicit api for sending/receiving fds
    • fd must be sent as ancillary data and not in main data payload (in cmsg, not iovec)
zmike created this task.Jan 30 2018, 9:58 AM
zmike triaged this task as TODO priority.
zmike edited projects, added Restricted Project; removed efl.Jun 11 2018, 6:56 AM
zmike edited projects, added efl: networking; removed Restricted Project.Jun 11 2018, 9:16 AM