From owner-freebsd-net Wed Aug 14 12:10:56 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F97D37B400 for ; Wed, 14 Aug 2002 12:10:54 -0700 (PDT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F3DA43E4A for ; Wed, 14 Aug 2002 12:10:53 -0700 (PDT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.3/8.12.3) with ESMTP id g7EJAmwu021990; Wed, 14 Aug 2002 12:10:48 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.3/8.12.3/Submit) id g7EJAm6e021985; Wed, 14 Aug 2002 12:10:48 -0700 Date: Wed, 14 Aug 2002 12:10:48 -0700 From: Brooks Davis To: "M. Warner Losh" Cc: brooks@one-eyed-alien.net, julian@elischer.org, bde@zeta.org.au, net@FreeBSD.ORG Subject: Re: switching to if_xname from if_name and if_unit Message-ID: <20020814121047.A21107@Odin.AC.HMC.Edu> References: <20020814095606.A32608@Odin.AC.HMC.Edu> <20020814105903.A8808@Odin.AC.HMC.Edu> <20020814.122515.26283996.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020814.122515.26283996.imp@bsdimp.com>; from imp@bsdimp.com on Wed, Aug 14, 2002 at 12:25:15PM -0600 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 14, 2002 at 12:25:15PM -0600, M. Warner Losh wrote: > In message: <20020814105903.A8808@Odin.AC.HMC.Edu> > Brooks Davis writes: > : > > to use. The obvious thing is strlcpy, but I don't think we have th= at in > : > > the kernel. We could use strncpy with the usual tricks or snprintf. >=20 > strlcpy is in the kernel now. I'm not seeing it anywhere. Are you sure? -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9Wqs3XY6L6fI4GtQRAuLXAKCvTc1JhVN356E2+uu1AUNPGbCahACePTli +HqsTBJkhqVyKyjkI0HPf8A= =b1Si -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message