From owner-svn-src-all@FreeBSD.ORG Mon Dec 7 12:40:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A782F1065672; Mon, 7 Dec 2009 12:40:00 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 661198FC08; Mon, 7 Dec 2009 12:40:00 +0000 (UTC) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 3C0617EA21; Mon, 7 Dec 2009 12:39:59 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id nB7CeN0H042579; Mon, 7 Dec 2009 12:40:23 GMT (envelope-from phk@critter.freebsd.dk) To: Luigi Rizzo From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 07 Dec 2009 13:22:56 +0100." <20091207122256.GC64431@onelab2.iet.unipi.it> Date: Mon, 07 Dec 2009 12:40:23 +0000 Message-ID: <42578.1260189623@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: Ed Schouten , src-committers@freebsd.org, Hajimu UMEMOTO , svn-src-all@freebsd.org, svn-src-head@freebsd.org, Dag-Erling Sm??rgrav Subject: Re: the need for safe dynamic string libraries (was Re: svn commit: r200157 - head/bin/date) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2009 12:40:00 -0000 In message <20091207122256.GC64431@onelab2.iet.unipi.it>, Luigi Rizzo writes: >right, then some other commonly used but not locked-by-standards place. >libutil? libbsdstuffnotstandardizedbyposix ? I would be very happy to see a libposux, even more so, if the content were standardized across Linux and FreeBSD. >Again my point (perhaps lost in the initial thread) was that the number >of one-file libraries used in our base code is increasing: > libsbuf, libjail, libbsdxml... >to me, individual files are library members, there is no need to >dedicate an entire library to a library member Remember that shared libraries, you load all or nothing. With old fashioned .a libs, you cherrypicked the bits you needed. It can be argued that we should just dump everything in libc, but first, that would impair portability from FreeBSD, and second, it would be just plain sloppy... Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.