[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#70002: marked as done (libc6: sockaddr_storage definition non-standard)



Your message dated Thu, 16 Jan 2003 19:08:32 +1100
with message-id <20030116080832.GA18416@gondor.apana.org.au>
and subject line Bug#70002: libc6: sockaddr_storage definition non-standard
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Aug 2000 11:44:30 +0000
>From herbert@gondor.apana.org.au Sat Aug 26 06:44:29 2000
Return-path: <herbert@gondor.apana.org.au>
Received: from gondor.apana.org.au [::ffff:203.14.152.114] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 13SeNt-0008UJ-00; Sat, 26 Aug 2000 06:44:26 -0500
Received: (from herbert@localhost)
	by gondor.apana.org.au (8.11.0.Beta1/8.11.0.Beta1/Debian 8.11.0-1) id e7QBiLc15389;
	Sat, 26 Aug 2000 21:44:21 +1000
Date: Sat, 26 Aug 2000 21:44:21 +1000
Message-Id: <200008261144.e7QBiLc15389@gondor.apana.org.au>
From: <herbert@gondor.apana.org.au>
Subject: libc6: sockaddr_storage definition non-standard
To: submit@bugs.debian.org
X-Mailer: bug 3.3.4
Delivered-To: submit@bugs.debian.org

Package: libc6
Version: 2.1.3-10
Severity: normal

It seems that the glibc version of sockaddr_storage differs from ones found
in other Unices as well as the relevant standards.  It should look like this:

struct sockaddr_storage {
	u_char  ss_len;		/* address length */
	u_char  ss_family;	/* address family */
	/* and bunch of padding */
};

(There are disagreements about the names of the first two members though.)

So this needs be fixed.

See also http://www.freebsd.org/handbook/ipv6-implementation.html

-- System Information
Debian Release: 2.2
Kernel Version: Linux gondor 2.2.12 #2 Sat Sep 18 12:11:40 EST 1999 i586 unknown

Versions of the packages libc6 depends on:
ii  ldso                1.9.11-9            The Linux dynamic linker, library and utilities.

---------------------------------------
Received: (at 70002-done) by bugs.debian.org; 16 Jan 2003 08:08:47 +0000
>From herbert@gondor.apana.org.au Thu Jan 16 02:08:45 2003
Return-path: <herbert@gondor.apana.org.au>
Received: from goliath.apana.org.au [202.12.88.44] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18Z54u-0002ji-00; Thu, 16 Jan 2003 02:08:44 -0600
Received: from pelargir.apana.org.au ([203.14.152.113] helo=gondolin.me.apana.org.au)
	by goliath.apana.org.au with esmtp (Exim 3.35 #1 (Debian))
	id 18Z54k-0004Xr-00; Thu, 16 Jan 2003 19:08:34 +1100
Received: from herbert by gondolin.me.apana.org.au with local (Exim 3.36 #1 (Debian))
	id 18Z54i-0004nF-00; Thu, 16 Jan 2003 19:08:32 +1100
Date: Thu, 16 Jan 2003 19:08:32 +1100
To: Philip Blundell <pb@nexus.co.uk>, 70002-done@bugs.debian.org
Subject: Re: Bug#70002: libc6: sockaddr_storage definition non-standard
Message-ID: <20030116080832.GA18416@gondor.apana.org.au>
References: <[🔎] 1042664665.28307.21.camel@kc.cam.armlinux.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 1042664665.28307.21.camel@kc.cam.armlinux.org>
User-Agent: Mutt/1.4i
From: Herbert Xu <herbert@gondor.apana.org.au>
Delivered-To: 70002-done@bugs.debian.org
X-Spam-Status: No, hits=-16.0 required=5.0
	tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,
	      SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT,
	      USER_AGENT_MUTT
	version=2.41
X-Spam-Level: 

On Wed, Jan 15, 2003 at 09:04:25PM +0000, Philip Blundell wrote:
> tags 70002 + moreinfo
> thanks
> 
> > It seems that the glibc version of sockaddr_storage differs from ones
> > found in other Unices as well as the relevant standards.  It should
> > look like this:
> >
> > struct sockaddr_storage {
> >	u_char  ss_len;		/* address length */
> >	u_char  ss_family;	/* address family */
> >	/* and bunch of padding */
> > };
> 
> Do you have any evidence to back this claim up, other than "this is how
> FreeBSD does things"?
> 
> The current glibc definition looks OK to me.  I'm not sure if it has
> changed since you originally filed the bug.  If you still believe it to
> be incorrect, please give some more details.

Yes, this report is indeed bogus.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: