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