Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2003 12:18:00 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        Chris Howells <lists@chrishowells.co.uk>
Cc:        security@freebsd.org
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-03:08.realpath
Message-ID:  <20030804091800.GN349@straylight.oblivion.bg>
In-Reply-To: <200308041010.52904.lists@chrishowells.co.uk>
References:  <5.0.2.1.1.20030804004417.02bcc920@popserver.sfu.ca> <200308041010.52904.lists@chrishowells.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--SkvwRMAIpAhPCcCJ
Content-Type: text/plain; charset=windows-1251
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 04, 2003 at 10:10:52AM +0100, Chris Howells wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi,
>=20
> On Monday 04 August 2003 08:54, Colin Percival wrote:
> > =A0 =A0Affected applications which were statically linked to the vulner=
able
> > code would still need to be recompiled.
>=20
> I'm just trying to work out which applications on my system are statically
> linked or not. Is using ldd the best (well, quickest I suppose) way?:
>=20
> su-2.05b# ldd `which nfsd`
> ldd: /sbin/nfsd: not a dynamic executable

file(1) might be quicker:

[roam@straylight ~]> file /sbin/nfsd
/sbin/nfsd: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), fo=
r FreeBSD 4.8, statically linked, stripped
[roam@straylight ~]> file /usr/bin/file
/usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD),=
 for FreeBSD 4.8, dynamically linked (uses shared libs), stripped

G'luck,
Peter

--=20
Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
If you think this sentence is confusing, then change one pig.

--SkvwRMAIpAhPCcCJ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/LiTI7Ri2jRYZRVMRAgMsAJ492Io2lpYN7xWYvl/Ou0mIf60YSQCfefIC
mWwbOAa1ZWtuo8+faeB/qaI=
=PSJt
-----END PGP SIGNATURE-----

--SkvwRMAIpAhPCcCJ--



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