Commit 27d31a5d authored by Alexandre Julliard's avatar Alexandre Julliard

Removed permission checks in create_key and delete_key. It seems

Windows doesn't check anything.
parent c775e1ec
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment