delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Sun, 29 Jun 2003 00:48:04 -0500 |
From: | micah AT mail DOT cs DOT swt DOT edu |
Message-Id: | <200306290548.h5T5m4ho005379@mail.cs.swt.edu> |
X-Authentication-Warning: | mail.cs.swt.edu: apache set sender to Micah Spears <micah AT mail DOT cs DOT swt DOT edu> using -f |
To: | cygwin AT cygwin DOT com |
Subject: | request: add hive unload functionality |
MIME-Version: | 1.0 |
after browsing the source, I gathered that whenever a new process is spawned(spawn.cc) the user's hive is loaded and linked to HKEY_CURRENT_USER. but, the user's hive is never unloaded i.e. whenever the last process running as that user terminates. so I humbly suggest adding an unload function to the registry like: void unload_registry_hive (PSID psid){ ... } then wait until the last process running as that user exits and then unload the hive. the reason for the request is I have a couple of programs that monitor user logon/logoffs. they work by monitoring the HKEY_USERS hive and with cygwin-sshd, the hives never unload even after I kill sshd... thanks, micah -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |