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