Make _SHGetUserSecurityDescriptor static in the Default Folder ACLs patch.

This commit is contained in:
Erich E. Hoover 2014-10-09 11:54:58 -06:00
parent 414b6059ba
commit 18657270f8

View File

@ -1,4 +1,4 @@
From 26e587fc7479bfc516d95dacba0a3597790ec6f7 Mon Sep 17 00:00:00 2001
From 2da338393244264d5a5e872b0dd0198cd32e501c Mon Sep 17 00:00:00 2001
From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
Date: Tue, 25 Feb 2014 10:44:36 -0700
Subject: shell32: Set the default security attributes for user shell folders.
@ -8,7 +8,7 @@ Subject: shell32: Set the default security attributes for user shell folders.
1 file changed, 100 insertions(+), 1 deletion(-)
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index f92d56e..0c0f607 100644
index f92d56e..ef83065 100644
--- a/dlls/shell32/shellpath.c
+++ b/dlls/shell32/shellpath.c
@@ -2200,6 +2200,85 @@ cleanup:
@ -65,7 +65,7 @@ index f92d56e..0c0f607 100644
+ return ret;
+}
+
+PSECURITY_DESCRIPTOR _SHGetUserSecurityDescriptor( void )
+static PSECURITY_DESCRIPTOR _SHGetUserSecurityDescriptor( void )
+{
+ PACL dacl = HeapAlloc(GetProcessHeap(), 0, 100);
+ PSECURITY_DESCRIPTOR sd = NULL, ret = NULL;