From owner-freebsd-arch Mon Dec 11 20:55:25 2000 From owner-freebsd-arch@FreeBSD.ORG Mon Dec 11 20:55:24 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from earth.backplane.com (placeholder-dcat-1076843399.broadbandoffice.net [64.47.83.135]) by hub.freebsd.org (Postfix) with ESMTP id C252437B400; Mon, 11 Dec 2000 20:55:20 -0800 (PST) Received: (from dillon@localhost) by earth.backplane.com (8.11.1/8.9.3) id eBC4tKV99946; Mon, 11 Dec 2000 20:55:20 -0800 (PST) (envelope-from dillon) Date: Mon, 11 Dec 2000 20:55:20 -0800 (PST) From: Matt Dillon Message-Id: <200012120455.eBC4tKV99946@earth.backplane.com> To: assar@FreeBSD.ORG Cc: kris@citusc.usc.edu, Dag-Erling Smorgrav , arch@FreeBSD.ORG Subject: Re: Safe string formatting in the kernel References: <20001211185610.A1741@citusc.usc.edu> <200012120259.eBC2xfb99004@earth.backplane.com> <5lhf4ap8cv.fsf@assaris.sics.se> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG : : :--=-=-= : :Matt Dillon writes: :> strcpy() -> sn_strcpy(dst, src, sizeof_destination_buffer) :> strcat() -> sn_strcat(dst, src, sizeof_destination_buffer) : :strlcpy and strlcat. Why keep the API different for no good reason? : :/assar Yes, you are right. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message