Cygwin: Revert attempting to unload user profile after use
Revert "Cywin: user profile: unload impersonation user profile on exit" Revert "Cygwin: seteuid: allow inheriting impersonation user profile handle" Revert "Cygwin: user profile: add debug output to unload_user_profile" Revert "Cygwin: user profile: Make an effort to unload unused user profiles" This reverts commitbcb33dc4f0
. This reverts commitdd3730ed9c
. This reverts commit8eee25241e
. This reverts commit71b8777a71
. This patchset actually results in the following problem: - After a couple of ssh logon/logoff attempts, an interactive session of the same user loging in, is broken. Apparently UnloadUserProfile manages to unload the user's profile even while a parallel interactive session still uses the user's profile. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@@ -699,7 +699,6 @@ LoadDLLfuncEx (CreateEnvironmentBlock, 12, userenv, 1)
|
||||
LoadDLLfuncEx2 (CreateProfile, 16, userenv, 1, 1)
|
||||
LoadDLLfunc (DestroyEnvironmentBlock, 4, userenv)
|
||||
LoadDLLfunc (LoadUserProfileW, 8, userenv)
|
||||
LoadDLLfunc (UnloadUserProfile, 8, userenv)
|
||||
|
||||
LoadDLLfuncEx3 (waveInAddBuffer, 12, winmm, 1, 0, 1)
|
||||
LoadDLLfuncEx3 (waveInClose, 4, winmm, 1, 0, 1)
|
||||
|
Reference in New Issue
Block a user