Date: 13 Dec 2000 08:59:47 +0100 From: assar@FreeBSD.ORG To: arch@FreeBSD.ORG Subject: Re: Safe string formatting in the kernel Message-ID: <5lvgsovjik.fsf@assaris.sics.se> In-Reply-To: "David O'Brien"'s message of "Tue, 12 Dec 2000 23:45:14 -0800" References: <200012120259.eBC2xfb99004@earth.backplane.com> <xzpsnnuq1hy.fsf@flood.ping.uio.no> <20001211185610.A1741@citusc.usc.edu> <200012121820.LAA31234@harmony.village.org> <5l66kozzhm.fsf@assaris.sics.se> <20001212234514.A73840@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"David O'Brien" <obrien@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lvgsovjik.fsf>