- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.2k
musl: Switch to the new structure for socket.h #4539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the direction of this reorganization!
| @@ -0,0 +1,4 @@ | |||
| //! This directory maps to `include/uapi` in the Linux source tree. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, such a comment is good to have
| @@ -0,0 +1,5 @@ | |||
| mod arch; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could use a comment that mentions:
- this is musl-libc
- how it relates to the musl-libc source tree
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has some much more detailed comments now
3924af7    to
    9fb182e      
    Compare
  
    bcb9805    to
    f6b6a7d      
    Compare
  
    Move `struct msghdr`, `struct cmsghdr`, `sendmmsg`, and `recvmmsg` over at this time, as well as two `SOCK_*` constants that were in the musl module. Link: https://github.com/kraj/musl/blob/9f204467e88c75e36105d1359951c5857c20fe0b/include/sys/socket.h
f6b6a7d    to
    4cff0a6      
    Compare
  
    socket.h| Thank you for taking a look @neuschaefer! I think at this point the basic structure is probably there enough to start actually moving things to these modules. | 
Move
struct msghdr,struct cmsghdr,sendmmsg, andrecvmmsgoverat this time, as well as two
SOCK_*constants that were in the muslmodule.
Link: https://github.com/kraj/musl/blob/9f204467e88c75e36105d1359951c5857c20fe0b/include/sys/socket.h