* Adding vsock related structures and #defines
@ 2018-03-26 16:35 Ben Hillis
2018-03-26 17:47 ` Szabolcs Nagy
0 siblings, 1 reply; 2+ messages in thread
From: Ben Hillis @ 2018-03-26 16:35 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 266 bytes --]
I'm wondering if it would be possible to add the definitions for vsock sockets to the header files that are included in musl libc:
http://man7.org/linux/man-pages/man7/vsock.7.html These definitions are located in include/uapi/linux/vm_sockets.h.
Thanks!
Ben
[-- Attachment #2: Type: text/html, Size: 2277 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Adding vsock related structures and #defines
2018-03-26 16:35 Adding vsock related structures and #defines Ben Hillis
@ 2018-03-26 17:47 ` Szabolcs Nagy
0 siblings, 0 replies; 2+ messages in thread
From: Szabolcs Nagy @ 2018-03-26 17:47 UTC (permalink / raw)
To: musl
* Ben Hillis <Ben.Hillis@microsoft.com> [2018-03-26 16:35:15 +0000]:
> I'm wondering if it would be possible to add the definitions for vsock sockets to the header files that are included in musl libc:
> http://man7.org/linux/man-pages/man7/vsock.7.html These definitions are located in include/uapi/linux/vm_sockets.h.
>
AF_VSOCK support was added in
http://git.musl-libc.org/cgit/musl/commit/?id=3d4583c3fba8989a596506619277ecd68768d9ab
otoh the sockaddr type and VMADDR_* macros were not added,
it's not obvious how to do that correctly: the type name
is non-standard so it can only be exposed under _GNU_SOURCE
and the man page says they live in linux/vm_sockets.h so
putting it elsewhere will create conflicts if both linux
and libc headers are included...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-26 17:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26 16:35 Adding vsock related structures and #defines Ben Hillis
2018-03-26 17:47 ` Szabolcs Nagy
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).