mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Cc: Timo Teras <timo.teras@iki.fi>
Subject: Re: if_nameindex/getifaddrs and dhcpcd issue
Date: Tue, 8 Apr 2014 18:41:12 -0400	[thread overview]
Message-ID: <20140408224112.GH26358@brightrain.aerifal.cx> (raw)
In-Reply-To: <CAK4o1WygqkFer_Y6FsKO0gNfJFs8+7mqK5b=k7YJ77E6rUrmig@mail.gmail.com>

On Tue, Apr 08, 2014 at 05:19:12PM +0100, Justin Cormack wrote:
> On Tue, Apr 8, 2014 at 5:08 PM, Timo Teras <timo.teras@iki.fi> wrote:
> > But as to netlink, all the addresses I've looked at are not wrapped in
> > struct sockaddr. They are netlink 'attributes' that are variable
> > length.
> >
> > The only ABI mess in netlink has been with 32-bit apps running on
> > 64-bit kernels. And it has been kernel header issue.
> >
> > Please let me know details on the claimed deficiency of netlink. It *a
> > lot* better (but also a bit complicated - and even more often
> > misunderstood [because the #define's exposed by kernel to use it is
> > garbage]) than the the traditional APIs IMHO. The 'on wire' protocol of
> > netlink is usable though.
> 
> Yes I quite like netlink. If only it was documented it would be a lot
> nicer. It is more pleasant to implement it in a dynamicly typed
> language than in C with #defines. But I don't think it should be in
> libc if possible...

As an aside, whether netlink is essential for a full-function modern
linux system is orthogonal to whether libc should be using it. A
hypothetical non-linux kernel providing linux syscall abi could
provide completely different net config utils.

Rich


  reply	other threads:[~2014-04-08 22:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08  9:11 Natanael Copa
2014-04-08 10:07 ` Justin Cormack
2014-04-08 12:25   ` Timo Teras
2014-04-08 14:23     ` Natanael Copa
2014-04-08 15:45     ` Rich Felker
2014-04-08 16:08       ` Timo Teras
2014-04-08 16:19         ` Justin Cormack
2014-04-08 22:41           ` Rich Felker [this message]
2014-04-09  7:17             ` u-igbb
2014-04-09 22:20               ` Rich Felker
2014-04-09 22:32                 ` Justin Cormack
2014-04-10  7:40                 ` u-igbb
2014-04-10  7:52                   ` Rich Felker
2014-04-09 14:02         ` Timo Teras
2014-04-10  0:55           ` Rich Felker
2014-04-09  7:55       ` Natanael Copa
2014-04-08 12:54   ` Szabolcs Nagy
2014-04-08 13:42   ` Rich Felker
2014-04-08 14:16     ` Justin Cormack
2014-04-08 15:38       ` Rich Felker
2014-04-09  7:13         ` Natanael Copa
2014-04-09 22:18           ` Rich Felker
2014-04-08 21:16     ` Natanael Copa
2014-04-08 21:30       ` Justin Cormack
2014-04-08 22:59         ` Rich Felker
2014-04-08 14:27   ` Natanael Copa

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=20140408224112.GH26358@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    --cc=timo.teras@iki.fi \
    /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).