From owner-freebsd-security Wed Apr 22 16:10:28 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA27747 for freebsd-security-outgoing; Wed, 22 Apr 1998 16:10:28 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from echonyc.com (echonyc.com [198.67.15.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA27656; Wed, 22 Apr 1998 23:10:12 GMT (envelope-from benedict@echonyc.com) Received: from localhost (benedict@localhost) by echonyc.com (8.8.7/8.8.7) with SMTP id TAA01891; Wed, 22 Apr 1998 19:10:11 -0400 (EDT) Date: Wed, 22 Apr 1998 19:10:10 -0400 (EDT) From: Snob Art Genre To: "John S. Dyson" cc: freebsd-security@FreeBSD.ORG Subject: Re: Static vs. dynamic linking (was Re: Using MD5 insted of DES ...) In-Reply-To: <199804222301.SAA06796@dyson.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk On Wed, 22 Apr 1998, John S. Dyson wrote: > Because I don't mess with the ports, and haven't done a very good > job of making the above fact known. For maintenence, memory and > speed reasons, one can seldom justify a shared shell. I wouldn't mind forwarding this exchange to the various ports maintainers, if that's okay with you. > My suggestions for programs that should probably not be linked shared > under any circumstances: > Make, cp, cat, ls, *sh, cc, daemons that fork, .... > mail readers, any (small) program invoked by make, or > repeatedly invoked by shell scripts. If the shared > libs are on /usr, any program that needs to be > able to work without /usr mounted. Gweep. Inetd is dynamically linked. So are fingerd and ftpd. Again, would you have any objection to my contacting the various maintainers, and referring them to you if they have questions I can't answer? Or would it be better if I pointed them to freebsd-hackers? > Programs where it is likely slightly advantageous to link shared: > cc1, cc1plus, cpp, as, *roff, daemons that don't > fork often, any X windows program (including those in any > category), specialty programs that aren't used often... So my window manager should be linked shared, even though I believe it forks quite a bit? Thanks for all this info, this has been enlightening, to say the least. Ben "You have your mind on computers, it seems." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe security" in the body of the message