From b26524525620c27922940418610826a6b5a9bcb1 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sun, 22 Apr 2001 22:12:12 +0000 Subject: [PATCH] * security.cc (alloc_sd): Reformat comment. * shared.cc: Drop function declarations already in security.h. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/security.cc | 8 ++++---- 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 + + * security.cc (alloc_sd): Reformat comment. + * shared.cc: Drop function declarations already in security.h. + Sun Apr 22 12:17:57 2001 Christopher Faylor * 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) {