diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-04-28 15:54:47 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-04-28 15:54:47 +0000 |
commit | fd04c2f0045e1488274528063a5caa5db5fe23dd (patch) | |
tree | 8ece2a8d01146dcc2f5b84a9e7805a7138c95caa /winsup/cygwin/advapi32.cc | |
parent | 206a6ee9c811164526d05ac52717a114ff1050c2 (diff) | |
download | cygnal-fd04c2f0045e1488274528063a5caa5db5fe23dd.tar.gz cygnal-fd04c2f0045e1488274528063a5caa5db5fe23dd.tar.bz2 cygnal-fd04c2f0045e1488274528063a5caa5db5fe23dd.zip |
* advapi32.cc (SetSecurityDescriptorDacl): Remove.
(SetSecurityDescriptorGroup): Remove.
(SetSecurityDescriptorOwner): Remove.
* pinfo.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_acl.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.
* sec_helper.cc (__sec_user): Remove old comment.
Diffstat (limited to 'winsup/cygwin/advapi32.cc')
-rw-r--r-- | winsup/cygwin/advapi32.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/winsup/cygwin/advapi32.cc b/winsup/cygwin/advapi32.cc index 7721ee884..e8c238055 100644 --- a/winsup/cygwin/advapi32.cc +++ b/winsup/cygwin/advapi32.cc @@ -76,29 +76,6 @@ MakeSelfRelativeSD (PSECURITY_DESCRIPTOR abs_sd, PSECURITY_DESCRIPTOR rel_sd, } BOOL WINAPI -SetSecurityDescriptorDacl (PSECURITY_DESCRIPTOR sd, BOOL present, PACL dacl, - BOOL def) -{ - NTSTATUS status = RtlSetDaclSecurityDescriptor (sd, (BOOLEAN) !!present, dacl, - (BOOLEAN) !!def); - DEFAULT_NTSTATUS_TO_BOOL_RETURN -} - -BOOL WINAPI -SetSecurityDescriptorGroup (PSECURITY_DESCRIPTOR sd, PSID sid, BOOL def) -{ - NTSTATUS status = RtlSetGroupSecurityDescriptor (sd, sid, (BOOLEAN) !!def); - DEFAULT_NTSTATUS_TO_BOOL_RETURN -} - -BOOL WINAPI -SetSecurityDescriptorOwner (PSECURITY_DESCRIPTOR sd, PSID sid, BOOL def) -{ - NTSTATUS status = RtlSetOwnerSecurityDescriptor (sd, sid, (BOOLEAN) !!def); - DEFAULT_NTSTATUS_TO_BOOL_RETURN -} - -BOOL WINAPI OpenThreadToken (HANDLE thread, DWORD access, BOOL as_self, PHANDLE tok) { NTSTATUS status = NtOpenThreadToken (thread, access, as_self, tok); |