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