From owner-freebsd-arch Tue Dec 12 23:59:45 2000 From owner-freebsd-arch@FreeBSD.ORG Tue Dec 12 23:59:44 2000 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from assaris.sics.se (dyna225-119.nada.kth.se [130.237.225.119]) by hub.freebsd.org (Postfix) with ESMTP id 942AA37B402 for ; Tue, 12 Dec 2000 23:59:40 -0800 (PST) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id IAA61308; Wed, 13 Dec 2000 08:59:48 +0100 (CET) (envelope-from assar) Sender: assar@assaris.sics.se From: assar@FreeBSD.ORG To: arch@FreeBSD.ORG Subject: Re: Safe string formatting in the kernel References: <200012120259.eBC2xfb99004@earth.backplane.com> <20001211185610.A1741@citusc.usc.edu> <200012121820.LAA31234@harmony.village.org> <5l66kozzhm.fsf@assaris.sics.se> <20001212234514.A73840@dragon.nuxi.com> Date: 13 Dec 2000 08:59:47 +0100 In-Reply-To: "David O'Brien"'s message of "Tue, 12 Dec 2000 23:45:14 -0800" Message-ID: <5lvgsovjik.fsf@assaris.sics.se> Lines: 21 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "David O'Brien" writes: > On Wed, Dec 13, 2000 at 06:01:09AM +0100, assar@FreeBSD.ORG wrote: > > There's no strlcpy/strlcat in the kernel. But I think there should be > > (independently of the sbuf stuff) and the appended patch adds them. > > Any comments/reviews? > > Will you also be looking into using them so we get some milage out of the > extra kernel size? (size is an on the boot floppy). Once they're there, they should of course be used. And strcpy/strcat might get removed when they're not used any longer. :-) Sizes I get on i386: text filename 111 strlcat.o 69 strlcpy.o 35 strcpy.o 43 strcat.o /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message