summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/autoload.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-04-11 09:38:07 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-04-11 09:38:07 +0000
commit2e23862a8a15f4d74fba9ef73d2dc2f84ea8347a (patch)
tree9a836ac9def09d58ec90e20aa036ba9cfadd3fdc /winsup/cygwin/autoload.cc
parent4cdc4de239ec04544a9e2adaba32e3e9ddb686b2 (diff)
downloadcygnal-2e23862a8a15f4d74fba9ef73d2dc2f84ea8347a.tar.gz
cygnal-2e23862a8a15f4d74fba9ef73d2dc2f84ea8347a.tar.bz2
cygnal-2e23862a8a15f4d74fba9ef73d2dc2f84ea8347a.zip
* security.cc (get_info_from_sd): New function.
(get_nt_attribute): Only call read_sd and get_info_from_sd. Return void. (get_file_attribute): Move sd error handling to get_info_from_sd. and symlink handling to fhandler_disk_file::fstat_helper. (get_nt_object_attribute): Only call read_sd and get_info_from_sd. Return void. (get_object_attribute): Remove symlink handling and simply return -1 when ntsec is off. * fhandler_disk_file.cc (fhandler_disk_file::fstat_helper): For symlinks set the attribute, call get_file_attribute to get the ids and return. In the normal case call get_file_attribute with the addresses of the buffer ids and do not recheck if the file is a socket.
Diffstat (limited to 'winsup/cygwin/autoload.cc')
0 files changed, 0 insertions, 0 deletions