aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-27 09:40:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-27 09:40:25 +0000
commit98b36ec8eded5c0aa1a179b12e9ee69d0ec0fdda (patch)
tree9d4f530508c81f3c98b2a6e240143ee162ce1799 /winsup/cygwin/autoload.cc
parent2f4be7367ec358897546ec8b5972163b5d7cb816 (diff)
downloadnewlib-98b36ec8eded5c0aa1a179b12e9ee69d0ec0fdda.zip
newlib-98b36ec8eded5c0aa1a179b12e9ee69d0ec0fdda.tar.gz
newlib-98b36ec8eded5c0aa1a179b12e9ee69d0ec0fdda.tar.bz2
* autoload.cc: added RegGetKeySecurity()
* security.cc (get_nt_object_attribute): use RegGetKeySecurity() for performance.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
-rw-r--r--winsup/cygwin/autoload.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc
index 16491e0..59d8469 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -375,6 +375,7 @@ LoadDLLfunc (SetSecurityDescriptorDacl, 16, advapi32)
LoadDLLfunc (SetSecurityDescriptorGroup, 12, advapi32)
LoadDLLfunc (SetSecurityDescriptorOwner, 12, advapi32)
LoadDLLfunc (SetTokenInformation, 16, advapi32)
+LoadDLLfunc (RegGetKeySecurity, 16, advapi32)
LoadDLLfunc (NetApiBufferFree, 4, netapi32)
LoadDLLfuncEx (NetGetDCName, 12, netapi32, 1)