Skip site navigation (1)Skip section navigation (2)
Date:      27 Jun 2002 09:34:39 +0200
From:      Jan Lentfer <Jan.Lentfer@web.de>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Klaus Steden <klaus@compt.com>, Roger Marquis <marquis@roble.com>, security@FreeBSD.ORG
Subject:   Re: Legacy Static Linking (was: Security Advisory FreeBSD-SA-02:28.resolv)
Message-ID:  <1025163280.2815.19.camel@jan-linux.lan>
In-Reply-To: <200206270715.g5R7Fqv9065615@apollo.backplane.com>
References:  <20020626183519.F36946-100000@roble.com> <20020627012510.X589@cthulu.compt.com>  <200206270715.g5R7Fqv9065615@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Am Don, 2002-06-27 um 09.15 schrieb Matthew Dillon:
>     Yes, our /bin and /sbin contain static-linked binaries.  Stuff in /usr
>     typically contains dynamically linked binaries.  The reasons are:




[...]
There are also quite a few statically linked binaries in /usr

bash-2.05# file /usr/bin/* | grep stati
/usr/bin/addr2line:    ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/ar:           ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/as:           ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/bunzip2:      ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/bzcat:        ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/bzip2:        ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/c++filt:      ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/cc:           ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/chflags:      ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/gasp:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/gcc:          ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/gdb:          ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/gunzip:       ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/gzcat:        ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/gzip:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/ld:           ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/make:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/nm:           ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/objcopy:      ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/objdump:      ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/objformat:    ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/ranlib:       ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/size:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/strings:      ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/strip:        ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/tar:          ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/bin/zcat:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
bash-2.05# file /usr/sbin/* | grep stati
/usr/sbin/pccardc:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped
/usr/sbin/pccardd:         ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), statically linked, stripped



So, what I did now I cvsup'ed my src (fom cvsup3.de) and made world. How can I make sure I got the fixed source from cvs?

Regards,

Jan


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?1025163280.2815.19.camel>