From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Adding vsock related structures and #defines
Date: Mon, 26 Mar 2018 19:47:48 +0200 [thread overview]
Message-ID: <20180326174747.GA4418@port70.net> (raw)
In-Reply-To: <MWHPR21MB01275C52F17AF19A7FE03BA09DAD0@MWHPR21MB0127.namprd21.prod.outlook.com>
* 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...
prev parent reply other threads:[~2018-03-26 17:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-26 16:35 Ben Hillis
2018-03-26 17:47 ` Szabolcs Nagy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180326174747.GA4418@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).