OSDN Git Service

* cygserver.conf: Describe relation between shmmaxpgs and SHMMAX.
[pf3gnuchains/pf3gnuchains4x.git] / winsup / cygserver / ChangeLog
1 2004-07-26  Corinna Vinschen  <corinna@vinschen.de>
2
3         * cygserver.conf: Describe relation between shmmaxpgs and SHMMAX.
4
5 2004-07-20  Corinna Vinschen  <corinna@vinschen.de>
6
7         * bsd_helper.cc: Whitespace fixes.
8         * bsd_mutex.cc: Ditto.
9
10 2004-07-19  Corinna Vinschen  <corinna@vinschen.de>
11
12         * transport.cc (transport_layer_base::~transport_layer_base): Remove.
13         * transport.h (transport_layer_base::~transport_layer_base): Ditto.
14
15 2004-07-19  Corinna Vinschen  <corinna@vinschen.de>
16
17         * bsd_mutex.cc (win_priority): Actually calculate p from priority.
18
19 2004-06-03  Corinna Vinschen  <corinna@vinschen.de>
20
21         * shm.cc (shmget): Explicitely set td_retval[0] to -1 on error.
22
23 2004-03-30  Corinna Vinschen  <corinna@vinschen.de>
24
25         * sysv_shm.cc (shmget): Allow to retrieve shared memory segments
26         by shmid when IPC_KEY_IS_SHMID is set.
27
28 2004-03-02  Corinna Vinschen  <corinna@vinschen.de>
29
30         * sysv_sem.cc (semundo_adjust): Check for process id instead of
31         process struct pointer, which isn't fixed under Cygwin.
32         (semexit_myhook): Ditto.  Adjust debug print statements to print
33         Cygwin and Windows PIDs instead of process pointer under Cygwin.
34
35 2004-02-07  Corinna Vinschen  <corinna@vinschen.de>
36
37         * bsd_mutex.cc (win_priority): Move to msleep helper function section.
38         (set_priority): Ditto. Fix formatting.
39         (_msleep): Cleanup obj formatting.  Rearrange obj order.
40
41 2004-02-06  Corinna Vinschen  <corinna@vinschen.de>
42
43         * bsd_mutex.cc (_msleep): Handle PCATCH using signal_arrived event.
44         * client.cc: Include sigproc.h.
45         * msg.cc (client_request_msg::serve): Accomodate third parameter to
46         process::process.
47         * sem.cc (client_request_sem::serve): Ditto.
48         * shm.cc (client_request_shm::serve): Ditto.
49         * process.cc (process::process): Duplicate signal_arrived into
50         Cygserver process space.
51         (process::~process): Close _signal_arrived handle.
52         (process_cache::process): Add signal_arrived handling.
53         * process.h (process::process): Add signal_arrived parameter.
54         (process:signal_arrived): New read accessor.
55         (process:_signal_arrived): New member.
56         (process_cache::process): Add signal_arrived parameter.
57
58 2004-01-16  Corinna Vinschen  <corinna@vinschen.de>
59
60         * process.h (cleanup_routine::~cleanup_routine): Make pure virtual
61         function to avoid miscompilation with certain versions of gcc.
62         * process.cc (cleanup_routine::~cleanup_routine): Remove.
63
64 2003-12-26  Christopher Faylor  <cgf@redhat.com>
65
66         * Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
67         (CYGWIN_LIB): Delete.
68         (cygserver.exe target): Add -L$(cygwin_build) to the link line to force
69         linker to use build tree version of the library.  Remove specific
70         inclusion of libcygwin.a from the link line.
71
72 2003-12-16  Corinna Vinschen  <corinna@vinschen.de>
73
74         * bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and
75         kern.ipc.msgtql.  Raise max value for kern.ipc.msgseg to 65535.
76         * cygserver.conf: Add kern.ipc.msgmnb and kern.ipc.msgtql.
77         * sysv_msg.cc (msginit): Add TUNABLE_INT_FETCH call for
78         kern.ipc.msgmnb and kern.ipc.msgtql.
79
80 2003-11-26  Corinna Vinschen  <corinna@vinschen.de>
81
82         * cygserver.cc (main): Move call to ipcinit() up before installing
83         any threads.
84         * sysv_sem.cc: Update to FreeBSD version 1.67.
85         (seminit): Initialize semaphore sequence numbers to 0.
86
87 2003-11-26  Corinna Vinschen  <corinna@vinschen.de>
88
89         * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
90         the parallel cygwin dir.
91         (cygserver.exe): Depend on and link against $CYGWIN_LIB.
92
93 2003-11-25  Christopher Faylor  <cgf@redhat.com>
94
95         * Makefile.in (CXXFLAGS): Remove duplicate options handled in
96         Makefile.common.
97
98 2003-11-22  Corinna Vinschen  <corinna@vinschen.de>
99
100         * msg.cc (client_request_msg::serve): Add default case to msgop switch.
101         * sem.cc (client_request_sem::serve): Add default case to semop switch.
102         * shm.cc (client_request_shm::serve): Add default case to shmop switch.
103
104 2003-11-21  Corinna Vinschen  <corinna@vinschen.de>
105
106         * Makefile.in (install): Explicitely create directories.  Install
107         README to $(prefix)/share/doc/Cygwin.
108         * README: New file.
109
110 2003-11-21  Corinna Vinschen  <corinna@vinschen.de>
111
112         * cygserver.cc (print_usage): Fix scrambled output.
113
114 2003-11-20  Corinna Vinschen  <corinna@vinschen.de>
115
116         * cygserver-config: Slightly modify printed message.
117
118 2003-11-20  Corinna Vinschen  <corinna@vinschen.de>
119
120         * Makefile.in (install): Install cygserver-config script to bindir.
121         * cygserver-config: New script.
122
123 2003-11-19  Corinna Vinschen  <corinna@vinschen.de>
124
125         Don't use safe_new but new throughout.  Fix copyright dates
126         throughout.
127         * Makefile.in: Accomodate all new files and name changes.
128         Add a *.d dependency.
129         (sbindir): Add.
130         (etcdir): Drop in favor of more appropriate sysconfdir definition.
131         (sysconfdir): Add.
132         (CXXFLAGS): Add -MMD flag. Add SYSCONFDIR definition.
133         (.SUFFIXES): Add.
134         (install): Add action items.
135         (libclean): New target.
136         (fullclean): Ditto.
137         * bsd_helper.cc: New file.
138         * bsd_helper.h: Ditto.
139         * bsd_log.cc: Ditto.
140         * bsd_log.h: Ditto.
141         * bsd_mutex.cc: Ditto.
142         * bsd_mutex.h: Ditto.
143         * client.cc: Rearrange to build as less as possible if
144         __INSIDE_CYGWIN__.
145         (client_request::handle_request): Add Message Queue and Semaphore
146         handling.
147         * cygserver.cc: Rearrange to build as less as possible if
148         __INSIDE_CYGWIN__. Use new debug/log/panic logging functions.
149         (DEF_CONFIG_FILE): New definition for configuration file.  Use
150         throughout.
151         (getfunc): Remove.
152         (__cygserver__printf): Remove.
153         (client_request_attach_tty::serve): Return error if impersonation
154         fails.
155         (print_usage): Pump up help message.
156         (print_version): Add output of default configuration file.
157         (main): Accommodate new options.  Allow overwrite of threading options
158         from config file.  Call several new initialization functions.  Drop
159         printing dots.  Don't define SIGHANDLE inline.
160         * cygserver.conf: New file.
161         * cygserver_process.h: Rename to process.h.
162         * cygserver_transport.h: Rename to transport.h.
163         * cygserver_transport_pipes.h: Rename to transport_pipes.h.
164         * cygserver_transport_sockets.h: Rename to transport_sockets.h.
165         * msg.cc: Rewrite.
166         * sem.cc: Rewrite.
167         * shm.cc: Rewrite.
168         * sysv_msg.cc: New file, derived from FreeBSD version 1.52.
169         * sysv_sem.cc: New file, derived from FreeBSD version 1.66.
170         * sysv_shm.cc: New file, derived from FreeBSD version 1.89.
171         * threaded_queue.cc: Rearrange to build as less as possible if
172         __INSIDE_CYGWIN__.
173         * transport.cc (transport_layer_base::impersonate_client): Define bool.
174         (transport_layer_base::revert_to_self): Ditto.
175         * transport.h (transport_layer_base::impersonate_client): Declare bool.
176         (transport_layer_base::revert_to_self): Ditto.
177         * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
178         Don't call init_security.
179         (init_security): Remove.
180         (transport_layer_pipes::accept): Use global sec_all_nih.
181         (transport_layer_pipes::connect): Ditto.
182         (transport_layer_pipes::impersonate_client): Define bool.
183         (transport_layer_pipes::revert_to_self): Ditt.
184         * transport_pipes.h (transport_layer_pipes::impersonate_client): Declare
185         bool.
186         (transport_layer_pipes::revert_to_self): Ditto.
187         * woutsup.h: Include bsd compatibility headers.
188         (SIGHANDLE): Add definition.
189         (__cygserver__printf): Remove definition.
190         (__noop_printf): Ditto.
191         (debug_printf): Define using debug.
192         (syscall_printf): Define using log.
193         (system_printf): Ditto.
194         Drop all other _printf definitions.
195
196 2003-10-22  Corinna Vinschen  <corinna@vinschen.de>
197
198         Accomodate moving cygserver header files from cygwin/include/cygwin
199         to here and cygwin dir.
200         * Makefile.in (EXEEXT): Drop as unused.
201         (EXEEXT_FOR_BUILD): Ditto.
202         (all): Don't build libcygserver.a.
203         * cygserver_process.h: Moved from cygwin/include/cygwin to here.
204         * cygserver_transport.h: Ditto.
205         * cygserver_transport_pipes.h: Ditto.
206         * cygserver_transport_sockets.h: Ditto.
207         * ipc.h: Moved to ../cygwin and renamed to cygserver_ipc.h.
208         * shm.h: Moved to ../cygwin and renamed to cygserver_shm.h.
209
210 2003-08-30  Christopher Faylor  <cgf@redhat.com>
211
212         * msg.cc: New file.
213         * sem.cc: Ditto.
214
215 2003-08-30  Christopher Faylor  <cgf@redhat.com>
216
217         * threaded_queue.h: New file.
218
219 2003-08-25  Christopher Faylor  <cgf@redhat.com>
220
221         * Makefile.in: Build libcygserver.a.
222         * client.cc: Rename allow_daemon to allow_server.
223
224 2003-07-25  Christopher Faylor  <cgf@redhat.com>
225
226         * configure.in: Use 'install-sh -c'.
227         * configure: Regenerate.
228
229 2003-07-25  Christopher Faylor  <cgf@redhat.com>
230
231         * configure.in: Always use install-sh.
232         * configure: Regenerate.
233
234 2003-07-01  Christopher Faylor  <cgf@redhat.com>
235
236         * Makefile.in (OBJS): Move some more files from cygwin directory.
237         * woutsup.h: Define _MT_SAFE.
238
239 2003-07-01  Christopher Faylor  <cgf@redhat.com>
240
241         * configure.in: First pass.
242         * Makefile.in: Ditto.
243         * configure: Generate.