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