From owner-freebsd-hackers@FreeBSD.ORG Mon May 3 18:49:21 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1FAA16A4CE; Mon, 3 May 2004 18:49:21 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85EDD43D48; Mon, 3 May 2004 18:49:21 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (b6631b173380bc8c02510b18e21e965c@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i441nKfj000242; Mon, 3 May 2004 18:49:20 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 02139528DF; Mon, 3 May 2004 18:49:19 -0700 (PDT) Date: Mon, 3 May 2004 18:49:19 -0700 From: Kris Kennaway To: Deng XueFeng Message-ID: <20040504014919.GA57723@xor.obsecurity.org> References: <20040502132115.C583.DSNOFE@hotmail.com> <200405031322.37241.jhb@FreeBSD.org> <20040504090033.B046.DSNOFE@hotmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20040504090033.B046.DSNOFE@hotmail.com> User-Agent: Mutt/1.4.2.1i cc: hackers Subject: Re: Is this LOST?? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 01:49:21 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 04, 2004 at 09:04:53AM +0800, Deng XueFeng wrote: > > On Sunday 02 May 2004 01:26 am, Deng XueFeng wrote: > > > I found the htonl implemention in libc for i386 is not sync with the > > > kern. > > > > > > sys use bswap for swaping the int. but libc still use xchg. > > > IS THIS LOST? > >=20 > > It's because libc still supports 80386 which doesn't have bswap (introd= uced on=20 > > the 486 IIRC). The kernel only supports 486+ unless you explicitly bui= ld an=20 > > 80386 kernel, which won't use bswap for htonl(). > Since 5-current kernel do not support 80386. > why keep libc(5-current) support 80386? 5-current does support 80386, just not in the default GENERIC kernel. Kris --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAlvafWry0BWjoQKURAhqMAJ0YkHFWZqv9cRP31hUB7lZssHyn7ACfV07z Hk0Q+qyO4f+goBtakaWV8Pk= =/AZe -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--