Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 1996 00:35:48 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@spinner.DIALix.COM, sos@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: WARNING: botched ld.so commit! :-(
Message-ID:  <199610011435.AAA32208@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Damn, where is that pointy hat, damn who had it last ?? :) :)
>
>Yeah, especially considering the only two tools that can easily fix it are 
>dynamically linked :-(  (chflags and install).

Actually, chflags is linked static (except my version of course).

>Oh, another thought.. from a root login:
># /bin/mv /usr/libexec /usr/libexec.fubar
># /bin/mkdir /usr/libexec
># /bin/cp /whereever/ld.so /usr/libexec
># chflags noschg /usr/libexec.fubar/ld.so
># cp /wherever/ld.so /usr/libexec.fubar
># mv /usr/libexec /usr/libexec.fresh
># mv /usr/libexec.fubar /usr/libexec

This shows that the chflags on ld.so is mainly to [prevent] shoot[ing]
yourself in the foot.  It doesn't improve security.

Bruce



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