This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: mismatched dll
- From: "Williams, Gerald S \(Jerry\)" <gsw at agere dot com>
- To: <cygwin-talk at cygwin dot com>
- Date: Fri, 3 Feb 2006 10:26:51 -0500
- Subject: Re: mismatched dll
- Reply-to: The Cygwin-Talk Malingering List <cygwin-talk at cygwin dot com>
Brian Dessent wrote:
> The CBCP installer plays nice, notices that the user has
> Cygwin installed with the most recent DLL, so it does not
> install its own copy. Everyone is happy. But then say
> six months later the under removes Cygwin [...]
This looks like a job for reference counters. All we need
to do is have Cygwin keep track of who's referring to it
and delete itself when the last one's gone.
We can implement it as a rootkit that intercepts attempts
to add or delete executables or DLLs. Then if you add an
executable that depends on Cygwin, it can automatically
grab the latest version off of the nearest mirror. And if
you delete the last file that depends on cygwin1.dll, it
can pop up the following message:
"Warning, Cygwin deleted. Should I reformat and
install Linux?"
Anything is possible with software, right?
gsw
P.S. Of course this rootkit would disable any antivirus
known to conflict with Cygwin, just to be safe. :-)