public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* Re: mismatched dll
@ 2006-02-03 15:27 Williams, Gerald S (Jerry)
  0 siblings, 0 replies; 3+ messages in thread
From: Williams, Gerald S (Jerry) @ 2006-02-03 15:27 UTC (permalink / raw)
  To: cygwin-talk

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. :-)

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <020220062158.387.43E28079000ACE870000018322007507440A050E040D0C079D0A@comcast.net>]

end of thread, other threads:[~2006-02-03 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-03 15:27 mismatched dll Williams, Gerald S (Jerry)
     [not found] <020220062158.387.43E28079000ACE870000018322007507440A050E040D0C079D0A@comcast.net>
     [not found] ` <20060203013712.GC17485@brasko.net>
     [not found]   ` <20060203013842.GB7678@trixie.casa.cgf.cx>
     [not found]     ` <20060203014352.GD17485@brasko.net>
2006-02-03  3:35       ` Yitzchak Scott-Thoennes
2006-02-03  5:22         ` Igor Peshansky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).