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