summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-04-13 12:14:59 +0000
committerCorinna Vinschen <corinna@vinschen.de>2004-04-13 12:14:59 +0000
commit71ffba498c27887a8bf58c01a8d3d1ce82a76792 (patch)
treef091e8373e7d70907f658f513b7a843c3b9646c9 /winsup/cygwin/autoload.cc
parent7e044afdafa7a37c0c065bb819af0acaf1a7bea1 (diff)
downloadcygnal-71ffba498c27887a8bf58c01a8d3d1ce82a76792.tar.gz
cygnal-71ffba498c27887a8bf58c01a8d3d1ce82a76792.tar.bz2
cygnal-71ffba498c27887a8bf58c01a8d3d1ce82a76792.zip
* autoload.cc (NtQuerySecurityObject): Add.
* ntdll.h (STATUS_BUFFER_TOO_SMALL): Add definition. (NtQuerySecurityObject): Add declaration. * security.cc (get_nt_object_attribute): Always use NtQuerySecurityObject to retrieve security descriptor.
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 d64674c0a..c8916fe2b 100644
--- a/winsup/cygwin/autoload.cc
+++ b/winsup/cygwin/autoload.cc
@@ -392,6 +392,7 @@ LoadDLLfuncEx (NtQueryInformationFile, 20, ntdll, 1)
LoadDLLfuncEx (NtQueryInformationProcess, 20, ntdll, 1)
LoadDLLfuncEx2 (NtQueryObject, 20, ntdll, 1, 1)
LoadDLLfuncEx (NtQuerySystemInformation, 16, ntdll, 1)
+LoadDLLfuncEx (NtQuerySecurityObject, 20, ntdll, 1)
LoadDLLfuncEx (NtQueryVirtualMemory, 24, ntdll, 1)
LoadDLLfuncEx (NtUnmapViewOfSection, 8, ntdll, 1)
LoadDLLfuncEx (RtlInitUnicodeString, 8, ntdll, 1)