Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 11:38:29 +0300
From:      Peter Pentchev <roam@ringlet.net>
To:        patpro <patpro@patpro.net>
Cc:        freebsd-security@freebsd.org
Subject:   Re: weird problem with chkrootkit and checksums
Message-ID:  <20030827083828.GI623@straylight.oblivion.bg>
In-Reply-To: <BB723102.31F4%patpro@patpro.net>
References:  <20030824.232734.8f68bd1f152d203f.10.0.3.9@bugsgrief.net> <BB723102.31F4%patpro@patpro.net>

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

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

On Wed, Aug 27, 2003 at 09:57:22AM +0200, patpro wrote:
> > % file /bin/ls
> > /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), f=
or
> > FreeBSD 4.8, statically linked, stripped
> > % file /usr/obj/usr/src/bin/ls/ls
> > /usr/obj/usr/src/bin/ls/ls: ELF 32-bit LSB executable, Intel 80386, ver=
sion 1
> > (FreeBSD), for FreeBSD 4.8, statically linked, not stripped
>=20
>=20
> ok thanx, so the "make installworld" does not only copy binaries to their
> destination ?

'make installworld' uses the install(1) program to copy files cleanly
(including overwriting files in use, copying files across filesystems,
preserving or modifying ownership and permissions as necessary).
For programs, 'make installworld' uses the -s flag to install(1) to
strip the debugging information, unless you have not explicitly told
it not to by setting the STRIP variable to an empty value:

# make STRIP=3D'' installworld

=2E.or a bit simpler although error-prone if you're not used to it:

# make STRIP=3D installworld

(note the space after 'STRIP=3D')

Thus, yes, 'make installworld' may modify executable files during
the installation.

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
This sentence was in the past tense.

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

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

iD8DBQE/TG4E7Ri2jRYZRVMRAszpAJ0UDJ5gQ1aHhyMvcGU6FU099aQQywCeLNcN
avt4MW9PQUENPkGA06dgDbg=
=xERZ
-----END PGP SIGNATURE-----

--CGDBiGfvSTbxKZlW--



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