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