From owner-freebsd-arch Fri Aug 16 13:16: 0 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51DE337B400 for ; Fri, 16 Aug 2002 13:15:59 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3158543E6E for ; Fri, 16 Aug 2002 13:15:58 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g7GKFpQe003827; Fri, 16 Aug 2002 14:15:51 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 16 Aug 2002 14:15:48 -0600 (MDT) Message-Id: <20020816.141548.17599527.imp@bsdimp.com> To: brooks@one-eyed-alien.net Cc: arch@FreeBSD.ORG Subject: Re: kernel strlcpy From: "M. Warner Losh" In-Reply-To: <20020815122641.B21334@Odin.AC.HMC.Edu> References: <20020815122641.B21334@Odin.AC.HMC.Edu> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20020815122641.B21334@Odin.AC.HMC.Edu> Brooks Davis writes: : I'd like to import strlcpy into libkern. YES YES YES! : I am not advocating introducing strlcat because strncat is bairly used : (only 9 times in the whole kernel.) I think it would be reasonable. In fact, if we ELIMINATE strncat and strncpy in the kernel, then that would be enough to justify bringing them in. Since this isn't a hosted environment, we can do that if we want. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message