fad13404d5583b42f7a65c985df5c066c4cfa8da
While supporting AF_UNIX, once an accept() is called in relibc, in turn, a dup() is also called with "listen". While processing this ipcd effectively creates a new handler, losing track of the path of the previous handler. However, it is important to keep this path in the newly created Handler as well, so the socket can be queried later by relibc (when calling fpath()) and fill in appropriately its sockaddr_un struct.
ipcd
A userspace daemon for interprocess communication.
Usage
See the examples folder.
Simply open chan:<name> with O_CREAT where <name> is any name you'd like to create a listener.
This listener can accept clients by calling dup("listen").
Open chan:<name> without O_CREAT to connect. Now you can read and write between both streams.
Description
RedBear Operating System, based on RedoxOS. Licenced under MIT license.
https://redbearos.org
Languages
C
37.5%
C++
37.2%
JavaScript
6.7%
QML
3.4%
HTML
3.2%
Other
11.4%