4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-14 21:19:17 +08:00
Corinna Vinschen e6fbf13e48 * cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
shared_prefix depending only on terminal service capability.
	* dcrt0.cc (dll_crt0_1): Don't call set_cygwin_privileges here.
	* fhandler_fifo.cc (fhandler_fifo::open): Create the mutex as global
	object.
	* posix_ipc.cc (ipc_mutex_init): Use cygheap->shared_prefix.
	(ipc_cond_init): Ditto.
	* sec_helper.cc (privilege_name): Make static.  Use LookupPrivilegeName
	directly to be independent of the state of cygheap.
	(set_privilege): Take a LUID as parameter instead of an index value.
	Only print debug output in case of failure.
	(set_cygwin_privileges): Add comment.  Use LookupPrivilegeValue to
	get privilege LUIDs.
	(init_global_security): Call set_cygwin_privileges here.
	* security.h (privilege_name): Drop declaration.
	(set_privilege): Declare according to above change.
	(set_process_privilege): Call privilege_luid to get LUID.
	(_push_thread_privilege): Ditto.
	* shared.cc (open_shared): Add comment.  On systems supporting the
	SeCreateGlobalPrivilege, try to create/open global shared memory first.
	Fall back to local shared memory if that fails.
	* thread.cc (semaphore::semaphore): Use cygheap->shared_prefix.
	* wincap.h (wincapc::has_create_global_privilege): New element.
	* wincap.cc: Implement above element throughout.
2007-03-29 16:37:36 +00:00
..
2006-05-24 16:59:03 +00:00
2006-03-01 20:20:22 +00:00
2004-12-05 02:30:20 +00:00
2006-01-16 19:52:21 +00:00
2007-01-03 11:14:53 +00:00
2006-05-24 16:59:03 +00:00
2005-09-29 14:28:22 +00:00
2005-03-23 17:11:24 +00:00
2006-11-27 12:59:59 +00:00
2007-02-20 15:48:04 +00:00
2004-05-12 16:21:18 +00:00
2006-02-15 22:11:13 +00:00
2005-09-28 19:22:25 +00:00
2007-03-06 16:29:40 +00:00
2006-03-01 20:20:22 +00:00
2007-03-06 16:29:40 +00:00
2006-07-06 17:16:37 +00:00
2004-03-14 05:35:19 +00:00
2004-12-05 02:30:20 +00:00
2005-11-18 17:48:23 +00:00
2004-02-04 22:40:50 +00:00
2005-05-02 03:50:11 +00:00
2007-02-20 00:16:18 +00:00
2007-03-01 15:13:47 +00:00
2007-02-20 15:48:04 +00:00
2007-02-20 00:16:18 +00:00
2004-12-27 19:03:56 +00:00
2007-02-20 00:16:18 +00:00
2004-12-27 19:03:56 +00:00
2006-01-02 02:57:54 +00:00
2006-02-20 02:06:37 +00:00
2006-07-17 19:30:30 +00:00