* external.cc (cygwin_internal): Add CW_GET_POSIX_SECURITY_ATTRIBUTE

handling.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/cygwin.h (cygwin_getinfo_types): Add
	CW_GET_POSIX_SECURITY_ATTRIBUTE.

	* exceptions.cc (init_global_security): Move from here...
	* sec_helper.cc (init_global_security): ...to here.
This commit is contained in:
Corinna Vinschen
2003-11-04 15:48:19 +00:00
parent c35391d0d2
commit bcd06214e1
6 changed files with 42 additions and 16 deletions

View File

@@ -126,20 +126,6 @@ init_console_handler ()
system_printf ("SetConsoleCtrlHandler failed, %E");
}
void
init_global_security ()
{
/* Initialize global security attribute stuff */
sec_none.nLength = sec_none_nih.nLength =
sec_all.nLength = sec_all_nih.nLength = sizeof (SECURITY_ATTRIBUTES);
sec_none.bInheritHandle = sec_all.bInheritHandle = TRUE;
sec_none_nih.bInheritHandle = sec_all_nih.bInheritHandle = FALSE;
sec_none.lpSecurityDescriptor = sec_none_nih.lpSecurityDescriptor = NULL;
sec_all.lpSecurityDescriptor = sec_all_nih.lpSecurityDescriptor =
get_null_sd ();
}
extern "C" void
init_exceptions (exception_list *el)
{