]> sourceware.org Git - newlib-cygwin.git/blob - winsup/cygwin/ChangeLog
* mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
[newlib-cygwin.git] / winsup / cygwin / ChangeLog
1 2003-01-16 Jason Tishler <jason@tishler.net>
2
3 * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
4 ReadProcessMemory() error codes that trigger a retry with temporary
5 PAGE_READONLY access. Note that this can occur on NT 4.0.
6
7 2003-01-15 Christopher Faylor <cgf@redhat.com>
8
9 * path.cc (normalize_posix_path): Convert win32 path separators to
10 slashes when full path is specified.
11
12 2003-01-15 Pierre Humblet <pierre.humblet@ieee.org>
13
14 * cmalloc.cc (_cmalloc): Fix memory leak.
15
16 2003-01-15 Corinna Vinschen <corinna@vinschen.de>
17
18 * autoload.cc: Fix copyright date.
19 * fhandler_dsp.cc: Ditto.
20 * mmap.cc: Ditto.
21 * net.cc: Ditto.
22 * ntdll.h: Ditto.
23 * signal.cc: Ditto.
24 * syscalls.cc: Ditto.
25 * uname.cc: Ditto.
26 * wait.cc: Ditto.
27
28 2003-01-14 Corinna Vinschen <corinna@vinschen.de>
29
30 * mmap.cc (fixup_mmaps_after_fork): Copy protection to child process.
31 Change ambiguous debug output.
32
33 2003-01-14 Corinna Vinschen <corinna@vinschen.de>
34
35 * mmap.cc (mmap_record::access): Change argument type to caddr_t
36 for strictness.
37 (mprotect): Protect against calling VirtualProtect() for shared
38 pages on 9x/Me.
39 (fixup_mmaps_after_fork): If ReadProcessMemory() fails, try to
40 change protection of parent page to PAGE_READONLY, then try again.
41 Revert protection afterwards.
42
43 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
44
45 * syscalls.cc (system): Add pthread_testcancel call.
46 * thread.cc: Update list of cancellation points.
47
48 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
49
50 * wait.cc: Include thread.h
51 (wait4): Add pthread_testcancel call.
52 Wait for child process and cancellation event.
53 * thread.cc: Update list of cancellation points.
54
55 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
56
57 * signal.cc (sleep): Add pthread_testcancel call.
58 Wait for signal and cancellation event.
59 (usleep): Ditto.
60
61 2003-01-14 Thomas Pfaff <tpfaff@gmx.net>
62
63 * exceptions.cc (handle_sigsuspend): Add pthread_testcancel call.
64 Wait for signal and cancellation event.
65 * thread.cc: Update list of cancellation points.
66
67 2003-01-14 David Huang <davehzhr@hotmail.com>
68
69 * fhandler_dsp.cc (fhandler_dsp::ioctl): Add limited support for
70 SNDCTL_DSP_GETFMTS.
71
72 2003-01-12 Christopher Faylor <cgf@redhat.com>
73
74 * ntdll.h: Fix typo.
75
76 2003-01-12 Corinna Vinschen <corinna@vinschen.de>
77
78 * uname.cc (uname): Use cygwin_gethostname() to retrieve hostname.
79
80 2003-01-12 Pierre Humblet <pierre.humblet@ieee.org>
81
82 * sec_acl.cc (search_ace): Use id == -1, instead of < 0, as wildcard.
83 (setacl): Start the search for a matching default at the next entry.
84 Invalidate the type of merged entries instead of clearing it.
85 Use well_known_creator for default owner and owning group and do
86 not try to merge non-default and default entries in these cases.
87 (getacl): Recognize well_known_creator for default owner and group.
88 (acl_worker): Improve errno settings and streamline the nontsec case.
89 * security.cc (write_sd): Remove the call to set_process_privilege.
90 (alloc_sd): If the owner changes, call set_process_privilege and return
91 immediately on failure. Change inheritance rules: on new directories add
92 inherit only allow ACEs for creator_owner, creator_group and everyone.
93 Preserve all inheritances through chmod and chown calls. Introduce
94 isownergroup to implement the uid == gid case, to keep the inheritance
95 code simple. Do not initialize owner_sid and group_sid and stop using
96 the variable psd.
97
98 2003-01-10 Christopher Faylor <cgf@redhat.com>
99
100 * net.cc: Use gethostname define from winsock2.h.
101
102 2003-01-10 Christopher Faylor <cgf@redhat.com>
103
104 * path.cc: Unrevert below reversion except for
105 mount_info::conv_to_posix_path part.
106
107 2003-01-10 Corinna Vinschen <corinna@vinschen.de>
108
109 * path.cc: Revert patch from 2003-01-09 to normalize a windows path
110 rather than converting to posix.
111
112 2003-01-10 Corinna Vinschen <corinna@vinschen.de>
113
114 * autoload.cc (gethostname): Make call optional, return 1 if function
115 can't get loaded.
116 * net.cc (cygwin_gethostname): Call GetComputerName if return value
117 of gethostname is non-zero.
118
119 2003-01-10 Charles Wilson <cwilson@ece.gatech.edu>
120
121 * cygwin.din: Add asprintf and vasprintf, as well as the reentrant
122 versions and underscore variants.
123 * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
124
125 2003-01-10 Corinna Vinschen <corinna@vinschen.de>
126
127 * net.cc (cygwin_gethostname): Fix call to wsock function gethostname.
128
129 2003-01-09 Christopher Faylor <cgf@redhat.com>
130
131 * cygthread.cc (cygthread::cygthread): Be more noisy about odd
132 condition.
133 * miscfuncs.cc (low_priority_sleep): Sleep in regular priority if
134 that's what we're currently running at.
135
136 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
137
138 * include/semaphore.h: Modify typedef for sem_t.
139 * include/cygwin/types.h: Modify typedefs for pthread_t,
140 pthread_mutex_t, pthread_key_t, pthread_attr_t,
141 pthread_mutexattr_t, pthread_condattr_t, pthread_cond_t,
142 pthread_rwlock_t and pthread_rwlockattr_t.
143
144 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
145
146 * thread.h (WAIT_CANCELED): New define.
147 (pthread::cancelable_wait): New static method.
148 * thread.cc (pthread::cancelable_wait): Implement.
149 (semaphore::Wait): Wait on semaphore and thread cancellation.
150 (pthread::join): Wait on joined thread and thread cancellation.
151 (semaphore::wait): Add testcancel to check for thread
152 cancellation even if the semaphore is available.
153
154 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
155
156 * include/pthread.h: Add define for errorchecking mutexes.
157 Change default mutex type.
158 * thread.cc (pthread_cond::TimedWait): Update mutex unlock
159 calls.
160 (pthread_mutex::pthread_mutex): New implement.
161 (pthread_mutex::~pthread_mutex): Ditto.
162 (pthread_mutex::Lock): Ditto.
163 (pthread_mutex::TryLock): Ditto.
164 (pthread_mutex::UnLock): Ditto.
165 (pthread_mutex::Destroy): Implement new method.
166 (pthread_mutex::SetOwner): Ditto.
167 (pthread_mutex::LockRecursive): Ditto.
168 (pthread_mutex::fixup_after_fork): Restore locking state after
169 fork.
170 (__pthread_mutex_lock): Return pthread_mutex::Lock errorcode.
171 (__pthread_mutex_trylock): Return pthread_mutex::TryLock
172 errorcode.
173 (__pthread_mutex_unlock): Return pthread_mutex::UnLock
174 errorcode.
175 (__pthread_mutex_destroy): Call pthread_mutex::Destroy to
176 destroy mutex.
177 (__pthread_mutexattr_settype): Allow errorchecking and recursive
178 types.
179 * thread.h (MUTEX_LOCK_COUNTER_INITIAL): New define.
180 (pthread_mutex::criticalsection): Remove.
181 (pthread_mutex::lock_counter): New member.
182 (pthread_mutex::recursion_counter): Ditto.
183 (pthread_mutex::owner): Ditto.
184 (pthread_mutex::type): Ditto.
185 (pthread_mutex::Destroy): New method.
186 (pthread_mutex::SetOwner): Ditto.
187 (pthread_mutex::LockRecursive): Ditto.
188
189 2003-01-09 Thomas Pfaff <tpfaff@gmx.net>
190
191 * pthread.cc (pthread_cond_init): Use new pthread_cond::init.
192 * thread.cc: Some white spaces cleanups.
193 Change __pthread_cond_init to pthread_cond::init throughout.
194 (nativeMutex): Move class methods outside pthread_mutex.
195 (MTinterface::Init): Initialize pthread_cond init lock.
196 (pthread_cond::condInitializationLock): Instantiate.
197 (pthread_cond::initMutex): New Method.
198 (pthread_cond::isGoodInitializerOrBadObject): Ditto.
199 * thread.h: Some white spaces cleanups.
200 (nativeMutex): Move class declaration outside pthread_mutex.
201 (pthread_cond::condInitializationLock): New static member.
202 (pthread_cond::initMutex): New Method.
203 (pthread_cond::isGoodInitializerOrBadObject): Ditto.
204 (__pthread_cond_init): Remove prototype.
205
206 2003-01-09 Corinna Vinschen <corinna@vinschen.de>
207
208 * fhandler_disk_file.cc (num_entries): Return 2 as link count if
209 directory unreadable.
210
211 2003-01-09 Corinna Vinschen <corinna@vinschen.de>
212
213 * security.cc (get_nt_attribute): Always return -1 when read_sd()
214 fails.
215 (get_file_attribute): Set permissions to 0 and owner/group to -1
216 if security descriptor is unreadable.
217
218 2003-01-09 Christopher Faylor <cgf@redhat.com>
219
220 Use isdirsep rather than SLASH_P throughout.
221 * path.cc (iscygdrive): Disallow /cygdrive\x.
222 (normalize_posix_path): "Normalize" a windows path, if detected, rather
223 than converting to posix.
224
225 2003-01-06 Troy Curtiss <troyc@usa.net>
226
227 * fhandler_serial.cc (fhandler_serial::tcsetattr): Add support and
228 capability checking for B230400 bitrate.
229 (fhandler_serial::tcgetattr): Add support for B230400 bitrate.
230 * include/sys/termios.h: Add B230400 definition for Posix support of
231 230.4Kbps.
232
233 2003-01-05 Christopher Faylor <cgf@redhat.com>
234
235 * pinfo.cc (_pinfo::commune_send): Use myself->lock rather than just
236 lock when leaving.
237
238 2003-01-03 Christopher Faylor <cgf@redhat.com>
239
240 * dtable.h (dtable::in_vfork_cleanup): New function. True if vfork
241 cleanup needed.
242 * dtable.cc (dtable::vfork_parent_restore): Remove assertion.
243 * pipe.cc (fhandler_pipe::close): Don't close read_state during
244 fork_fixup since it wasn't inherited.
245
246 2003-01-01 Christopher Faylor <cgf@redhat.com>
247
248 * passwd.cc (getpwuid_r32): Revert previous change.
249
250 2003-01-01 Christopher Faylor <cgf@redhat.com>
251
252 * sysconf.cc (sysconf): Return arbitrary values for
253 _SC_GETGR_R_SIZE_MAX, _SC_LOGIN_NAME_MAX, _SC_GETPW_R_SIZE_MAX.
254
255 * passwd.cc (getpwuid_r32): Add uid/gid fields to size check
256 calculation.
257
This page took 0.046679 seconds and 6 git commands to generate.