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