Corinna Vinschen
abbde48704
* Makefile.in (DLL_OFILES): Add kernel32.o.
* autoload.cc (WSACloseEvent): Remove.
(WSACreateEvent): Remove.
* cygheap.cc (cygheap_init): Drop initializing shared_prefix.
* cygheap.h (struct init_cygheap): Drop shared_prefix and
shared_prefix_buf members.
* fhandler_socket.cc (sock_shared_name): New static function.
(search_wsa_event_slot): Convert name buffers to WCHAR. Call
NtCreateMutant/NtOpenMutant to create mutexes in session local
namespace.
(fhandler_socket::init_events): Ditto. Fix debug output.
(fhandler_socket::release_events): Close mutexes using NtClose.
(fhandler_socket::dup): Ditto.
* kernel32.cc: New file, implementing Win32 calls in a Cygwin-specific
way.
* mmap.cc (MapView): Make static.
* ntdll.h: Fix status code sorting.
(STATUS_OBJECT_NAME_EXISTS): Define.
(SEMAPHORE_QUERY_STATE): Define.
(CYG_SHARED_DIR_ACCESS): Define.
(CYG_MUTANT_ACCESS): Define.
(CYG_EVENT_ACCESS): Define.
(CYG_SEMAPHORE_ACCESS): Define.
(enum _PROCESSINFOCLASS): Define ProcessSessionInformation.
(struct _PROCESS_SESSION_INFORMATION): Define.
(NtCreateSemaphore): Declare.
(NtOpenSemaphore): Declare.
* flock.cc: Use CYG_xxx_ACCESS access masks where appropriate.
* posix_ipc.cc (ipc_mutex_init): Use native functions to create mutex.
Create in cygwin-shared subdir.
(ipc_cond_init): Ditto for event.
(ipc_mutex_close): Use NtClose.
(ipc_cond_close): Ditto.
(mq_open): Drop "cyg" prefix from mqh_uname.
* shared.cc (CYG_SHARED_DIR_ACCESS): Drop definition here.
(_cygwin_testing): Declare extern on file level.
(get_shared_parent_dir): Change name of shared directory. Add name
to api_fatal output.
(get_session_parent_dir): New function.
(shared_name): Simplify.
(shared_info::initialize): Call get_session_parent_dir.
* shared_info.h (get_session_parent_dir): Declare.
* smallprint.cc (__small_vswprintf): Fix bug in multibyte string
conversion.
* thread.cc (semaphore::semaphore): Align semaphore name to object
names in posix IPC functions.
* include/cygwin/version.h (CYGWIN_VERSION_SHARED_DATA): Bump.
2008-04-21 12:46:58 +00:00
..
2004-02-18 20:48:38 +00:00
2008-04-21 12:46:58 +00:00
2007-08-02 14:30:17 +00:00
2008-04-01 10:22:33 +00:00
2005-12-23 22:50:20 +00:00
2003-12-23 16:26:31 +00:00
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-21 12:46:58 +00:00
2005-05-02 03:50:11 +00:00
2005-05-02 03:50:11 +00:00
2005-05-02 03:50:11 +00:00
2004-01-20 03:11:39 +00:00
2005-01-11 12:48:34 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2008-01-01 18:51:23 +00:00
2008-04-01 13:22:47 +00:00
2005-05-02 03:50:11 +00:00
2008-02-14 00:49:47 +00:00
2008-02-14 00:49:47 +00:00
2004-05-28 19:50:07 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2005-03-19 21:45:15 +00:00
2005-08-20 06:19:55 +00:00
2008-04-21 12:46:58 +00:00
2008-04-21 12:46:58 +00:00
2008-02-15 17:53:11 +00:00
2005-05-30 00:54:01 +00:00
2007-02-08 11:35:52 +00:00
2004-02-09 04:04:24 +00:00
2005-07-05 03:16:46 +00:00
2005-07-05 03:16:46 +00:00
2005-07-05 03:16:46 +00:00
2004-06-03 19:52:12 +00:00
2008-04-07 18:45:59 +00:00
2005-10-17 23:27:00 +00:00
2008-04-07 18:45:59 +00:00
2008-04-01 13:22:47 +00:00
2007-01-15 12:19:01 +00:00
2008-02-15 17:53:11 +00:00
2008-04-10 09:27:58 +00:00
2007-04-18 13:11:35 +00:00
2008-04-07 16:15:45 +00:00
2008-04-07 18:45:59 +00:00
2006-05-25 05:40:51 +00:00
2008-02-15 17:53:11 +00:00
2007-01-17 19:26:58 +00:00
2008-02-15 17:53:11 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-02-14 16:47:11 +00:00
2004-02-22 23:21:20 +00:00
2008-02-15 17:53:11 +00:00
2004-05-12 16:21:18 +00:00
2004-01-20 19:36:35 +00:00
2008-04-07 18:45:59 +00:00
2008-03-27 01:50:40 +00:00
2004-02-22 23:21:20 +00:00
2008-04-13 16:47:21 +00:00
2008-04-07 16:15:45 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2004-02-22 23:21:20 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-14 09:15:35 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-13 16:47:21 +00:00
2007-06-29 15:13:01 +00:00
2007-12-22 13:26:47 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-18 20:13:37 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2005-09-14 14:27:56 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-18 20:30:04 +00:00
2008-04-21 12:46:58 +00:00
2008-04-07 18:45:59 +00:00
2008-04-01 13:22:47 +00:00
2006-03-01 20:20:22 +00:00
2006-05-16 03:14:24 +00:00
2008-04-07 18:45:59 +00:00
2008-04-16 10:02:05 +00:00
2008-04-07 18:45:59 +00:00
2005-12-07 22:28:49 +00:00
2008-04-07 18:45:59 +00:00
2005-05-02 03:50:11 +00:00
2005-06-04 02:11:50 +00:00
2004-03-14 05:35:19 +00:00
2006-05-28 21:39:37 +00:00
2004-12-05 02:30:20 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-07 18:45:59 +00:00
2005-12-10 17:09:58 +00:00
2008-04-07 16:15:45 +00:00
2008-04-07 16:33:44 +00:00
2008-04-07 18:45:59 +00:00
2004-02-04 22:40:50 +00:00
2006-08-10 14:15:00 +00:00
2008-04-21 12:46:58 +00:00
2008-04-08 16:12:24 +00:00
2008-04-07 18:45:59 +00:00
2008-04-18 20:13:37 +00:00
2008-04-18 20:13:37 +00:00
2008-04-07 18:45:59 +00:00
2008-01-01 18:51:23 +00:00
2008-04-21 12:46:58 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-14 09:15:35 +00:00
2008-04-07 16:15:45 +00:00
2008-03-13 15:18:10 +00:00
2008-04-07 18:45:59 +00:00
2008-04-01 13:22:47 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-02 10:48:08 +00:00
2008-04-14 14:09:00 +00:00
2003-04-28 20:10:54 +00:00
2003-04-28 20:10:54 +00:00
2008-04-07 18:45:59 +00:00
2005-04-05 06:04:57 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-01 13:22:47 +00:00
2008-04-07 18:45:59 +00:00
2003-07-07 05:32:24 +00:00
2005-03-01 11:51:29 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-18 20:13:37 +00:00
2008-02-15 17:53:11 +00:00
2008-04-18 20:13:37 +00:00
2008-03-13 15:18:10 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-21 12:46:58 +00:00
2008-04-21 12:46:58 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2006-07-14 00:50:55 +00:00
2008-04-21 12:46:58 +00:00
2006-07-05 16:06:50 +00:00
2008-04-07 18:45:59 +00:00
2003-11-28 20:51:11 +00:00
2004-12-27 19:03:56 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-01 13:22:47 +00:00
2003-03-09 20:10:25 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2007-02-20 14:31:26 +00:00
2008-04-13 16:47:21 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2004-04-06 14:22:43 +00:00
2008-04-21 12:46:58 +00:00
2008-04-01 13:22:47 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-03-12 12:41:50 +00:00
2008-03-07 11:24:51 +00:00
2008-04-07 18:45:59 +00:00
2006-07-26 15:59:39 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2007-12-12 12:12:24 +00:00
2005-06-07 19:31:42 +00:00
2008-04-01 13:22:47 +00:00
2008-04-01 13:22:47 +00:00
2008-04-07 18:45:59 +00:00
2008-04-07 18:45:59 +00:00
2007-12-05 15:10:20 +00:00
2006-07-17 19:30:30 +00:00
2008-04-07 16:15:45 +00:00
2003-03-09 22:13:06 +00:00