Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 1996 23:27:13 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, phk@critter.tfs.com
Cc:        asami@FreeBSD.org, freebsd-bugs@freefall.freebsd.org
Subject:   Re: bin/1643: Support for NetBSD in bsd.port.mk
Message-ID:  <199609201327.XAA17325@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609201327.XAA17325>