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