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