{"id":1524,"url":"https://patchwork.libcamera.org/api/1.1/covers/1524/?format=json","web_url":"https://patchwork.libcamera.org/cover/1524/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20190627020955.6166-1-niklas.soderlund@ragnatech.se>","date":"2019-06-27T02:09:53","name":"[libcamera-devel,0/2] libcamera: ipc: unix: Add a IPC mechanism based on Unix sockets","submitter":{"id":5,"url":"https://patchwork.libcamera.org/api/1.1/people/5/?format=json","name":"Niklas Söderlund","email":"niklas.soderlund@ragnatech.se"},"mbox":"https://patchwork.libcamera.org/cover/1524/mbox/","series":[{"id":379,"url":"https://patchwork.libcamera.org/api/1.1/series/379/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=379","date":"2019-06-27T02:09:53","name":"libcamera: ipc: unix: Add a IPC mechanism based on Unix sockets","version":1,"mbox":"https://patchwork.libcamera.org/series/379/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/1524/comments/","headers":{"Return-Path":"<niklas.soderlund@ragnatech.se>","Received":["from bin-mail-out-05.binero.net (bin-mail-out-05.binero.net\n\t[195.74.38.228])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5E9BF60BD4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 27 Jun 2019 04:10:10 +0200 (CEST)","from bismarck.berto.se (unknown [145.14.112.32])\n\tby bin-vsp-out-01.atm.binero.net (Halon) with ESMTPA\n\tid a0988b52-9880-11e9-8ab4-005056917a89;\n\tThu, 27 Jun 2019 04:09:50 +0200 (CEST)"],"X-Halon-ID":"a0988b52-9880-11e9-8ab4-005056917a89","Authorized-sender":"niklas@soderlund.pp.se","From":"=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>","To":"libcamera-devel@lists.libcamera.org","Date":"Thu, 27 Jun 2019 04:09:53 +0200","Message-Id":"<20190627020955.6166-1-niklas.soderlund@ragnatech.se>","X-Mailer":"git-send-email 2.21.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/2] libcamera: ipc: unix: Add a IPC\n\tmechanism based on Unix sockets","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Thu, 27 Jun 2019 02:10:10 -0000"},"content":"Hello,\n\nThis series adds an IPC mechanism to pass data and file descriptors \nbetween two processes. The interface is asynchronous and bi-directional.\n\nThere are quiet a few changes since the RFC,\n\n- Switch to an event notifications and signals for the ingress code \n  path, making the interface asynchronous.\n- Removed any protocol helpers in the IPC object, a protocol should be \n  implemented on top of the IPC.\n- Added documentation.\n- Switched to SOCK_DGRAM.\n- Send both data and file descriptors in the same sendmsg().\n- Fixed spelling and silly errors in the code.\n- Merged test case in a single binary.\n\nNiklas Söderlund (2):\n  libcamera: ipc: unix: Add a IPC mechanism based on Unix sockets\n  test: ipc: unix: Add test for IPCUnixSocket\n\n src/libcamera/include/ipc_unixsocket.h |  59 +++++\n src/libcamera/ipc_unixsocket.cpp       | 288 +++++++++++++++++++++\n src/libcamera/meson.build              |   2 +\n test/ipc/meson.build                   |  12 +\n test/ipc/unixsocket.cpp                | 339 +++++++++++++++++++++++++\n test/meson.build                       |   1 +\n 6 files changed, 701 insertions(+)\n create mode 100644 src/libcamera/include/ipc_unixsocket.h\n create mode 100644 src/libcamera/ipc_unixsocket.cpp\n create mode 100644 test/ipc/meson.build\n create mode 100644 test/ipc/unixsocket.cpp"}