diff options
author | Christopher Faylor <me@cgf.cx> | 2012-08-17 03:34:45 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-08-17 03:34:45 +0400 |
commit | 46f5dd59581f3405e56a48f351ed97a0af0f70ef (patch) | |
tree | 4094a58649e103f8149c09446384bed059803d85 /winsup/cygwin/sec_helper.cc | |
parent | 00caa48b917d9c300c70403b3a9ea665a8f67d26 (diff) |
whitespace cleanup
Diffstat (limited to 'winsup/cygwin/sec_helper.cc')
-rw-r--r-- | winsup/cygwin/sec_helper.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc index 0b505a7e8..8ee979ba9 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -595,7 +595,7 @@ _recycler_sd (void *buf, bool users, bool dir) { NTSTATUS status; PISECURITY_DESCRIPTOR psd = (PISECURITY_DESCRIPTOR) buf; - + if (!psd) return NULL; RtlCreateSecurityDescriptor (psd, SECURITY_DESCRIPTOR_REVISION); @@ -614,7 +614,7 @@ _recycler_sd (void *buf, bool users, bool dir) dir ? CONTAINER_INHERIT_ACE | OBJECT_INHERIT_ACE : NO_INHERITANCE, FILE_ALL_ACCESS, well_known_system_sid); - if (users) + if (users) RtlAddAccessAllowedAceEx (dacl, ACL_REVISION, NO_PROPAGATE_INHERIT_ACE, FILE_GENERIC_READ | FILE_GENERIC_EXECUTE | FILE_APPEND_DATA | FILE_WRITE_ATTRIBUTES, |