From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4860 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: Re: if_nameindex/getifaddrs and dhcpcd issue Date: Wed, 9 Apr 2014 23:32:56 +0100 Message-ID: References: <20140408111147.5f79729f@ncopa-desktop.alpinelinux.org> <20140408152559.124030b1@vostro> <20140408154537.GG26358@brightrain.aerifal.cx> <20140408190807.7dc6b184@vostro> <20140408224112.GH26358@brightrain.aerifal.cx> <20140409071714.GB21662@example.net> <20140409222041.GK26358@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e01538848a5cdec04f6a3aeeb X-Trace: ger.gmane.org 1397082797 25155 80.91.229.3 (9 Apr 2014 22:33:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2014 22:33:17 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4864-gllmg-musl=m.gmane.org@lists.openwall.com Thu Apr 10 00:33:12 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WY13O-0000rT-DG for gllmg-musl@plane.gmane.org; Thu, 10 Apr 2014 00:33:10 +0200 Original-Received: (qmail 17732 invoked by uid 550); 9 Apr 2014 22:33:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17721 invoked from network); 9 Apr 2014 22:33:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TcJVfURLUNUfc4oezAQ7YnpXOyXq9FpqQG9EgdIQu+A=; b=AK26fWv9aFTTR9VLM2e5UvQ+785d3GZR+Kc1mikzrUKUfIt6DGknF0uVDwRbYNUvTX WUVIbHWikRFa3F5nf53rPf1CQErBkgqbT+l9NR8Q8OW3dWWW/08cyFIjnbyn9VqNL8Ie FPJ2TApzeBixNQBvx4MGMTe7Yi0vrwsliDmYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TcJVfURLUNUfc4oezAQ7YnpXOyXq9FpqQG9EgdIQu+A=; b=aZ+9lyjVQQI5HnlCKPf3nlZJLdQ2KGMN9MaNOzdUtbnmuH6n8yXDucYUOdTIc4JDTI /SKb1IkWw0ifttDH01hE8l8svbnerOI5N7wC2oq2iie1XpxMjQbqwv7nGoVmH1gmifSQ k1UBRQZqyTHoJ3eD/IEZa0jGffWzsuPCQ4/nzkW7obTfIv+dsvla2G8XwwhM6F/+MyHV UVsm6iDBsiiSaL/TfLr2bEUw/F7ne93f2NqCCQ8rxl92HF2vgdgd3OryBik98B+Mxh5W WmFiH4STtUAXzjuytVlD5tiCKAVXzD+yRYCCrm/ZHA7g/vPFnEhJKGl0BtXWI/Q7BSVr ORNw== X-Gm-Message-State: ALoCoQmZA87sQSx2tc+BOEkCzeE9CeBuaXDTwmg1BzojciLIAOheqoT0HsOgIUyNKyWA7mEPjIHO X-Received: by 10.182.55.65 with SMTP id q1mr100595obp.70.1397082777037; Wed, 09 Apr 2014 15:32:57 -0700 (PDT) In-Reply-To: <20140409222041.GK26358@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4860 Archived-At: --089e01538848a5cdec04f6a3aeeb Content-Type: text/plain; charset=UTF-8 On Apr 9, 2014 11:20 PM, "Rich Felker" wrote: > > On Wed, Apr 09, 2014 at 09:17:14AM +0200, u-igbb@aetey.se wrote: > > On Tue, Apr 08, 2014 at 06:41:12PM -0400, Rich Felker wrote: > > > 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. > > > > (I can not help wondering why you call this hypothetical, > > routinely using my "linux" binaries on *BSD. > > Oh wait, was it because mentioning demons' names is inappropriate? :) > > Does if_nameindex "work" (modulo the issues with it) on BSD linux > emulation now, and would it fail if we switched to netlink or /proc > based? This is not necessarily a show-stopper but it would be nice if > we had a workaround, and it's something where we should have input > from users running musl binaries on BSD. NetBSD has (optional) Linux /proc emulation. I will check the state of the current emulation for the nameindex. There is no netlink emulation. As I write the tests I get some influence... --089e01538848a5cdec04f6a3aeeb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Apr 9, 2014 11:20 PM, "Rich Felker" <dalias@aerifal.cx> wrote:
>
> On Wed, Apr 09, 2014 at 09:17:14AM +0200, u-igbb@aetey.se wrote:
> > On Tue, Apr 08, 2014 at 06:41:12PM -0400, Rich Felker wrote:
> > > As an aside, whether netlink is essential for a full-functio= n modern
> > > linux system is orthogonal to whether libc should be using i= t. A
> > > hypothetical non-linux kernel providing linux syscall abi co= uld
> > > provide completely different net config utils.
> >
> > (I can not help wondering why you call this hypothetical,
> > =C2=A0routinely using my "linux" binaries on *BSD.
> > Oh wait, was it because mentioning demons' names is inappropr= iate? :)
>
> Does if_nameindex "work" (modulo the issues with it) on BSD = linux
> emulation now, and would it fail if we switched to netlink or /proc > based? This is not necessarily a show-stopper but it would be nice if<= br> > we had a workaround, and it's something where we should have input=
> from users running musl binaries on BSD.

NetBSD has (optional) Linux /proc emulation. I will check th= e state of the current emulation for the nameindex. There is no netlink emu= lation. As I write the tests I get some influence...

--089e01538848a5cdec04f6a3aeeb--