server: Don't do access checks on the security descriptors of newly created objects.
diff --git a/server/handle.c b/server/handle.c
index 30facbe..9b14810 100644
--- a/server/handle.c
+++ b/server/handle.c
@@ -226,7 +226,7 @@
 
 /* allocate a handle for an object, incrementing its refcount */
 /* return the handle, or 0 on error */
-static obj_handle_t alloc_handle_no_access_check( struct process *process, void *ptr, unsigned int access, unsigned int attr )
+obj_handle_t alloc_handle_no_access_check( struct process *process, void *ptr, unsigned int access, unsigned int attr )
 {
     struct object *obj = ptr;