aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-12-20 12:42:43 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-12-20 12:42:43 +0000
commitaa2b85cc90a41b143a62196af77736bad9b2da70 (patch)
tree4a45d14789a3eccf13747a58f410dae0223831a6 /winsup/cygwin/autoload.cc
parente625e1b99ec6b3edd58199937d3788f7c17aca98 (diff)
downloadnewlib-aa2b85cc90a41b143a62196af77736bad9b2da70.zip
newlib-aa2b85cc90a41b143a62196af77736bad9b2da70.tar.gz
newlib-aa2b85cc90a41b143a62196af77736bad9b2da70.tar.bz2
* autoload.cc: Add load statemant for SetSecurityDescriptorControl.
* security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on Win2K and higher.
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 77c3724..83081b7 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -228,6 +228,7 @@ LoadDLLfunc (RegisterEventSourceA, 8, advapi32)
LoadDLLfunc (ReportEventA, 36, advapi32)
LoadDLLfunc (RevertToSelf, 0, advapi32)
LoadDLLfunc (SetKernelObjectSecurity, 12, advapi32)
+LoadDLLfunc (SetSecurityDescriptorControl, 12, advapi32)
LoadDLLfunc (SetSecurityDescriptorDacl, 16, advapi32)
LoadDLLfunc (SetSecurityDescriptorGroup, 12, advapi32)
LoadDLLfunc (SetSecurityDescriptorOwner, 12, advapi32)