From owner-freebsd-bugs Fri Sep 20 06:32:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA01316 for bugs-outgoing; Fri, 20 Sep 1996 06:32:05 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id GAA01271 for ; Fri, 20 Sep 1996 06:32:02 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.7.6/8.6.9) id XAA17325; Fri, 20 Sep 1996 23:27:13 +1000 Date: Fri, 20 Sep 1996 23:27:13 +1000 From: Bruce Evans Message-Id: <199609201327.XAA17325@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@critter.tfs.com Subject: Re: bin/1643: Support for NetBSD in bsd.port.mk Cc: asami@FreeBSD.org, freebsd-bugs@freefall.freebsd.org Sender: owner-bugs@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >>might not have /sbin in $PATH. md5 is in /sbin because it might be useful >>for checking security before mounting /usr. I don't like having absolute >>paths anywhere in the build. > >And because we don't want it to be compromised by a bogus shared library. No, the `s' in `sbin' stands for `system', not for `static'. md5 could be linked static wherever it is installed. My md5 is linked shared anyway: md5: -lc.3 => /lib/libc.so.3.0 (0x801b000) and libc is slightly harder to compromise than md5: -r--r--r-- 1 bin bin schg 401142 Sep 20 16:02 /lib/libc.so.3.0 -r-xr-xr-x 1 bin bin - 12288 Jul 30 03:34 /sbin/md5 ^^^^ Bruce