Robert Shearman : server:
Threads should start off without having an impersonation token.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri May 5 12:10:15 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: b02e6b0926a6b396daf4ceed81d82655249d970c
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b02e6b0926a6b396daf4ceed81d82655249d970c
Author: Robert Shearman <rob at codeweavers.com>
Date: Wed Apr 26 15:42:35 2006 +0100
server: Threads should start off without having an impersonation token.
---
server/thread.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/server/thread.c b/server/thread.c
index a3a3572..a3ba2ae 100644
--- a/server/thread.c
+++ b/server/thread.c
@@ -147,6 +147,7 @@ inline static void init_thread_structure
thread->creation_time = time(NULL);
thread->exit_time = 0;
thread->desktop_users = 0;
+ thread->token = NULL;
list_init( &thread->mutex_list );
list_init( &thread->system_apc );
@@ -188,8 +189,6 @@ struct thread *create_thread( int fd, st
return NULL;
}
- thread->token = (struct token *) grab_object( process->token );
-
set_fd_events( thread->request_fd, POLLIN ); /* start listening to events */
add_process_thread( thread->process, thread );
return thread;
More information about the wine-cvs
mailing list