]>
Commit | Line | Data |
---|---|---|
969afaf7 CV |
1 | 2009-11-16 Corinna Vinschen <corinna@vinschen.de> |
2 | ||
3 | * Makefile.in (cygserver.exe): Link with -static to avoid linking | |
4 | against cygstdc++-6.dll due to references to __cxa_pure_virtual. | |
5 | ||
1636ce3b CV |
6 | 2009-11-06 Corinna Vinschen <corinna@vinschen.de> |
7 | ||
8 | * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): | |
9 | Check cygwin_internal for returning 0 rather than for != 0. | |
10 | (transport_layer_pipes::accept): Add debug output. | |
11 | (transport_layer_pipes::connect): Ditto. | |
12 | ||
b079a89e CV |
13 | 2009-10-31 Corinna Vinschen <corinna@vinschen.de> |
14 | ||
15 | * transport_pipes.h (PIPE_NAME_PREFIX): New define. | |
16 | (PIPE_NAME_SUFFIX): Ditto. | |
17 | (class transport_layer_pipes): Convert _pipe_name from char pointer | |
18 | to wchar_t array. | |
19 | * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): | |
20 | Accommodate the fact that _pipe_name is a wchar_t array, rather than | |
21 | a char pointer. | |
22 | (transport_layer_pipes::transport_layer_pipes): Initialize _pipe_name | |
23 | with variable pipe name based in installation key fetched from Cygwin | |
24 | DLL. | |
25 | (transport_layer_pipes::accept): Call CreateNamedPipeW explicitely. | |
26 | (transport_layer_pipes::connect): Call CreateFileW and WaitNamedPipeW | |
27 | explicitely. | |
28 | ||
4db8460f CV |
29 | 2009-08-18 Corinna Vinschen <corinna@vinschen.de> |
30 | ||
31 | * Makefile.in (CXXFLAGS): Allow override. | |
32 | ||
d6e045e6 CV |
33 | 2009-03-26 Yaakov Selkowitz <yselkowitz@cygwin.com> |
34 | ||
35 | * README: Remove "How to use" section, as CYGWIN="server" is | |
36 | no longer required. | |
37 | ||
576cc648 CV |
38 | 2009-03-20 Corinna Vinschen <corinna@vinschen.de> |
39 | ||
40 | * cygserver-config: Remove misleading text describing the | |
41 | "CYGWIN=server" setting for the client. | |
42 | ||
99fe2b78 CF |
43 | 2009-02-23 Sjors Gielen <mailinglist@dazjorz.com> |
44 | ||
45 | * Makefile.in: Add DESTDIR functionality. | |
46 | ||
7ffaa17c CV |
47 | 2009-01-21 Corinna Vinschen <corinna@vinschen.de> |
48 | ||
49 | * client.cc (allow_server): Remove variable. | |
50 | (client_request_get_version::client_request_get_version): Drop checking | |
51 | allow_server. | |
52 | ||
952783ba CF |
53 | 2009-01-03 Christopher Faylor <me+cygwin@cgf.cx> |
54 | ||
55 | * Makefile.in (CFLAGS): Look in cygwin's build directory for header | |
56 | files. | |
57 | ||
faded04e CV |
58 | 2008-12-15 Corinna Vinschen <corinna@vinschen.de> |
59 | ||
60 | * setpwd.cc (client_request_setpwd::serve): Don't treat removing | |
61 | non-existant private data as error. | |
62 | ||
d08afb78 CV |
63 | 2008-12-15 Corinna Vinschen <corinna@vinschen.de> |
64 | ||
65 | * setpwd.cc (client_request_setpwd::serve): Explicitely erase password | |
66 | buffer content after usage. | |
67 | ||
d4db08d7 CV |
68 | 2008-11-26 Corinna Vinschen <corinna@vinschen.de> |
69 | ||
70 | * Makefile.in (OBJS): Add setpwd.o. | |
71 | * README: Explain new service to store passwords in the LSA registry | |
72 | area. | |
73 | * bsd_helper.cc (get_token_info): Make externally available. | |
74 | * bsd_helper.h (get_token_info): Declare. | |
75 | * client.cc (client_request::handle_request): Add case for | |
76 | CYGSERVER_REQUEST_SETPWD request. | |
77 | * setpwd.cc: New file implementing the CYGSERVER_REQUEST_SETPWD | |
78 | request. | |
79 | ||
029d147e CF |
80 | 2008-10-30 Christopher Faylor <me+cygwin@cgf.cx> |
81 | ||
82 | * Makefile.in: Use -static-libgcc when creating cygserver.exe. | |
83 | ||
cce741c4 CV |
84 | 2008-04-30 Corinna Vinschen <corinna@vinschen.de> |
85 | ||
86 | * sysv_msg.cc: Add fix from upstream version 1.65. | |
87 | (msgsnd): Call msleep with timeout value. Handle EWOULDBLOCK. Make | |
88 | sure it's clear from where msleep has been called in debug output. | |
89 | (msgrcv): Make sure it's clear from where msleep has been called in | |
90 | debug output. | |
91 | ||
62688407 CV |
92 | 2008-02-06 Corinna Vinschen <corinna@vinschen.de> |
93 | ||
94 | * bsd_helper.cc: Replace %E __small_printf format specifier with %lu | |
95 | and call to GetLastError throughout. | |
96 | * bsd_mutex.cc: Ditto. | |
97 | * sysv_sem.cc (semget): Replace %X __small_printf format specifier | |
98 | with %llx. | |
99 | ||
fb7331e3 CV |
100 | 2008-02-06 Corinna Vinschen <corinna@vinschen.de> |
101 | ||
102 | Remove dependency from Cygwin internal code. | |
103 | * Makefile.in (CYGWIN_OBJS): Remove smallprint.o. | |
104 | (cygserver.exe): Remove strfuncs.o | |
105 | (strfuncs.o): Drop rule. | |
106 | * bsd_log.cc (_vlog): Use snprintf/vsnprintf instead of | |
107 | __small_sprintf/__small_vsprintf. | |
108 | * sysv_sem.cc (seminit): Use sys_malloc instead of malloc. Use | |
109 | snprintf instead of __small_sprintf. | |
110 | (semunload): Free the above allocated sema_mtx names here. | |
111 | ||
5556c620 CV |
112 | 2008-02-03 Brian Dessent <brian@dessent.net> |
113 | ||
114 | * Makefile.in: Don't link strfuncs.o from the Cygwin build dir. | |
115 | Build it again with __OUTSIDE_CYGWIN__ defined. | |
116 | ||
8f14a113 CV |
117 | 2007-11-05 Corinna Vinschen <corinna@vinschen.de> |
118 | ||
119 | * bsd_helper.cc (tunable_params): Add kern.ipc.shm_allow_removed as | |
120 | bool parameter. | |
121 | * cygserver.conf: Add a description for the kern.ipc.shm_allow_removed | |
122 | parameter. | |
123 | * sysv_shm.cc (shminit): Set shm_allow_removed variable according to | |
124 | kern.ipc.shm_allow_removed setting. | |
125 | ||
64a62f4c CV |
126 | 2007-08-02 Corinna Vinschen <corinna@vinschen.de> |
127 | ||
128 | * smallprint.c: Remove. | |
129 | ||
de165669 CF |
130 | 2007-08-02 Christopher Faylor <me+cygwin@cgf.cx> |
131 | ||
132 | * Makefile.in: Add -lntdll to link line. | |
133 | (CYGWIN_OBJS): Include strfuncs.o. | |
134 | ||
dcd1ef45 CV |
135 | 2007-08-02 Corinna Vinschen <corinna@vinschen.de> |
136 | ||
137 | * smallprint.c: New file. | |
138 | * Makefile.in (OBJS): Add smallprint.o. | |
139 | (CYGWIN_OBJS): Remove smallprint.o from Cygwin dir. | |
140 | ||
238291e1 CV |
141 | 2007-07-21 Corinna Vinschen <corinna@vinschen.de> |
142 | ||
143 | * bsd_helper.cc: Drop unnecessary security.h include. | |
144 | ||
7131554a CV |
145 | 2007-02-23 Corinna Vinschen <corinna@vinschen.de> |
146 | ||
147 | Throughout remove using wincap. | |
148 | * Makefile.in (OBJS): Remove wincap.o. | |
149 | * README: Don't mention 9x. | |
150 | * bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes. | |
151 | * cygserver.cc (server_submission_loop::request_loop): Add FIXME | |
152 | comment. | |
153 | * wincap.cc: Remove. | |
154 | * wincap.h: Remove. | |
155 | * woutsup.h: Don't include wincap.h. | |
156 | ||
3fbf471f CV |
157 | 2007-02-22 Corinna Vinschen <corinna@vinschen.de> |
158 | ||
159 | * Makefile.in (OBJS): Drop transport_sockets.o. | |
160 | * sysv_shm.cc (shmget_allocate_segment): Remove spurious cast. | |
161 | * transport.cc: Don't include transport_sockets.h. | |
162 | (create_server_transport): Always create transport_layer_pipes. | |
163 | * transport_sockets.cc: Remove. | |
164 | * transport_sockets.h: Remove. | |
165 | ||
99fc5e10 CF |
166 | 2006-05-24 Christopher Faylor <cgf@timesys.com> |
167 | ||
168 | * configure.in: Update to newer autoconf. | |
169 | (thanks to Steve Ellcey) | |
170 | * configure: Regenerate. | |
171 | * aclocal.m4: New file. | |
172 | ||
f6867133 CV |
173 | 2006-01-12 Corinna Vinschen <corinna@vinschen.de> |
174 | ||
175 | * wincap.cc: New file. | |
176 | * wincap.h: New file. | |
177 | * Makefile.in: Accomodate having our own wincap implementation now. | |
178 | ||
e3786825 CV |
179 | 2006-01-09 Corinna Vinschen <corinna@vinschen.de> |
180 | ||
181 | Check FreeBSD upstream changes and apply important patches. | |
182 | * sysv_sem.cc (__semctl): Check copyin return value (from 1.76). | |
183 | * sysv_shm.cc (shminit): Actually use the iterating variable in the | |
184 | for loop when trying to avoid overflow (from 1.102). | |
185 | ||
2d015bd6 CV |
186 | 2005-11-10 Corinna Vinschen <corinna@vinschen.de> |
187 | ||
188 | * bsd_helper.cc (securityinit): New function. Move initialization | |
189 | of security related variables from ipcinit here. | |
190 | * bsd_helper.h (securityinit): Add prototype. | |
191 | * cygserver.cc (main): Call securityinit right after wincap.init. | |
192 | ||
8032f815 CV |
193 | 2005-11-10 Corinna Vinschen <corinna@vinschen.de> |
194 | ||
195 | * bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT. | |
196 | ||
2d015bd6 CV |
197 | 2005-11-09 Corinna Vinschen <corinna@vinschen.de> |
198 | ||
199 | * process.cc (process_cache::process): Fix maximum process condition. | |
200 | ||
201 | 2005-10-24 Corinna Vinschen <corinna@vinschen.de> | |
202 | ||
203 | * README: Add description for new -p/--process-cache option. | |
204 | * bsd_helper.cc (default_tun_check): Add kern.srv.process_cache_size | |
205 | entry to tunable_params. Set max value of kern.srv.request_threads | |
206 | to 310. | |
207 | * cygserver.cc (SERVER_VERSION): Set to 1.20. | |
208 | (print_usage): Print usage of new parameter -p. | |
209 | (main): Add process cache parameter handling. Accomodate new max | |
210 | value of request threads. | |
211 | * cygserver.conf: Add kern.srv.process_cache_size tunable parameter. | |
212 | Accomodate new max value of kern.srv.request_threads. | |
213 | * process.cc: Fix a comment. | |
214 | (process_cache::process_cache): Add max process cache size parameter. | |
215 | Change _cache_add_trigger to manual reset event. | |
216 | (struct pcache_wait_t): New struct used as parameter to | |
217 | pcache_wait_thread. | |
218 | (pcache_wait_thread): New thread function used for threaded process | |
219 | cache. | |
220 | (process_cache::wait_for_processes): Use threaded waiting if number | |
221 | of processes to wait for is bigger than 62. Always check all processes | |
222 | to avoid race under heavy load. | |
223 | (process_cache::sync_wait_array): Remove useless assert. Reset | |
224 | _cache_add_trigger right at the start since it's manual reset now. | |
225 | Accomodate threaded waiting. | |
226 | * process.h (process_cache::process_cache): Add max_procs parameter. | |
227 | (process_cache::_max_process_count): New member. | |
228 | (process_cache::_wait_array: Raise to allow up to 5 wait threads. | |
229 | (process_cache::_process_array): Ditto. | |
230 | ||
c9508cb4 CF |
231 | 2005-08-08 Christopher Faylor <cgf@timesys.com> |
232 | ||
233 | * cygserver.cc (main): Call wincap.init() earlier to avoid a NULL | |
234 | dereference. | |
235 | ||
43522735 CV |
236 | 2005-06-14 Corinna Vinschen <corinna@vinschen.de> |
237 | ||
238 | * sysv_sem.cc (semu_list): Define static to avoid gcc 4.x compiler | |
239 | warning. | |
240 | ||
c4004194 CV |
241 | 2005-04-08 Corinna Vinschen <corinna@vinschen.de> |
242 | ||
243 | * bsd_mutex.cc (msleep_cnt): Remove. | |
244 | (msleep_max_cnt): Remove. | |
245 | (msleep_arr): Remove. | |
246 | (class msleep_sync_array): New class to encapsulate msleep/wakeup | |
247 | thread synchronization. | |
248 | (msleep_sync): New object pointer. | |
249 | (msleep_init): Initialize new msleep_sync object. | |
250 | (_mutex): Just call msleep_sync->enter() and msleep_sync->leave() for | |
251 | thread synchronization. Improve debug output a bit more. | |
252 | (wakeup): Just call msleep_sync->wakeup(). | |
253 | (wakeup_all): Whitespace fix. | |
254 | ||
dafef5e2 CV |
255 | 2005-04-06 Corinna Vinschen <corinna@vinschen.de> |
256 | ||
257 | * bsd_helper.cc (ipcexit_hookthread): Fix whitespace and handle leak. | |
258 | * bsd_mutex.cc: Include stdlib.h, sys/msg.h and sys/sem.h. | |
259 | (mtx_init): Initialize lock counter to 0. | |
260 | (_mtx_lock): Increment and log mutex lock counter. | |
261 | (mtx_owned): Add winpid argument. Return true only if mutex is | |
262 | actually owned by process winpid. | |
263 | (_mtx_assert): Add winpid argument accordingly. | |
264 | (_mtx_unlock): Log owner and lock count. | |
265 | (MSLEEP_MUTEX): Remove. | |
266 | (MSLEEP_SEM): Ditto. | |
267 | (MSLEEP_EVENT): Ditto. | |
268 | (msleep_event_name): Ditto. | |
269 | (msleep_cs): New global critical section. | |
270 | (msleep_cnt): New global variable indicating msleep record usage. | |
271 | (msleep_max_cnt): New global variable indicating msleep record size. | |
272 | (msleep_arr): New global pointer to msleep records. | |
273 | (msleep_init): Initialize msleep_cs. Allocate msleep_arr array. | |
274 | (_msleep): Rewrite using new msleep_cs/msleep_arr based thread | |
275 | synchronization. Don't be shy with debug output. | |
276 | (wakeup): Rewrite using new msleep_cs/msleep_arr based thread | |
277 | synchronization. | |
278 | * bsd_mutex.h (struct mtx): Add lock counter for better debugging. | |
279 | (mtx_owned): Declare with winpid argument. | |
280 | (_mtx_assert): Ditto. | |
281 | (mtx_assert): Define with winpid argument. | |
282 | * cygserver.cc (version): Remove. | |
283 | (SERVER_VERSION): New define, decoupling server version information | |
284 | from source code control system. | |
285 | (print_version): Simplify printing server version. | |
286 | * process.cc (process::process): Fix wrong bracketing (and handle leak). | |
287 | (process::~process): Only try to close _signal_arrived if valid. | |
288 | * sysv_sem.cc: Include sys/smallprint.h. | |
289 | (semundo_clear): Define with additional struct thread pointer argument. | |
290 | Accomodate throughout. | |
291 | (SEMUNDO_LOCKASSERT): Define with winpid argument. Accomodate | |
292 | throughout. | |
293 | (struct sem_undo): Define un_proc as pid_t on Cygwin. Accomodate | |
294 | throughout. | |
295 | (seminit): Improve debugging by adding the semid to the mutex name. | |
296 | (semget): Correctly print key value as 64 bit hex value in debug | |
297 | output. | |
298 | (semexit_myhook): Remove Cygwin specific unlocking of mutexes owned | |
299 | by exiting process. Keep semaphore global lock throughout whole | |
300 | function to avoid races. | |
301 | * sysv_shm.cc (GIANT_REQUIRED): Define empty on Cygwin. We know that | |
302 | Giant is locked. | |
303 | ||
c9f545e2 CV |
304 | 2005-04-01 Corinna Vinschen <corinna@vinschen.de> |
305 | ||
306 | * bsd_mutex.cc (_msleep): Whitespace fix. | |
307 | * process.cc (process::process): Handle invalid signal_arrived values | |
308 | more gracefully. | |
309 | ||
f312634c CV |
310 | 2004-12-30 Corinna Vinschen <corinna@vinschen.de> |
311 | ||
312 | * bsd_mutex.cc: Include limits.h. | |
313 | (MSLEEP_MUTEX): New define for third parameter to msleep_event_name. | |
314 | (MSLEEP_SEM): Ditto. | |
315 | (MSLEEP_EVENT): Ditto. | |
316 | (msleep_event_name): Add third parameter to allow multiple | |
317 | synchronization objects per ident. | |
318 | (_msleep): Implement new synchronization technique to make sure | |
319 | that all threads have been woken up by a corresponding wakeup call. | |
320 | (wakeup): Ditto. | |
321 | ||
52fa622a CV |
322 | 2004-10-18 Corinna Vinschen <corinna@vinschen.de> |
323 | ||
324 | * sysv_sem.cc: Redefine offsetof to circumvent build problems with | |
325 | gcc 3.4. | |
326 | ||
1f8b3049 CV |
327 | 2004-10-04 Corinna Vinschen <corinna@vinschen.de> |
328 | ||
329 | * bsd_mutex.cc (_msleep): Simplify event creation. Revert change from | |
330 | 2004-08-24. It should be unnecessary now. | |
331 | * msg.cc (client_request_msg::serve): Release process critical | |
332 | section as early as possible. | |
333 | * sem.cc (client_request_sem::serve): Ditto. | |
334 | * shm.cc (client_request_shm::serve): Ditto. | |
335 | * process.cc: Use hold and release method calls instead of | |
336 | EnterCriticalSection/LeaveCriticalSection calls throughout. | |
337 | * process.h (_hold): Rename from hold. Take filename and linenumber | |
338 | parameter for logging. Define matching hold macro. | |
339 | (release): Ditto. | |
340 | ||
c6ef5fb7 CV |
341 | 2004-10-01 Corinna Vinschen <corinna@vinschen.de> |
342 | ||
343 | * sysv_sem.cc: Update to FreeBSD version 1.69. | |
344 | 1.68: Reduce the overhead of semop() by using the kernel stack | |
345 | instead of malloc'd memory to store the operations array if it | |
346 | is small enough to fit. | |
347 | 1.69: Adjust the number of processes waiting on a semaphore properly | |
348 | if we're woken up in the middle of sleeping. | |
349 | ||
e55ad3ec CV |
350 | 2004-09-23 Corinna Vinschen <corinna@vinschen.de> |
351 | ||
352 | * sysv_shm.cc (kern_shmat): Avoid compiler warning. | |
353 | ||
04e9ee5f CV |
354 | 2004-09-21 Corinna Vinschen <corinna@vinschen.de> |
355 | ||
356 | * sysv_shm.cc (vm_object_reference): remove Cygwin specific define. | |
357 | (vm_map_find): Ditto. | |
358 | (vm_map_inherit): Ditto. | |
359 | (kern_shmat): On Cygwin, take shmaddr just as is. Don't call vm | |
360 | system calls on Cygwin. Add comment. | |
361 | ||
1dcd520b CV |
362 | 2004-09-15 Corinna Vinschen <corinna@vinschen.de> |
363 | ||
eb83d895 | 364 | Fix copyright throughout. |
1dcd520b CV |
365 | Eliminate use of _impure_ptr outside Cygwin. |
366 | * bsd_helper.cc: Include errno.h instead of cygerrno.h. | |
367 | * bsd_mutex.cc : Ditto. | |
368 | * client.cc: Ditto. | |
369 | * cygserver.cc: Ditto. | |
370 | * process.cc: Don't build functions inside Cygwin. Don't include | |
371 | cygerrno.h. Don't set errno. | |
372 | * transport_pipes.cc (SET_ERRNO): New define. Use througout. | |
373 | * transport_sockets.cc (SET_ERRNO): Ditto. | |
374 | (GET_ERRNO): Ditto. | |
375 | ||
ab21f18c CV |
376 | 2004-09-06 Corinna Vinschen <corinna@vinschen.de> |
377 | ||
378 | * bsd_mutex.cc (_msleep): Disable resetting event object for now. | |
379 | ||
f0720ce7 CV |
380 | 2004-08-31 Corinna Vinschen <corinna@vinschen.de> |
381 | ||
382 | * sysv_shm.cc (kern_shmat): Add debug_printf's. | |
383 | ||
1532dd53 CV |
384 | 2004-08-24 Corinna Vinschen <corinna@vinschen.de> |
385 | ||
386 | * bsd_mutex.cc (_msleep): Release process object while waiting. | |
387 | ||
8c976716 CV |
388 | 2004-08-03 Corinna Vinschen <corinna@vinschen.de> |
389 | ||
390 | * transport.cc (transport_layer_base::~transport_layer_base): Resurrect. | |
391 | * transport.h (transport_layer_base::~transport_layer_base): Ditto. | |
392 | ||
a9185492 CV |
393 | 2004-07-30 Corinna Vinschen <corinna@vinschen.de> |
394 | ||
395 | * bsd_mutex.cc (_msleep): Reset event object and close it before | |
396 | entering mutex. Turn order of conditional for better readability. | |
397 | ||
3bf02272 CV |
398 | 2004-07-26 Corinna Vinschen <corinna@vinschen.de> |
399 | ||
400 | * cygserver.conf: Describe relation between shmmaxpgs and SHMMAX. | |
401 | ||
96e949de CV |
402 | 2004-07-20 Corinna Vinschen <corinna@vinschen.de> |
403 | ||
404 | * bsd_helper.cc: Whitespace fixes. | |
405 | * bsd_mutex.cc: Ditto. | |
406 | ||
bb3be323 CV |
407 | 2004-07-19 Corinna Vinschen <corinna@vinschen.de> |
408 | ||
409 | * transport.cc (transport_layer_base::~transport_layer_base): Remove. | |
410 | * transport.h (transport_layer_base::~transport_layer_base): Ditto. | |
411 | ||
f8e58afb CV |
412 | 2004-07-19 Corinna Vinschen <corinna@vinschen.de> |
413 | ||
414 | * bsd_mutex.cc (win_priority): Actually calculate p from priority. | |
415 | ||
e9054f3f CV |
416 | 2004-06-03 Corinna Vinschen <corinna@vinschen.de> |
417 | ||
418 | * shm.cc (shmget): Explicitely set td_retval[0] to -1 on error. | |
419 | ||
d2714c5e CV |
420 | 2004-03-30 Corinna Vinschen <corinna@vinschen.de> |
421 | ||
422 | * sysv_shm.cc (shmget): Allow to retrieve shared memory segments | |
423 | by shmid when IPC_KEY_IS_SHMID is set. | |
424 | ||
ddb1a4c1 CV |
425 | 2004-03-02 Corinna Vinschen <corinna@vinschen.de> |
426 | ||
427 | * sysv_sem.cc (semundo_adjust): Check for process id instead of | |
428 | process struct pointer, which isn't fixed under Cygwin. | |
429 | (semexit_myhook): Ditto. Adjust debug print statements to print | |
430 | Cygwin and Windows PIDs instead of process pointer under Cygwin. | |
431 | ||
f5133f95 CV |
432 | 2004-02-07 Corinna Vinschen <corinna@vinschen.de> |
433 | ||
434 | * bsd_mutex.cc (win_priority): Move to msleep helper function section. | |
435 | (set_priority): Ditto. Fix formatting. | |
436 | (_msleep): Cleanup obj formatting. Rearrange obj order. | |
437 | ||
373a036f CV |
438 | 2004-02-06 Corinna Vinschen <corinna@vinschen.de> |
439 | ||
440 | * bsd_mutex.cc (_msleep): Handle PCATCH using signal_arrived event. | |
441 | * client.cc: Include sigproc.h. | |
442 | * msg.cc (client_request_msg::serve): Accomodate third parameter to | |
443 | process::process. | |
444 | * sem.cc (client_request_sem::serve): Ditto. | |
445 | * shm.cc (client_request_shm::serve): Ditto. | |
446 | * process.cc (process::process): Duplicate signal_arrived into | |
447 | Cygserver process space. | |
448 | (process::~process): Close _signal_arrived handle. | |
449 | (process_cache::process): Add signal_arrived handling. | |
450 | * process.h (process::process): Add signal_arrived parameter. | |
451 | (process:signal_arrived): New read accessor. | |
452 | (process:_signal_arrived): New member. | |
453 | (process_cache::process): Add signal_arrived parameter. | |
454 | ||
8e701438 CV |
455 | 2004-01-16 Corinna Vinschen <corinna@vinschen.de> |
456 | ||
457 | * process.h (cleanup_routine::~cleanup_routine): Make pure virtual | |
458 | function to avoid miscompilation with certain versions of gcc. | |
459 | * process.cc (cleanup_routine::~cleanup_routine): Remove. | |
460 | ||
91301b85 CF |
461 | 2003-12-26 Christopher Faylor <cgf@redhat.com> |
462 | ||
463 | * Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include. | |
464 | (CYGWIN_LIB): Delete. | |
465 | (cygserver.exe target): Add -L$(cygwin_build) to the link line to force | |
466 | linker to use build tree version of the library. Remove specific | |
467 | inclusion of libcygwin.a from the link line. | |
468 | ||
11377ba6 CV |
469 | 2003-12-16 Corinna Vinschen <corinna@vinschen.de> |
470 | ||
471 | * bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and | |
472 | kern.ipc.msgtql. Raise max value for kern.ipc.msgseg to 65535. | |
473 | * cygserver.conf: Add kern.ipc.msgmnb and kern.ipc.msgtql. | |
474 | * sysv_msg.cc (msginit): Add TUNABLE_INT_FETCH call for | |
475 | kern.ipc.msgmnb and kern.ipc.msgtql. | |
476 | ||
1d88f8ce CV |
477 | 2003-11-26 Corinna Vinschen <corinna@vinschen.de> |
478 | ||
479 | * cygserver.cc (main): Move call to ipcinit() up before installing | |
480 | any threads. | |
481 | * sysv_sem.cc: Update to FreeBSD version 1.67. | |
482 | (seminit): Initialize semaphore sequence numbers to 0. | |
483 | ||
a2acbfb1 CV |
484 | 2003-11-26 Corinna Vinschen <corinna@vinschen.de> |
485 | ||
486 | * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in | |
487 | the parallel cygwin dir. | |
488 | (cygserver.exe): Depend on and link against $CYGWIN_LIB. | |
489 | ||
af284c9c CF |
490 | 2003-11-25 Christopher Faylor <cgf@redhat.com> |
491 | ||
492 | * Makefile.in (CXXFLAGS): Remove duplicate options handled in | |
493 | Makefile.common. | |
494 | ||
c026d842 CV |
495 | 2003-11-22 Corinna Vinschen <corinna@vinschen.de> |
496 | ||
497 | * msg.cc (client_request_msg::serve): Add default case to msgop switch. | |
498 | * sem.cc (client_request_sem::serve): Add default case to semop switch. | |
499 | * shm.cc (client_request_shm::serve): Add default case to shmop switch. | |
500 | ||
4bd66285 CV |
501 | 2003-11-21 Corinna Vinschen <corinna@vinschen.de> |
502 | ||
503 | * Makefile.in (install): Explicitely create directories. Install | |
504 | README to $(prefix)/share/doc/Cygwin. | |
505 | * README: New file. | |
506 | ||
e74c79a8 CV |
507 | 2003-11-21 Corinna Vinschen <corinna@vinschen.de> |
508 | ||
509 | * cygserver.cc (print_usage): Fix scrambled output. | |
510 | ||
94cacaf6 CV |
511 | 2003-11-20 Corinna Vinschen <corinna@vinschen.de> |
512 | ||
513 | * cygserver-config: Slightly modify printed message. | |
514 | ||
72f11cac CV |
515 | 2003-11-20 Corinna Vinschen <corinna@vinschen.de> |
516 | ||
517 | * Makefile.in (install): Install cygserver-config script to bindir. | |
518 | * cygserver-config: New script. | |
519 | ||
282113ba CV |
520 | 2003-11-19 Corinna Vinschen <corinna@vinschen.de> |
521 | ||
522 | Don't use safe_new but new throughout. Fix copyright dates | |
523 | throughout. | |
524 | * Makefile.in: Accomodate all new files and name changes. | |
525 | Add a *.d dependency. | |
526 | (sbindir): Add. | |
527 | (etcdir): Drop in favor of more appropriate sysconfdir definition. | |
528 | (sysconfdir): Add. | |
529 | (CXXFLAGS): Add -MMD flag. Add SYSCONFDIR definition. | |
530 | (.SUFFIXES): Add. | |
531 | (install): Add action items. | |
532 | (libclean): New target. | |
533 | (fullclean): Ditto. | |
534 | * bsd_helper.cc: New file. | |
535 | * bsd_helper.h: Ditto. | |
536 | * bsd_log.cc: Ditto. | |
537 | * bsd_log.h: Ditto. | |
538 | * bsd_mutex.cc: Ditto. | |
539 | * bsd_mutex.h: Ditto. | |
540 | * client.cc: Rearrange to build as less as possible if | |
541 | __INSIDE_CYGWIN__. | |
542 | (client_request::handle_request): Add Message Queue and Semaphore | |
543 | handling. | |
544 | * cygserver.cc: Rearrange to build as less as possible if | |
545 | __INSIDE_CYGWIN__. Use new debug/log/panic logging functions. | |
546 | (DEF_CONFIG_FILE): New definition for configuration file. Use | |
547 | throughout. | |
548 | (getfunc): Remove. | |
549 | (__cygserver__printf): Remove. | |
550 | (client_request_attach_tty::serve): Return error if impersonation | |
551 | fails. | |
552 | (print_usage): Pump up help message. | |
553 | (print_version): Add output of default configuration file. | |
554 | (main): Accommodate new options. Allow overwrite of threading options | |
555 | from config file. Call several new initialization functions. Drop | |
556 | printing dots. Don't define SIGHANDLE inline. | |
557 | * cygserver.conf: New file. | |
558 | * cygserver_process.h: Rename to process.h. | |
559 | * cygserver_transport.h: Rename to transport.h. | |
560 | * cygserver_transport_pipes.h: Rename to transport_pipes.h. | |
561 | * cygserver_transport_sockets.h: Rename to transport_sockets.h. | |
562 | * msg.cc: Rewrite. | |
563 | * sem.cc: Rewrite. | |
564 | * shm.cc: Rewrite. | |
565 | * sysv_msg.cc: New file, derived from FreeBSD version 1.52. | |
566 | * sysv_sem.cc: New file, derived from FreeBSD version 1.66. | |
567 | * sysv_shm.cc: New file, derived from FreeBSD version 1.89. | |
568 | * threaded_queue.cc: Rearrange to build as less as possible if | |
569 | __INSIDE_CYGWIN__. | |
570 | * transport.cc (transport_layer_base::impersonate_client): Define bool. | |
571 | (transport_layer_base::revert_to_self): Ditto. | |
572 | * transport.h (transport_layer_base::impersonate_client): Declare bool. | |
573 | (transport_layer_base::revert_to_self): Ditto. | |
574 | * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): | |
575 | Don't call init_security. | |
576 | (init_security): Remove. | |
577 | (transport_layer_pipes::accept): Use global sec_all_nih. | |
578 | (transport_layer_pipes::connect): Ditto. | |
579 | (transport_layer_pipes::impersonate_client): Define bool. | |
580 | (transport_layer_pipes::revert_to_self): Ditt. | |
581 | * transport_pipes.h (transport_layer_pipes::impersonate_client): Declare | |
582 | bool. | |
583 | (transport_layer_pipes::revert_to_self): Ditto. | |
584 | * woutsup.h: Include bsd compatibility headers. | |
585 | (SIGHANDLE): Add definition. | |
586 | (__cygserver__printf): Remove definition. | |
587 | (__noop_printf): Ditto. | |
588 | (debug_printf): Define using debug. | |
589 | (syscall_printf): Define using log. | |
590 | (system_printf): Ditto. | |
591 | Drop all other _printf definitions. | |
592 | ||
56797078 CV |
593 | 2003-10-22 Corinna Vinschen <corinna@vinschen.de> |
594 | ||
595 | Accomodate moving cygserver header files from cygwin/include/cygwin | |
596 | to here and cygwin dir. | |
597 | * Makefile.in (EXEEXT): Drop as unused. | |
598 | (EXEEXT_FOR_BUILD): Ditto. | |
599 | (all): Don't build libcygserver.a. | |
600 | * cygserver_process.h: Moved from cygwin/include/cygwin to here. | |
601 | * cygserver_transport.h: Ditto. | |
602 | * cygserver_transport_pipes.h: Ditto. | |
603 | * cygserver_transport_sockets.h: Ditto. | |
604 | * ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h. | |
605 | * shm.h: Moved to ../cygwin and renamed to cygserver_shm.h. | |
606 | ||
a245bd6e CF |
607 | 2003-08-30 Christopher Faylor <cgf@redhat.com> |
608 | ||
609 | * msg.cc: New file. | |
610 | * sem.cc: Ditto. | |
611 | ||
9540fc59 CF |
612 | 2003-08-30 Christopher Faylor <cgf@redhat.com> |
613 | ||
614 | * threaded_queue.h: New file. | |
615 | ||
29c1c508 CF |
616 | 2003-08-25 Christopher Faylor <cgf@redhat.com> |
617 | ||
618 | * Makefile.in: Build libcygserver.a. | |
619 | * client.cc: Rename allow_daemon to allow_server. | |
620 | ||
ddb67621 CF |
621 | 2003-07-25 Christopher Faylor <cgf@redhat.com> |
622 | ||
623 | * configure.in: Use 'install-sh -c'. | |
624 | * configure: Regenerate. | |
625 | ||
7f4773b3 CF |
626 | 2003-07-25 Christopher Faylor <cgf@redhat.com> |
627 | ||
628 | * configure.in: Always use install-sh. | |
629 | * configure: Regenerate. | |
630 | ||
4d8d80b8 CF |
631 | 2003-07-01 Christopher Faylor <cgf@redhat.com> |
632 | ||
633 | * Makefile.in (OBJS): Move some more files from cygwin directory. | |
634 | * woutsup.h: Define _MT_SAFE. | |
635 | ||
345ee543 CF |
636 | 2003-07-01 Christopher Faylor <cgf@redhat.com> |
637 | ||
638 | * configure.in: First pass. | |
639 | * Makefile.in: Ditto. | |
640 | * configure: Generate. |