summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_disk_file.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-10-22 14:57:43 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-10-22 14:57:43 +0000
commit2be593d961e3ccd21a7a19b5a0b716e43d0137dc (patch)
treef0a707df944d7f8ef6c067627209d99dc9ad7907 /winsup/cygwin/fhandler_disk_file.cc
parent2b26c2fc410ad29dbc2e906e98845c06db79e726 (diff)
downloadcygnal-2be593d961e3ccd21a7a19b5a0b716e43d0137dc.tar.gz
cygnal-2be593d961e3ccd21a7a19b5a0b716e43d0137dc.tar.bz2
cygnal-2be593d961e3ccd21a7a19b5a0b716e43d0137dc.zip
* external.cc (cygwin_internal): Use security_descriptor::copy method.
* sec_helper.cc (security_descriptor::malloc): Use own free method. Set type. (security_descriptor::realloc): Handle the case that psd has been allocated using LocalAlloc. Set type. (security_descriptor::free): Ditto. * security.cc (get_nt_attribute): Remove. (get_reg_security): Remove. (get_nt_object_security): Use GetSecurityInfo which handles all securable objects. (get_nt_object_attribute): Remove. (get_object_attribute): Call get_nt_object_security instead of get_nt_object_attribute. (get_file_attribute): Ditto. (check_registry_access): Call get_nt_object_security instead of get_reg_security. * security.h (cygpsid::operator PSID): Make method const, not the result. (class security_descriptor): Add type member. Accomodate throughout. (security_descriptor::copy): New method. (security_descriptor::operator PSECURITY_DESCRIPTOR *): New operator.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
0 files changed, 0 insertions, 0 deletions