Date: Tue, 28 Dec 1999 22:02:02 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Brad Knowles <blk@skynet.be> Cc: chad@DCFinc.com, jedgar@fxp.org, mark@dogma.freebsd-uk.eu.org, stanb@netcom.com, freebsd-stable@FreeBSD.ORG Subject: Re: Huge differences in suid programs ? Message-ID: <19991228220202.C46546@strontium.scientia.demon.co.uk> In-Reply-To: <v04220812b48ea5a471de@[195.238.1.121]> References: <199912281721.KAA12868@freeway.dcfinc.com> <v04220812b48ea5a471de@[195.238.1.121]>
next in thread | previous in thread | raw e-mail | index | archive | help
Brad Knowles wrote: > At 10:21 AM -0700 1999/12/28, Chad R. Larson wrote: > >> The -C option to install causes install to make a temporary copy of the >> "new" file in the target directory, and then does a byte-by-byte compare >> with the "old" one. If they're different, it deletes the old and >> renames the new. > > Sigh. It can't do the comparison with the new file in it's > current location, then do the copy if they're different? That would > seem to be the intelligent thing to do. You mean compare /usr/obj/usr/src/bin/sh with /bin/sh (or whatever the path is)? I don't think that would work, since /usr/obj/... files aren't stripped, and the installed versions are. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991228220202.C46546>