Alexandre Julliard : server: Don' t give out full access to the system process event.

Alexandre Julliard julliard at winehq.org
Fri Dec 21 07:28:24 CST 2007


Module: wine
Branch: master
Commit: 11750af32961f69da96cc04712f71cb4fc285383
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=11750af32961f69da96cc04712f71cb4fc285383

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Dec 20 16:43:31 2007 +0100

server: Don't give out full access to the system process event.

---

 server/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/server/process.c b/server/process.c
index 23a4ec0..a78eac4 100644
--- a/server/process.c
+++ b/server/process.c
@@ -1185,7 +1185,7 @@ DECL_HANDLER(make_process_system)
         make_object_static( (struct object *)user_process_event );
     }
 
-    if (!(reply->event = alloc_handle( current->process, user_process_event, EVENT_ALL_ACCESS, 0 )))
+    if (!(reply->event = alloc_handle( current->process, user_process_event, SYNCHRONIZE, 0 )))
         return;
 
     if (!process->is_system)




More information about the wine-cvs mailing list