From owner-freebsd-arch Tue Dec 12 10:20:21 2000 From owner-freebsd-arch@FreeBSD.ORG Tue Dec 12 10:20:20 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id C058837B400 for ; Tue, 12 Dec 2000 10:20:17 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eBCIKGs74897; Tue, 12 Dec 2000 11:20:16 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id LAA31234; Tue, 12 Dec 2000 11:20:14 -0700 (MST) Message-Id: <200012121820.LAA31234@harmony.village.org> To: Matt Dillon Subject: Re: Safe string formatting in the kernel Cc: kris@citusc.usc.edu, Dag-Erling Smorgrav , arch@FreeBSD.ORG In-reply-to: Your message of "Mon, 11 Dec 2000 18:59:41 PST." <200012120259.eBC2xfb99004@earth.backplane.com> References: <200012120259.eBC2xfb99004@earth.backplane.com> <20001211185610.A1741@citusc.usc.edu> Date: Tue, 12 Dec 2000 11:20:14 -0700 From: Warner Losh Sender: imp@harmony.village.org Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200012120259.eBC2xfb99004@earth.backplane.com> Matt Dillon writes: : strcpy() -> sn_strcpy(dst, src, sizeof_destination_buffer) : strcat() -> sn_strcat(dst, src, sizeof_destination_buffer) We already have strlcat and strlcpy in the tree. I'd agree with the weak need for making it all dynamic. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message