From 27d31a5d43fb986d5305298ce03c3d396c210eab Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sun, 16 Apr 2000 20:28:42 +0000 Subject: [PATCH] Removed permission checks in create_key and delete_key. It seems Windows doesn't check anything. --- server/registry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/registry.c b/server/registry.c index 308046838cb..2ad6a152aec 100644 --- a/server/registry.c +++ b/server/registry.c @@ -1509,7 +1509,7 @@ DECL_HANDLER(create_key) if (access & MAXIMUM_ALLOWED) access = KEY_ALL_ACCESS; /* FIXME: needs general solution */ req->hkey = -1; - if ((parent = get_hkey_obj( req->parent, KEY_CREATE_SUB_KEY ))) + if ((parent = get_hkey_obj( req->parent, 0 /*FIXME*/ ))) { if ((class = req_strdupW( req, req->class ))) { @@ -1549,7 +1549,7 @@ DECL_HANDLER(delete_key) { struct key *key; - if ((key = get_hkey_obj( req->hkey, KEY_CREATE_SUB_KEY /*FIXME*/ ))) + if ((key = get_hkey_obj( req->hkey, 0 /*FIXME*/ ))) { delete_key( key, req->name, sizeof(req->name) ); release_object( key ); -- 2.11.4.GIT