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