server: Make alloc_handle use attributes instead of inherit flag.
diff --git a/server/timer.c b/server/timer.c
index 436ed7c..395bbda 100644
--- a/server/timer.c
+++ b/server/timer.c
@@ -218,8 +218,7 @@
if ((timer = create_timer( root, &name, req->attributes, req->manual )))
{
- reply->handle = alloc_handle( current->process, timer, req->access,
- req->attributes & OBJ_INHERIT );
+ reply->handle = alloc_handle( current->process, timer, req->access, req->attributes );
release_object( timer );
}
@@ -239,8 +238,7 @@
if ((timer = open_object_dir( root, &name, req->attributes, &timer_ops )))
{
- reply->handle = alloc_handle( current->process, &timer->obj, req->access,
- req->attributes & OBJ_INHERIT );
+ reply->handle = alloc_handle( current->process, &timer->obj, req->access, req->attributes );
release_object( timer );
}