Rob Shearman : server:
A general solution for handling MAXIMUM_ALLOWED access right has been
implemented so remove the workarounds .
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Mar 6 16:13:21 CST 2007
Module: wine
Branch: master
Commit: 221e01abd2584d5e40c4b1b3a6c198a377f960c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=221e01abd2584d5e40c4b1b3a6c198a377f960c8
Author: Rob Shearman <rob at codeweavers.com>
Date: Tue Mar 6 17:57:10 2007 +0000
server: A general solution for handling MAXIMUM_ALLOWED access right has been implemented so remove the workarounds.
---
server/registry.c | 2 --
server/token.c | 1 -
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/server/registry.c b/server/registry.c
index ce15503..531bf97 100644
--- a/server/registry.c
+++ b/server/registry.c
@@ -1713,7 +1713,6 @@ DECL_HANDLER(create_key)
struct unicode_str name, class;
unsigned int access = req->access;
- if (access & MAXIMUM_ALLOWED) access = KEY_ALL_ACCESS; /* FIXME: needs general solution */
reply->hkey = 0;
if (req->namelen > get_req_data_size())
@@ -1752,7 +1751,6 @@ DECL_HANDLER(open_key)
struct unicode_str name;
unsigned int access = req->access;
- if (access & MAXIMUM_ALLOWED) access = KEY_ALL_ACCESS; /* FIXME: needs general solution */
reply->hkey = 0;
/* NOTE: no access rights are required to open the parent key, only the child key */
if ((parent = get_parent_hkey_obj( req->parent )))
diff --git a/server/token.c b/server/token.c
index 573634b..278b6d1 100644
--- a/server/token.c
+++ b/server/token.c
@@ -1208,7 +1208,6 @@ DECL_HANDLER(duplicate_token)
privilege_add( token, &privilege->luid, privilege->enabled );
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);
release_object( token );
}
More information about the wine-cvs
mailing list