* security.cc (get_file_sd): Fix comment.

This commit is contained in:
Corinna Vinschen 2011-07-05 15:42:43 +00:00
parent 8c1f7cf707
commit 3fe31f2633
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-07-05 Corinna Vinschen <corinna@vinschen.de>
* security.cc (get_file_sd): Fix comment.
2011-07-05 Corinna Vinschen <corinna@vinschen.de> 2011-07-05 Corinna Vinschen <corinna@vinschen.de>
* fhandler.cc (fhandler_base::open): Never create files with WRITE_DAC * fhandler.cc (fhandler_base::open): Never create files with WRITE_DAC

View File

@ -117,7 +117,7 @@ get_file_sd (HANDLE fh, path_conv &pc, security_descriptor &sd,
directories' SD used NtQuerySecurityObject, rather than GetSecurityInfo directories' SD used NtQuerySecurityObject, rather than GetSecurityInfo
as well. See http://cygwin.com/ml/cygwin-developers/2011-03/msg00027.html as well. See http://cygwin.com/ml/cygwin-developers/2011-03/msg00027.html
for the solution. This problem does not occur with the below code, so for the solution. This problem does not occur with the below code, so
the workaround could be removed. */ the workaround has been removed. */
if (justcreated) if (justcreated)
{ {
SECURITY_DESCRIPTOR_CONTROL ctrl; SECURITY_DESCRIPTOR_CONTROL ctrl;