Missing Unix socket features.
Also known as Unix domain sockets.
This is required by some software. The related issues are as follows:
Current Status / Supported Features
We currently support the following Unix socket features:
-
socket
,bind
,accept
,connect
, andsocketpair
-
write
,read
,close
and (fpath
) -
getsockopt
andsetsockopt
with support forSO_PASSCRED
-
sendmsg
andrecvmsg
with support forSCM_RIGHTS
andSCM_CREDENTIALS
-
MSG_TRUNC
andMSG_CTRUNC
flags - All of the above for both
SOCK_STREAM
andSOCK_DGRAM
Missing Features / To-Do
However, some features are still missing.
These include:
- Functions
-
sendto
andrecvfrom
(using sendmsg/recvmsg)
-
- Flags
- Options
- Ancillary Data
-
SCM_TIMESTAMP
-
SCM_TIMESTAMPNS
-
( SCM_SECURITY
)
-
Notes
- The changes for
sendto
andrecvfrom
are expected to be on therelibc
side only. Most other features above will likely require changes on both therelibc
and scheme sides. - () means the feature needs SELinux support.
- Feature-name ([software-name]) indicates features known to be required by specific software.
References
Edited by Ibuki Omatsu