summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-04-22 22:12:12 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-04-22 22:12:12 +0000
commitb26524525620c27922940418610826a6b5a9bcb1 (patch)
treea8c5cc64ee168020ad642aaea5baa951a2e8fa88
parent96dc5dd7e594df1a835f3303e9fee5f5a8c78206 (diff)
downloadcygnal-b26524525620c27922940418610826a6b5a9bcb1.tar.gz
cygnal-b26524525620c27922940418610826a6b5a9bcb1.tar.bz2
cygnal-b26524525620c27922940418610826a6b5a9bcb1.zip
* security.cc (alloc_sd): Reformat comment.
* shared.cc: Drop function declarations already in security.h.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/security.cc8
-rw-r--r--winsup/cygwin/shared.cc4
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)
{