Cygwin: user profile: Make an effort to unload unused user profiles
Does this work? There's not much feedback given. TODO: We might want to try unloading the user profile at process exit as well, FWIW. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -502,6 +502,7 @@ PWCHAR get_user_profile_directory (PCWSTR sidstr, PWCHAR path, SIZE_T path_len);
|
||||
|
||||
/* Load user profile if it's not already loaded. */
|
||||
HANDLE load_user_profile (HANDLE token, struct passwd *pw, cygpsid &sid);
|
||||
bool unload_user_profile (HANDLE token, HANDLE profile);
|
||||
|
||||
HANDLE lsa_open_policy (PWCHAR server, ACCESS_MASK access);
|
||||
void lsa_close_policy (HANDLE lsa);
|
||||
|
Reference in New Issue
Block a user