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