server: Make alloc_handle use attributes instead of inherit flag.
diff --git a/server/token.c b/server/token.c
index d10b9a1..3af7236 100644
--- a/server/token.c
+++ b/server/token.c
@@ -884,7 +884,7 @@
         {
             if (thread->token)
                 reply->token = alloc_handle( current->process, thread->token, req->access,
-                                             req->attributes & OBJ_INHERIT );
+                                             req->attributes );
             else
                 set_error(STATUS_NO_TOKEN);
             release_object( thread );
@@ -897,7 +897,7 @@
         {
             if (process->token)
                 reply->token = alloc_handle( current->process, process->token, req->access,
-                                             req->attributes & OBJ_INHERIT );
+                                             req->attributes );
             else
                 set_error(STATUS_NO_TOKEN);
             release_object( process );
@@ -1017,8 +1017,7 @@
 
             access = req->access;
             if (access & MAXIMUM_ALLOWED) access = TOKEN_ALL_ACCESS; /* FIXME: needs general solution */
-            reply->new_handle = alloc_handle( current->process, token, access,
-                                              req->attributes & OBJ_INHERIT);
+            reply->new_handle = alloc_handle( current->process, token, access, req->attributes);
             release_object( token );
         }
         release_object( src_token );