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