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