From owner-freebsd-hackers Thu Jul 15 16:21:55 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from gatekeeper.veriohosting.com (gatekeeper.veriohosting.com [192.41.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 39AF314F60 for ; Thu, 15 Jul 1999 16:21:50 -0700 (PDT) (envelope-from hart@iserver.com) Received: by gatekeeper.veriohosting.com; Thu, 15 Jul 1999 17:21:50 -0600 (MDT) Received: from unknown(192.168.1.109) by gatekeeper.veriohosting.com via smap (V3.1.1) id xma004796; Thu, 15 Jul 99 17:21:47 -0600 Received: (hart@localhost) by anchovy.orem.iserver.com (8.9.2) id RAA22743; Thu, 15 Jul 1999 17:20:52 -0600 (MDT) Date: Thu, 15 Jul 1999 17:20:52 -0600 (MDT) From: Paul Hart X-Sender: hart@anchovy.orem.iserver.com To: Julian Elischer Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: OpenBSD's strlcpy(3) and strlcat(3) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 15 Jul 1999, Julian Elischer wrote: > There was a talk on these (strlcpy(3) and strlcat(3)) at USENIX. > The logic as to their design was presented and I agree totally with > the way that the logic was played out into the functions. > > They are described in the FreeNIX proceedings on page 175. > I feel they make a lot more sense that teh present version sand we should > support OpenBSD's application to Posix to make them standard. Yes, this discussion started out on freebsd-security and when I first wrote about it, I mentioned the paper at USENIX by Todd Miller and Theo de Raadt. It was later mentioned that the paper and accompanying slides are available at: http://www.openbsd.org/papers/strlcpy-paper.ps http://www.openbsd.org/papers/strlcpy-slides.ps I think each function is well thought out and I think they'd be a great addition to FreeBSD. Paul Hart -- Paul Robert Hart ><8> ><8> ><8> Verio Web Hosting, Inc. hart@iserver.com ><8> ><8> ><8> http://www.iserver.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message