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:
@@ -239,6 +239,8 @@ uinfo_init ()
|
||||
cygheap->user.internal_token = NO_IMPERSONATION;
|
||||
cygheap->user.curr_primary_token = NO_IMPERSONATION;
|
||||
cygheap->user.curr_imp_token = NO_IMPERSONATION;
|
||||
cygheap->user.imp_profile_token = NO_IMPERSONATION;
|
||||
cygheap->user.imp_profile = NULL;
|
||||
cygheap->user.ext_token_is_restricted = false;
|
||||
cygheap->user.curr_token_is_restricted = false;
|
||||
cygheap->user.setuid_to_restricted = false;
|
||||
|
Reference in New Issue
Block a user