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

This commit is contained in:
Alexandre Julliard 2007-12-20 16:43:31 +01:00
parent ffbeae78f7
commit 11750af329

View file

@ -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)