Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2002 16:18:53 -0700 (PDT)
From:      Doug Barton <DougB@FreeBSD.org>
To:        Brian Behlendorf <brian@hyperreal.org>
Cc:        Robert Watson <rwatson@FreeBSD.org>, <freebsd-security@FreeBSD.org>
Subject:   Re: FreeBSD Security Advisory FreeBSD-SA-02:28.resolv
Message-ID:  <20020626161125.C42164-100000@master.gorean.org>
In-Reply-To: <20020626152851.Q310-100000@yez.hyperreal.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 Jun 2002, Brian Behlendorf wrote:

> Sorry for the newbie question here, but is there a way to
> programmatically determine which binaries on a system static-linked
> libc?  I tried "nm" but that needs non-stripped executables...

ldd /usr/local/bin/bash
ldd: /usr/local/bin/bash: not a dynamic executable

file /usr/local/bin/bash
/usr/local/bin/bash: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), statically linked, stripped

HTH,

Doug
-- 
   "We have known freedom's price. We have shown freedom's power.
      And in this great conflict, ...  we will see freedom's victory."
	- George W. Bush, President of the United States
          State of the Union, January 28, 2002

         Do YOU Yahoo!?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




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