diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-11-04 15:48:19 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-11-04 15:48:19 +0000 |
commit | bcd06214e106481e7a5e86560365cca8a3549752 (patch) | |
tree | 7c07b247d7e300e585d3f77853fdc938bfbde9e1 /winsup/cygwin/exceptions.cc | |
parent | c35391d0d2b0c5fd057aa1ccd4c215a0082919d5 (diff) | |
download | cygnal-bcd06214e106481e7a5e86560365cca8a3549752.tar.gz cygnal-bcd06214e106481e7a5e86560365cca8a3549752.tar.bz2 cygnal-bcd06214e106481e7a5e86560365cca8a3549752.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index 65d57b361..194aa3394 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -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) { |