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