4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-22 00:38:06 +08:00

* security.cc (alloc_sd): Reformat comment.

* shared.cc: Drop function declarations already in security.h.
This commit is contained in:
Corinna Vinschen 2001-04-22 22:12:12 +00:00
parent 96dc5dd7e5
commit b265245256
3 changed files with 9 additions and 8 deletions

View File

@ -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> Sun Apr 22 12:17:57 2001 Christopher Faylor <cgf@cygnus.com>
* shortcut.c (check_shortcut): Close input file handle before * shortcut.c (check_shortcut): Close input file handle before

View File

@ -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 * We set the SE_DACL_PROTECTED flag here to prevent the DACL from being
* by inheritable ACEs. * modified by inheritable ACEs.
* This flag as well as the SetSecurityDescriptorControl call are available only * This flag as well as the SetSecurityDescriptorControl call are available
* since Win2K. * only since Win2K.
*/ */
static int win2KorHigher = -1; static int win2KorHigher = -1;
if (win2KorHigher == -1) if (win2KorHigher == -1)

View File

@ -228,10 +228,6 @@ get_null_sd ()
return null_sdp; return null_sdp;
} }
extern PSID get_admin_sid ();
extern PSID get_system_sid ();
extern PSID get_creator_owner_sid ();
PSECURITY_ATTRIBUTES __stdcall PSECURITY_ATTRIBUTES __stdcall
sec_user (PVOID sa_buf, PSID sid2, BOOL inherit) sec_user (PVOID sa_buf, PSID sid2, BOOL inherit)
{ {