diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/security.cc | 8 | ||||
-rw-r--r-- | winsup/cygwin/shared.cc | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 56e1b5d03..e961f8763 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 23 0:10:00 2001 Corinna Vinschen <corinna@vinschen.de> + + * security.cc (alloc_sd): Reformat comment. + * shared.cc: Drop function declarations already in security.h. + Sun Apr 22 12:17:57 2001 Christopher Faylor <cgf@cygnus.com> * shortcut.c (check_shortcut): Close input file handle before diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index 0a89b8dd6..33d466ef8 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -505,10 +505,10 @@ alloc_sd (uid_t uid, gid_t gid, const char *logsrv, int attribute, } /* - * We set the SE_DACL_PROTECTED flag here to prevent the DACL from being modified - * by inheritable ACEs. - * This flag as well as the SetSecurityDescriptorControl call are available only - * since Win2K. + * We set the SE_DACL_PROTECTED flag here to prevent the DACL from being + * modified by inheritable ACEs. + * This flag as well as the SetSecurityDescriptorControl call are available + * only since Win2K. */ static int win2KorHigher = -1; if (win2KorHigher == -1) diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index 1d8cf411b..b86d68bce 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -228,10 +228,6 @@ get_null_sd () return null_sdp; } -extern PSID get_admin_sid (); -extern PSID get_system_sid (); -extern PSID get_creator_owner_sid (); - PSECURITY_ATTRIBUTES __stdcall sec_user (PVOID sa_buf, PSID sid2, BOOL inherit) { |