Skip to content
Snippets Groups Projects
Commit 13f500ca authored by Guy Zana's avatar Guy Zana
Browse files

net: import linux socket compatibility layer (not in makefile)

    1. port the linux socket compatibility layer form freebsd
    2. in freebsd, the compatibility is done to support execution of
       32bit ELFs, so I had to rewrite most of the code in linux_socket.c
    3. special note for sendmsg/recvmsg - I put an assert that we don't handle
       ancillary data (msg->msg_control), so calls that are made to these
       functions with msg->msg_control != NULL will fail. if a need emerge
       we can handle this part later. also, the original compatibility layer
       handled only 2 types of messages: credentials and rights,
       which we ignore in OSv.
parent 589c676a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment