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