diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2004-04-13 12:14:59 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2004-04-13 12:14:59 +0000 |
commit | 71ffba498c27887a8bf58c01a8d3d1ce82a76792 (patch) | |
tree | f091e8373e7d70907f658f513b7a843c3b9646c9 /winsup/cygwin/ntdll.h | |
parent | 7e044afdafa7a37c0c065bb819af0acaf1a7bea1 (diff) | |
download | cygnal-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/ntdll.h')
-rw-r--r-- | winsup/cygwin/ntdll.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 33aa1296e..1548443e6 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -9,6 +9,7 @@ details. */ #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xc0000004) +#define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xc0000023) #define PDI_MODULES 0x01 #define PDI_HEAPS 0x04 #define LDRP_IMAGE_DLL 0x00000004 @@ -407,6 +408,8 @@ extern "C" ULONG, ULONG *); NTSTATUS NTAPI NtQuerySystemInformation (SYSTEM_INFORMATION_CLASS, PVOID, ULONG, PULONG); + NTSTATUS NTAPI NtQuerySecurityObject (HANDLE, SECURITY_INFORMATION, + PSECURITY_DESCRIPTOR, ULONG, PULONG); NTSTATUS NTAPI NtQueryVirtualMemory (HANDLE, PVOID, MEMORY_INFORMATION_CLASS, PVOID, ULONG, PULONG); NTSTATUS NTAPI NtUnmapViewOfSection (HANDLE, PVOID); |