OSDN Git Service

Add DESTDIR functionality to Makefile.in's.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygserver / ChangeLog
1 2009-02-23  Sjors Gielen <mailinglist@dazjorz.com>
2
3         * Makefile.in: Add DESTDIR functionality.
4
5 2009-01-21  Corinna Vinschen  <corinna@vinschen.de>
6
7         * client.cc (allow_server): Remove variable.
8         (client_request_get_version::client_request_get_version): Drop checking
9         allow_server.
10
11 2009-01-03  Christopher Faylor  <me+cygwin@cgf.cx>
12
13         * Makefile.in (CFLAGS): Look in cygwin's build directory for header
14         files.
15
16 2008-12-15  Corinna Vinschen  <corinna@vinschen.de>
17
18         * setpwd.cc (client_request_setpwd::serve): Don't treat removing
19         non-existant private data as error.
20
21 2008-12-15  Corinna Vinschen  <corinna@vinschen.de>
22
23         * setpwd.cc (client_request_setpwd::serve): Explicitely erase password
24         buffer content after usage.
25
26 2008-11-26  Corinna Vinschen  <corinna@vinschen.de>
27
28         * Makefile.in (OBJS): Add setpwd.o.
29         * README: Explain new service to store passwords in the LSA registry
30         area.
31         * bsd_helper.cc (get_token_info): Make externally available.
32         * bsd_helper.h (get_token_info): Declare.
33         * client.cc (client_request::handle_request): Add case for
34         CYGSERVER_REQUEST_SETPWD request.
35         * setpwd.cc: New file implementing the CYGSERVER_REQUEST_SETPWD
36         request.
37
38 2008-10-30  Christopher Faylor  <me+cygwin@cgf.cx>
39
40         * Makefile.in: Use -static-libgcc when creating cygserver.exe.
41
42 2008-04-30  Corinna Vinschen  <corinna@vinschen.de>
43
44         * sysv_msg.cc: Add fix from upstream version 1.65.
45         (msgsnd): Call msleep with timeout value.  Handle EWOULDBLOCK.  Make
46         sure it's clear from where msleep has been called in debug output.
47         (msgrcv): Make sure it's clear from where msleep has been called in
48         debug output.
49
50 2008-02-06  Corinna Vinschen  <corinna@vinschen.de>
51
52         * bsd_helper.cc: Replace %E __small_printf format specifier with %lu
53         and call to GetLastError throughout.
54         * bsd_mutex.cc: Ditto.
55         * sysv_sem.cc (semget): Replace %X __small_printf format specifier
56         with %llx.
57
58 2008-02-06  Corinna Vinschen  <corinna@vinschen.de>
59
60         Remove dependency from Cygwin internal code.
61         * Makefile.in (CYGWIN_OBJS): Remove smallprint.o.
62         (cygserver.exe): Remove strfuncs.o
63         (strfuncs.o): Drop rule.
64         * bsd_log.cc (_vlog): Use snprintf/vsnprintf instead of
65         __small_sprintf/__small_vsprintf.
66         * sysv_sem.cc (seminit): Use sys_malloc instead of malloc.  Use
67         snprintf instead of __small_sprintf.
68         (semunload): Free the above allocated sema_mtx names here.
69
70 2008-02-03  Brian Dessent  <brian@dessent.net>
71
72         * Makefile.in: Don't link strfuncs.o from the Cygwin build dir.
73         Build it again with __OUTSIDE_CYGWIN__ defined.
74
75 2007-11-05  Corinna Vinschen  <corinna@vinschen.de>
76
77         * bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed as
78         bool parameter.
79         * cygserver.conf: Add a description for the kern.ipc.shm_allow_removed
80         parameter.
81         * sysv_shm.cc (shminit): Set shm_allow_removed variable according to
82         kern.ipc.shm_allow_removed setting.
83
84 2007-08-02  Corinna Vinschen  <corinna@vinschen.de>
85
86         * smallprint.c: Remove.
87
88 2007-08-02  Christopher Faylor  <me+cygwin@cgf.cx>
89
90         * Makefile.in: Add -lntdll to link line.
91         (CYGWIN_OBJS): Include strfuncs.o.
92
93 2007-08-02  Corinna Vinschen  <corinna@vinschen.de>
94
95         * smallprint.c: New file.
96         * Makefile.in (OBJS): Add smallprint.o.
97         (CYGWIN_OBJS): Remove smallprint.o from Cygwin dir.
98
99 2007-07-21  Corinna Vinschen  <corinna@vinschen.de>
100
101         * bsd_helper.cc: Drop unnecessary security.h include.
102
103 2007-02-23  Corinna Vinschen  <corinna@vinschen.de>
104
105         Throughout remove using wincap.
106         * Makefile.in (OBJS): Remove wincap.o.
107         * README: Don't mention 9x.
108         * bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes.
109         * cygserver.cc (server_submission_loop::request_loop): Add FIXME
110         comment.
111         * wincap.cc: Remove.
112         * wincap.h: Remove.
113         * woutsup.h: Don't include wincap.h.
114
115 2007-02-22  Corinna Vinschen  <corinna@vinschen.de>
116
117         * Makefile.in (OBJS): Drop transport_sockets.o.
118         * sysv_shm.cc (shmget_allocate_segment): Remove spurious cast.
119         * transport.cc: Don't include transport_sockets.h.
120         (create_server_transport): Always create transport_layer_pipes.
121         * transport_sockets.cc: Remove.
122         * transport_sockets.h: Remove.
123
124 2006-05-24  Christopher Faylor  <cgf@timesys.com>
125
126         * configure.in: Update to newer autoconf.
127         (thanks to Steve Ellcey)
128         * configure: Regenerate.
129         * aclocal.m4: New file.
130
131 2006-01-12  Corinna Vinschen  <corinna@vinschen.de>
132
133         * wincap.cc: New file.
134         * wincap.h: New file.
135         * Makefile.in: Accomodate having our own wincap implementation now.
136
137 2006-01-09  Corinna Vinschen  <corinna@vinschen.de>
138
139         Check FreeBSD upstream changes and apply important patches.
140         * sysv_sem.cc (__semctl): Check copyin return value (from 1.76).
141         * sysv_shm.cc (shminit): Actually use the iterating variable in the
142         for loop when trying to avoid overflow (from 1.102).
143
144 2005-11-10  Corinna Vinschen  <corinna@vinschen.de>
145
146         * bsd_helper.cc (securityinit): New function.  Move initialization
147         of security related variables from ipcinit here.
148         * bsd_helper.h (securityinit): Add prototype.
149         * cygserver.cc (main): Call securityinit right after wincap.init.
150
151 2005-11-10  Corinna Vinschen  <corinna@vinschen.de>
152
153         * bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT.
154
155 2005-11-09  Corinna Vinschen  <corinna@vinschen.de>
156
157         * process.cc (process_cache::process): Fix maximum process condition.
158
159 2005-10-24  Corinna Vinschen  <corinna@vinschen.de>
160
161         * README: Add description for new -p/--process-cache option.
162         * bsd_helper.cc (default_tun_check): Add kern.srv.process_cache_size
163         entry to tunable_params. Set max value of kern.srv.request_threads
164         to 310.
165         * cygserver.cc (SERVER_VERSION): Set to 1.20.
166         (print_usage): Print usage of new parameter -p.
167         (main): Add process cache parameter handling. Accomodate new max
168         value of request threads.
169         * cygserver.conf: Add kern.srv.process_cache_size tunable parameter.
170         Accomodate new max value of kern.srv.request_threads.
171         * process.cc: Fix a comment.
172         (process_cache::process_cache): Add max process cache size parameter.
173         Change _cache_add_trigger to manual reset event.
174         (struct pcache_wait_t): New struct used as parameter to
175         pcache_wait_thread.
176         (pcache_wait_thread): New thread function used for threaded process
177         cache.
178         (process_cache::wait_for_processes): Use threaded waiting if number
179         of processes to wait for is bigger than 62. Always check all processes
180         to avoid race under heavy load.
181         (process_cache::sync_wait_array): Remove useless assert. Reset
182         _cache_add_trigger right at the start since it's manual reset now.
183         Accomodate threaded waiting.
184         * process.h (process_cache::process_cache): Add max_procs parameter.
185         (process_cache::_max_process_count): New member.
186         (process_cache::_wait_array: Raise to allow up to 5 wait threads.
187         (process_cache::_process_array): Ditto.
188
189 2005-08-08  Christopher Faylor  <cgf@timesys.com>
190
191         * cygserver.cc (main): Call wincap.init() earlier to avoid a NULL
192         dereference.
193
194 2005-06-14  Corinna Vinschen  <corinna@vinschen.de>
195
196         * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler
197         warning.
198
199 2005-04-08  Corinna Vinschen  <corinna@vinschen.de>
200
201         * bsd_mutex.cc (msleep_cnt): Remove.
202         (msleep_max_cnt): Remove.
203         (msleep_arr): Remove.
204         (class msleep_sync_array): New class to encapsulate msleep/wakeup
205         thread synchronization.
206         (msleep_sync): New object pointer.
207         (msleep_init): Initialize new msleep_sync object.
208         (_mutex): Just call msleep_sync->enter() and msleep_sync->leave() for
209         thread synchronization. Improve debug output a bit more.
210         (wakeup): Just call msleep_sync->wakeup().
211         (wakeup_all): Whitespace fix.
212
213 2005-04-06  Corinna Vinschen  <corinna@vinschen.de>
214
215         * bsd_helper.cc (ipcexit_hookthread): Fix whitespace and handle leak.
216         * bsd_mutex.cc: Include stdlib.h, sys/msg.h and sys/sem.h.
217         (mtx_init): Initialize lock counter to 0.
218         (_mtx_lock): Increment and log mutex lock counter.
219         (mtx_owned): Add winpid argument. Return true only if mutex is
220         actually owned by process winpid.
221         (_mtx_assert): Add winpid argument accordingly.
222         (_mtx_unlock): Log owner and lock count.
223         (MSLEEP_MUTEX): Remove.
224         (MSLEEP_SEM): Ditto.
225         (MSLEEP_EVENT): Ditto.
226         (msleep_event_name): Ditto.
227         (msleep_cs): New global critical section.
228         (msleep_cnt): New global variable indicating msleep record usage.
229         (msleep_max_cnt): New global variable indicating msleep record size.
230         (msleep_arr): New global pointer to msleep records.
231         (msleep_init): Initialize msleep_cs. Allocate msleep_arr array.
232         (_msleep): Rewrite using new msleep_cs/msleep_arr based thread
233         synchronization. Don't be shy with debug output.
234         (wakeup): Rewrite using new msleep_cs/msleep_arr based thread
235         synchronization.
236         * bsd_mutex.h (struct mtx): Add lock counter for better debugging.
237         (mtx_owned): Declare with winpid argument.
238         (_mtx_assert): Ditto.
239         (mtx_assert): Define with winpid argument.
240         * cygserver.cc (version): Remove.
241         (SERVER_VERSION): New define, decoupling server version information
242         from source code control system.
243         (print_version): Simplify printing server version.
244         * process.cc (process::process): Fix wrong bracketing (and handle leak).
245         (process::~process): Only try to close _signal_arrived if valid.
246         * sysv_sem.cc: Include sys/smallprint.h.
247         (semundo_clear): Define with additional struct thread pointer argument.
248         Accomodate throughout.
249         (SEMUNDO_LOCKASSERT): Define with winpid argument. Accomodate
250         throughout.
251         (struct sem_undo): Define un_proc as pid_t on Cygwin. Accomodate
252         throughout.
253         (seminit): Improve debugging by adding the semid to the mutex name.
254         (semget): Correctly print key value as 64 bit hex value in debug
255         output.
256         (semexit_myhook): Remove Cygwin specific unlocking of mutexes owned
257         by exiting process.  Keep semaphore global lock throughout whole
258         function to avoid races.
259         * sysv_shm.cc (GIANT_REQUIRED): Define empty on Cygwin. We know that
260         Giant is locked.
261
262 2005-04-01  Corinna Vinschen  <corinna@vinschen.de>
263
264         * bsd_mutex.cc (_msleep): Whitespace fix.
265         * process.cc (process::process): Handle invalid signal_arrived values
266         more gracefully.
267
268 2004-12-30  Corinna Vinschen  <corinna@vinschen.de>
269
270         * bsd_mutex.cc: Include limits.h.
271         (MSLEEP_MUTEX): New define for third parameter to msleep_event_name.
272         (MSLEEP_SEM): Ditto.
273         (MSLEEP_EVENT): Ditto.
274         (msleep_event_name): Add third parameter to allow multiple
275         synchronization objects per ident.
276         (_msleep): Implement new synchronization technique to make sure
277         that all threads have been woken up by a corresponding wakeup call.
278         (wakeup): Ditto.
279
280 2004-10-18  Corinna Vinschen  <corinna@vinschen.de>
281
282         * sysv_sem.cc: Redefine offsetof to circumvent build problems with
283         gcc 3.4.
284
285 2004-10-04  Corinna Vinschen  <corinna@vinschen.de>
286
287         * bsd_mutex.cc (_msleep): Simplify event creation.  Revert change from
288         2004-08-24.  It should be unnecessary now.
289         * msg.cc (client_request_msg::serve): Release process critical
290         section as early as possible.
291         * sem.cc (client_request_sem::serve): Ditto.
292         * shm.cc (client_request_shm::serve): Ditto.
293         * process.cc: Use hold and release method calls instead of
294         EnterCriticalSection/LeaveCriticalSection calls throughout.
295         * process.h (_hold): Rename from hold.  Take filename and linenumber
296         parameter for logging.  Define matching hold macro.
297         (release): Ditto.
298
299 2004-10-01  Corinna Vinschen  <corinna@vinschen.de>
300
301         * sysv_sem.cc: Update to FreeBSD version 1.69.
302         1.68: Reduce the overhead of semop() by using the kernel stack
303         instead of malloc'd memory to store the operations array if it
304         is small enough to fit.
305         1.69: Adjust the number of processes waiting on a semaphore properly
306         if we're woken up in the middle of sleeping.
307
308 2004-09-23  Corinna Vinschen  <corinna@vinschen.de>
309
310         * sysv_shm.cc (kern_shmat): Avoid compiler warning.
311
312 2004-09-21  Corinna Vinschen  <corinna@vinschen.de>
313
314         * sysv_shm.cc (vm_object_reference): remove Cygwin specific define.
315         (vm_map_find): Ditto.
316         (vm_map_inherit): Ditto.
317         (kern_shmat): On Cygwin, take shmaddr just as is.  Don't call vm
318         system calls on Cygwin.  Add comment.
319
320 2004-09-15  Corinna Vinschen  <corinna@vinschen.de>
321
322         Fix copyright throughout.
323         Eliminate use of _impure_ptr outside Cygwin.
324         * bsd_helper.cc: Include errno.h instead of cygerrno.h.
325         * bsd_mutex.cc : Ditto.
326         * client.cc: Ditto.
327         * cygserver.cc: Ditto.
328         * process.cc: Don't build functions inside Cygwin.  Don't include
329         cygerrno.h.  Don't set errno.
330         * transport_pipes.cc (SET_ERRNO): New define.  Use througout.
331         * transport_sockets.cc (SET_ERRNO): Ditto.
332         (GET_ERRNO): Ditto.
333
334 2004-09-06  Corinna Vinschen  <corinna@vinschen.de>
335
336         * bsd_mutex.cc (_msleep): Disable resetting event object for now.
337
338 2004-08-31  Corinna Vinschen  <corinna@vinschen.de>
339
340         * sysv_shm.cc (kern_shmat): Add debug_printf's.
341
342 2004-08-24  Corinna Vinschen  <corinna@vinschen.de>
343
344         * bsd_mutex.cc (_msleep): Release process object while waiting.
345
346 2004-08-03  Corinna Vinschen  <corinna@vinschen.de>
347
348         * transport.cc (transport_layer_base::~transport_layer_base): Resurrect.
349         * transport.h (transport_layer_base::~transport_layer_base): Ditto.
350
351 2004-07-30  Corinna Vinschen  <corinna@vinschen.de>
352
353         * bsd_mutex.cc (_msleep): Reset event object and close it before
354         entering mutex.  Turn order of conditional for better readability.
355
356 2004-07-26  Corinna Vinschen  <corinna@vinschen.de>
357
358         * cygserver.conf: Describe relation between shmmaxpgs and SHMMAX.
359
360 2004-07-20  Corinna Vinschen  <corinna@vinschen.de>
361
362         * bsd_helper.cc: Whitespace fixes.
363         * bsd_mutex.cc: Ditto.
364
365 2004-07-19  Corinna Vinschen  <corinna@vinschen.de>
366
367         * transport.cc (transport_layer_base::~transport_layer_base): Remove.
368         * transport.h (transport_layer_base::~transport_layer_base): Ditto.
369
370 2004-07-19  Corinna Vinschen  <corinna@vinschen.de>
371
372         * bsd_mutex.cc (win_priority): Actually calculate p from priority.
373
374 2004-06-03  Corinna Vinschen  <corinna@vinschen.de>
375
376         * shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.
377
378 2004-03-30  Corinna Vinschen  <corinna@vinschen.de>
379
380         * sysv_shm.cc (shmget): Allow to retrieve shared memory segments
381         by shmid when IPC_KEY_IS_SHMID is set.
382
383 2004-03-02  Corinna Vinschen  <corinna@vinschen.de>
384
385         * sysv_sem.cc (semundo_adjust): Check for process id instead of
386         process struct pointer, which isn't fixed under Cygwin.
387         (semexit_myhook): Ditto.  Adjust debug print statements to print
388         Cygwin and Windows PIDs instead of process pointer under Cygwin.
389
390 2004-02-07  Corinna Vinschen  <corinna@vinschen.de>
391
392         * bsd_mutex.cc (win_priority): Move to msleep helper function section.
393         (set_priority): Ditto. Fix formatting.
394         (_msleep): Cleanup obj formatting.  Rearrange obj order.
395
396 2004-02-06  Corinna Vinschen  <corinna@vinschen.de>
397
398         * bsd_mutex.cc (_msleep): Handle PCATCH using signal_arrived event.
399         * client.cc: Include sigproc.h.
400         * msg.cc (client_request_msg::serve): Accomodate third parameter to
401         process::process.
402         * sem.cc (client_request_sem::serve): Ditto.
403         * shm.cc (client_request_shm::serve): Ditto.
404         * process.cc (process::process): Duplicate signal_arrived into
405         Cygserver process space.
406         (process::~process): Close _signal_arrived handle.
407         (process_cache::process): Add signal_arrived handling.
408         * process.h (process::process): Add signal_arrived parameter.
409         (process:signal_arrived): New read accessor.
410         (process:_signal_arrived): New member.
411         (process_cache::process): Add signal_arrived parameter.
412
413 2004-01-16  Corinna Vinschen  <corinna@vinschen.de>
414
415         * process.h (cleanup_routine::~cleanup_routine): Make pure virtual
416         function to avoid miscompilation with certain versions of gcc.
417         * process.cc (cleanup_routine::~cleanup_routine): Remove.
418
419 2003-12-26  Christopher Faylor  <cgf@redhat.com>
420
421         * Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
422         (CYGWIN_LIB): Delete.
423         (cygserver.exe target): Add -L$(cygwin_build) to the link line to force
424         linker to use build tree version of the library.  Remove specific
425         inclusion of libcygwin.a from the link line.
426
427 2003-12-16  Corinna Vinschen  <corinna@vinschen.de>
428
429         * bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and
430         kern.ipc.msgtql.  Raise max value for kern.ipc.msgseg to 65535.
431         * cygserver.conf: Add kern.ipc.msgmnb and kern.ipc.msgtql.
432         * sysv_msg.cc (msginit): Add TUNABLE_INT_FETCH call for
433         kern.ipc.msgmnb and kern.ipc.msgtql.
434
435 2003-11-26  Corinna Vinschen  <corinna@vinschen.de>
436
437         * cygserver.cc (main): Move call to ipcinit() up before installing
438         any threads.
439         * sysv_sem.cc: Update to FreeBSD version 1.67.
440         (seminit): Initialize semaphore sequence numbers to 0.
441
442 2003-11-26  Corinna Vinschen  <corinna@vinschen.de>
443
444         * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
445         the parallel cygwin dir.
446         (cygserver.exe): Depend on and link against $CYGWIN_LIB.
447
448 2003-11-25  Christopher Faylor  <cgf@redhat.com>
449
450         * Makefile.in (CXXFLAGS): Remove duplicate options handled in
451         Makefile.common.
452
453 2003-11-22  Corinna Vinschen  <corinna@vinschen.de>
454
455         * msg.cc (client_request_msg::serve): Add default case to msgop switch.
456         * sem.cc (client_request_sem::serve): Add default case to semop switch.
457         * shm.cc (client_request_shm::serve): Add default case to shmop switch.
458
459 2003-11-21  Corinna Vinschen  <corinna@vinschen.de>
460
461         * Makefile.in (install): Explicitely create directories.  Install
462         README to $(prefix)/share/doc/Cygwin.
463         * README: New file.
464
465 2003-11-21  Corinna Vinschen  <corinna@vinschen.de>
466
467         * cygserver.cc (print_usage): Fix scrambled output.
468
469 2003-11-20  Corinna Vinschen  <corinna@vinschen.de>
470
471         * cygserver-config: Slightly modify printed message.
472
473 2003-11-20  Corinna Vinschen  <corinna@vinschen.de>
474
475         * Makefile.in (install): Install cygserver-config script to bindir.
476         * cygserver-config: New script.
477
478 2003-11-19  Corinna Vinschen  <corinna@vinschen.de>
479
480         Don't use safe_new but new throughout.  Fix copyright dates
481         throughout.
482         * Makefile.in: Accomodate all new files and name changes.
483         Add a *.d dependency.
484         (sbindir): Add.
485         (etcdir): Drop in favor of more appropriate sysconfdir definition.
486         (sysconfdir): Add.
487         (CXXFLAGS): Add -MMD flag. Add SYSCONFDIR definition.
488         (.SUFFIXES): Add.
489         (install): Add action items.
490         (libclean): New target.
491         (fullclean): Ditto.
492         * bsd_helper.cc: New file.
493         * bsd_helper.h: Ditto.
494         * bsd_log.cc: Ditto.
495         * bsd_log.h: Ditto.
496         * bsd_mutex.cc: Ditto.
497         * bsd_mutex.h: Ditto.
498         * client.cc: Rearrange to build as less as possible if
499         __INSIDE_CYGWIN__.
500         (client_request::handle_request): Add Message Queue and Semaphore
501         handling.
502         * cygserver.cc: Rearrange to build as less as possible if
503         __INSIDE_CYGWIN__. Use new debug/log/panic logging functions.
504         (DEF_CONFIG_FILE): New definition for configuration file.  Use
505         throughout.
506         (getfunc): Remove.
507         (__cygserver__printf): Remove.
508         (client_request_attach_tty::serve): Return error if impersonation
509         fails.
510         (print_usage): Pump up help message.
511         (print_version): Add output of default configuration file.
512         (main): Accommodate new options.  Allow overwrite of threading options
513         from config file.  Call several new initialization functions.  Drop
514         printing dots.  Don't define SIGHANDLE inline.
515         * cygserver.conf: New file.
516         * cygserver_process.h: Rename to process.h.
517         * cygserver_transport.h: Rename to transport.h.
518         * cygserver_transport_pipes.h: Rename to transport_pipes.h.
519         * cygserver_transport_sockets.h: Rename to transport_sockets.h.
520         * msg.cc: Rewrite.
521         * sem.cc: Rewrite.
522         * shm.cc: Rewrite.
523         * sysv_msg.cc: New file, derived from FreeBSD version 1.52.
524         * sysv_sem.cc: New file, derived from FreeBSD version 1.66.
525         * sysv_shm.cc: New file, derived from FreeBSD version 1.89.
526         * threaded_queue.cc: Rearrange to build as less as possible if
527         __INSIDE_CYGWIN__.
528         * transport.cc (transport_layer_base::impersonate_client): Define bool.
529         (transport_layer_base::revert_to_self): Ditto.
530         * transport.h (transport_layer_base::impersonate_client): Declare bool.
531         (transport_layer_base::revert_to_self): Ditto.
532         * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
533         Don't call init_security.
534         (init_security): Remove.
535         (transport_layer_pipes::accept): Use global sec_all_nih.
536         (transport_layer_pipes::connect): Ditto.
537         (transport_layer_pipes::impersonate_client): Define bool.
538         (transport_layer_pipes::revert_to_self): Ditt.
539         * transport_pipes.h (transport_layer_pipes::impersonate_client): Declare
540         bool.
541         (transport_layer_pipes::revert_to_self): Ditto.
542         * woutsup.h: Include bsd compatibility headers.
543         (SIGHANDLE): Add definition.
544         (__cygserver__printf): Remove definition.
545         (__noop_printf): Ditto.
546         (debug_printf): Define using debug.
547         (syscall_printf): Define using log.
548         (system_printf): Ditto.
549         Drop all other _printf definitions.
550
551 2003-10-22  Corinna Vinschen  <corinna@vinschen.de>
552
553         Accomodate moving cygserver header files from cygwin/include/cygwin
554         to here and cygwin dir.
555         * Makefile.in (EXEEXT): Drop as unused.
556         (EXEEXT_FOR_BUILD): Ditto.
557         (all): Don't build libcygserver.a.
558         * cygserver_process.h: Moved from cygwin/include/cygwin to here.
559         * cygserver_transport.h: Ditto.
560         * cygserver_transport_pipes.h: Ditto.
561         * cygserver_transport_sockets.h: Ditto.
562         * ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h.
563         * shm.h: Moved to ../cygwin and renamed to cygserver_shm.h.
564
565 2003-08-30  Christopher Faylor  <cgf@redhat.com>
566
567         * msg.cc: New file.
568         * sem.cc: Ditto.
569
570 2003-08-30  Christopher Faylor  <cgf@redhat.com>
571
572         * threaded_queue.h: New file.
573
574 2003-08-25  Christopher Faylor  <cgf@redhat.com>
575
576         * Makefile.in: Build libcygserver.a.
577         * client.cc: Rename allow_daemon to allow_server.
578
579 2003-07-25  Christopher Faylor  <cgf@redhat.com>
580
581         * configure.in: Use 'install-sh -c'.
582         * configure: Regenerate.
583
584 2003-07-25  Christopher Faylor  <cgf@redhat.com>
585
586         * configure.in: Always use install-sh.
587         * configure: Regenerate.
588
589 2003-07-01  Christopher Faylor  <cgf@redhat.com>
590
591         * Makefile.in (OBJS): Move some more files from cygwin directory.
592         * woutsup.h: Define _MT_SAFE.
593
594 2003-07-01  Christopher Faylor  <cgf@redhat.com>
595
596         * configure.in: First pass.
597         * Makefile.in: Ditto.
598         * configure: Generate.