mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Updated RegSetKeySecurity patch to work with special root keys.
This commit is contained in:
parent
113b554090
commit
56264645ad
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -1,7 +1,8 @@
|
||||
wine-compholio (1.7.21) UNRELEASED; urgency=low
|
||||
* Added NT4 support to the process ACL tests.
|
||||
* Implement RegSetKeySecurity on top of NtSetSecurityObject.
|
||||
-- Erich E. Hoover <erich.e.hoover@gmail.com> Tue, 01 Jul 2014 19:25:52 -0600
|
||||
* Updated RegSetKeySecurity patch to work with special root keys.
|
||||
-- Erich E. Hoover <erich.e.hoover@gmail.com> Fri, 04 Jul 2014 10:14:42 -0600
|
||||
|
||||
wine-compholio (1.7.21) unstable; urgency=low
|
||||
* Remove several patches (accepted upstream).
|
||||
|
@ -1,7 +1,7 @@
|
||||
From f578524f71033b89cbb1fda1d3ac676f2d330ea6 Mon Sep 17 00:00:00 2001
|
||||
From 391dc884f7da99562b8816e70ef5aa99a1df5cba Mon Sep 17 00:00:00 2001
|
||||
From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|
||||
Date: Tue, 1 Jul 2014 19:23:30 -0600
|
||||
Subject: advapi: Implement RegSetKeySecurity on top of NtSetSecurityObject.
|
||||
Date: Fri, 4 Jul 2014 10:10:45 -0600
|
||||
Subject: advapi32: Implement RegSetKeySecurity on top of NtSetSecurityObject.
|
||||
|
||||
---
|
||||
dlls/advapi32/registry.c | 4 ++--
|
||||
@ -9,7 +9,7 @@ Subject: advapi: Implement RegSetKeySecurity on top of NtSetSecurityObject.
|
||||
2 files changed, 17 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
|
||||
index c7ba3ef..253e708 100644
|
||||
index c7ba3ef..f4a8d9b 100644
|
||||
--- a/dlls/advapi32/registry.c
|
||||
+++ b/dlls/advapi32/registry.c
|
||||
@@ -2469,9 +2469,9 @@ LSTATUS WINAPI RegSetKeySecurity( HKEY hkey, SECURITY_INFORMATION SecurityInfo,
|
||||
@ -17,7 +17,7 @@ index c7ba3ef..253e708 100644
|
||||
return ERROR_INVALID_PARAMETER;
|
||||
|
||||
- FIXME(":(%p,%d,%p): stub\n",hkey,SecurityInfo,pSecurityDesc);
|
||||
+ TRACE("(%p,%d,%p)\n",hkey,SecurityInfo,pSecurityDesc);
|
||||
+ if (!(hkey = get_special_root_hkey( hkey, 0 ))) return ERROR_INVALID_HANDLE;
|
||||
|
||||
- return ERROR_SUCCESS;
|
||||
+ return RtlNtStatusToDosError( NtSetSecurityObject( hkey, SecurityInfo, pSecurityDesc ) );
|
||||
|
Loading…
Reference in New Issue
Block a user