1 |
1026 |
ivang |
2001-05-17 Joel Sherrill
|
2 |
|
|
|
3 |
|
|
* libc/envlock.c: Implemented code to let newlib's envlock share
|
4 |
|
|
the libio open/close mutex. Since both should be lightly used,
|
5 |
|
|
this should not lead to problems and saves resources.
|
6 |
|
|
|
7 |
|
|
2002-05-15 Chris Johns
|
8 |
|
|
|
9 |
|
|
* libc/newlibc.c: Per PR141, move the C library re-enterrant
|
10 |
|
|
support directly into the thread dispatch code. RTEMS needs
|
11 |
|
|
libc and so requiring libc to use a user extension with its
|
12 |
|
|
overhead is not the best solution. This patch lowers the
|
13 |
|
|
overhead to 2 pointer moves.
|
14 |
|
|
|
15 |
|
|
2001-05-15 Joel Sherrill
|
16 |
|
|
|
17 |
|
|
* libc/Makefile.am: envlock.c should only be built for embedded
|
18 |
|
|
targets using newlib.
|
19 |
|
|
|
20 |
|
|
2001-05-14 Till Straumann
|
21 |
|
|
|
22 |
|
|
* Per PR212, added envlock support for newlib. This is used
|
23 |
|
|
by at least getenv()/putenv() to avoid race conditions.
|
24 |
|
|
* libc/envlock.c: New file.
|
25 |
|
|
* libc/Makefile.am: Modified to reflect above.
|
26 |
|
|
|
27 |
|
|
2002-05-03 Ralf Corsepius
|
28 |
|
|
|
29 |
|
|
* include/Makefile.am: Remove.
|
30 |
|
|
* include/sys/utsname.h: Added, removed times (now in newlib).
|
31 |
|
|
* Makefile.am: Merge include/Makefile.am
|
32 |
|
|
|
33 |
|
|
* libc/utsname.c: Relocated from posix/src.
|
34 |
|
|
* libc/Makefile.am: Reflect changes above.
|
35 |
|
|
|
36 |
|
|
* configure.ac: Remove include/Makefile
|
37 |
|
|
|
38 |
|
|
2002-05-14 Ralf Corsepius
|
39 |
|
|
|
40 |
|
|
* include/sys/ioctl.h: Relocated from libnetworking/sys.
|
41 |
|
|
* include/sys/filio.h: Relocated from libnetworking/sys.
|
42 |
|
|
* include/sys/sockio.h: Relocated from libnetworking/sys.
|
43 |
|
|
* include/Makefile.am: Reflect changes above.
|
44 |
|
|
* configure.ac: Take out *NETWORKING*.
|
45 |
|
|
|
46 |
|
|
2001-04-26 Joel Sherrill
|
47 |
|
|
|
48 |
|
|
* libc/gxx_wrappers.c: Fix to keep prototype same as in gcc and
|
49 |
|
|
remove warning.
|
50 |
|
|
|
51 |
|
|
2002-04-17 Ralf Corsepius
|
52 |
|
|
|
53 |
|
|
* libc/scandir.c: Initialize nitems = 0.
|
54 |
|
|
|
55 |
|
|
2002-04-16 Ralf Corsepius
|
56 |
|
|
|
57 |
|
|
* include/Makefile.am: Add stdint.h and inttypes.h.
|
58 |
|
|
(reported by Mike Siers )
|
59 |
|
|
* include/stdint.h: New file.
|
60 |
|
|
* include/inttypes.h: New file.
|
61 |
|
|
|
62 |
|
|
2002-04-06 Ralf Corsepius
|
63 |
|
|
|
64 |
|
|
* libc/stat.c: include .
|
65 |
|
|
* libc/printk.c: Remove libcpu/cpu.h.
|
66 |
|
|
|
67 |
|
|
2002-04-02 Ralf Corsepius
|
68 |
|
|
|
69 |
|
|
* libc/ctermid.c: Include .
|
70 |
|
|
* libc/ttyname.c: Ditto.
|
71 |
|
|
* libc/ttyname_r.c: Ditto.
|
72 |
|
|
|
73 |
|
|
2002-03-27 Ralf Corsepius
|
74 |
|
|
|
75 |
|
|
* configure.ac:
|
76 |
|
|
AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
|
77 |
|
|
AM_INIT_AUTOMAKE([no-define foreign 1.6]).
|
78 |
|
|
* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
79 |
|
|
* Makefile.am: Remove AUTOMAKE_OPTIONS.
|
80 |
|
|
* libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
|
81 |
|
|
|
82 |
|
|
2001-03-20 Joel Sherrill
|
83 |
|
|
|
84 |
|
|
* PR143
|
85 |
|
|
* lib/include/rtems/termiostypes.h: Removed unneeded volatile on
|
86 |
|
|
"theBuf" since no byte is read more than once anyway.
|
87 |
|
|
|
88 |
|
|
2002-03-01 Eric Norum
|
89 |
|
|
|
90 |
|
|
* libc/gxx_wrappers.c: Task is not preemptable while running a
|
91 |
|
|
pthread_once init function. This is slightly less heavy handed
|
92 |
|
|
than disabling dispatching and seems better than consuming a mutex.
|
93 |
|
|
|
94 |
|
|
2001-01-31 Mike Siers
|
95 |
|
|
|
96 |
|
|
* Nice Update of PPPD support which eliminates the
|
97 |
|
|
requiremetn that drivers be in the termios TASK_DRIVEN mode.
|
98 |
|
|
Mike did significant testing and reports that it seems to be
|
99 |
|
|
more stable and handle larger packets better. This patch
|
100 |
|
|
replaces the termios tasks with more general pppd network
|
101 |
|
|
driver tasks. The functions pppinput() and pppstart() get
|
102 |
|
|
called from the interrupt service routine.
|
103 |
|
|
* libc/termios.c: Added PPCDISC.
|
104 |
|
|
|
105 |
|
|
2002-02-09 Ralf Corsepius
|
106 |
|
|
|
107 |
|
|
* include/rtems/libio.h: Add #include .
|
108 |
|
|
Reflect changes due to using rtems/fs.h.
|
109 |
|
|
* include/rtems/libio_.h: Reworked.
|
110 |
|
|
|
111 |
|
|
2002-02-07 Ralf Corsepius
|
112 |
|
|
|
113 |
|
|
* libc/gxx_wrappers.c: Add #include .
|
114 |
|
|
|
115 |
|
|
2002-02-05 Ralf Corsepius
|
116 |
|
|
|
117 |
|
|
* libc/Makefile.am: Add MULTISUBDIR support.
|
118 |
|
|
* libc/fcntl.c: Add #include .
|
119 |
|
|
* libc/privateenv.c: Add #include .
|
120 |
|
|
|
121 |
|
|
2002-01-04 Ralf Corsepius
|
122 |
|
|
|
123 |
|
|
* include/rtems/libio_.h: Remove set_errno_and_return_minus_one.
|
124 |
|
|
* libc/cfsetispeed.c: Include .
|
125 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
126 |
|
|
* libc/cfsetospeed.c: Include .
|
127 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
128 |
|
|
* libc/chdir.c: Include .
|
129 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
130 |
|
|
* libc/chmod.c: Include .
|
131 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
132 |
|
|
* libc/chown.c: Include .
|
133 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
134 |
|
|
* libc/chroot.c: Include .
|
135 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
136 |
|
|
* libc/closedir.c: Include .
|
137 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
138 |
|
|
* libc/eval.c: Include .
|
139 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
140 |
|
|
* libc/fchdir.c: Include .
|
141 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
142 |
|
|
* libc/fchmod.c: Include .
|
143 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
144 |
|
|
* libc/fdatasync.c: Include .
|
145 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
146 |
|
|
* libc/fpathconf.c: Include .
|
147 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
148 |
|
|
* libc/fstat.c: Include .
|
149 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
150 |
|
|
* libc/fsync.c: Include .
|
151 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
152 |
|
|
* libc/ftruncate.c: Include .
|
153 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
154 |
|
|
* libc/getdents.c: Include .
|
155 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
156 |
|
|
* libc/ioctl.c: Include .
|
157 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
158 |
|
|
* libc/link.c: Include .
|
159 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
160 |
|
|
* libc/lseek.c: Include .
|
161 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
162 |
|
|
* libc/mknod.c: Include .
|
163 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
164 |
|
|
* libc/open.c: Include .
|
165 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
166 |
|
|
* libc/read.c: Include .
|
167 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
168 |
|
|
* libc/readlink.c: Include .
|
169 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
170 |
|
|
* libc/rmdir.c: Include .
|
171 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
172 |
|
|
* libc/stat.c: Include .
|
173 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
174 |
|
|
* libc/symlink.c: Include .
|
175 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
176 |
|
|
* libc/tcsetattr.c: Include .
|
177 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
178 |
|
|
* libc/telldir.c: Include .
|
179 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
180 |
|
|
* libc/ttyname.c: Include .
|
181 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
182 |
|
|
* libc/ttyname_r.c: Include .
|
183 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
184 |
|
|
* libc/unlink.c: Include .
|
185 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
186 |
|
|
* libc/unmount.c: Include .
|
187 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
188 |
|
|
* libc/utime.c: Include .
|
189 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
190 |
|
|
* libc/write.c: Include .
|
191 |
|
|
Apply rtems_set_errno_and_return_minus_one.
|
192 |
|
|
|
193 |
|
|
2002-01-03 Ralf Corsepius
|
194 |
|
|
|
195 |
|
|
* libc/printk.c: Include rtems/bspIo.h instead of bspIo.h.
|
196 |
|
|
* include/Makefile.am: Remove bspIo.h.
|
197 |
|
|
* include/bspIo.h: Removed.
|
198 |
|
|
|
199 |
|
|
2001-11-30 Jennifer Averett
|
200 |
|
|
|
201 |
|
|
This was tracked as PR88.
|
202 |
|
|
* libc/scandir.c: Fixed to perform cleanup on error conditions.
|
203 |
|
|
|
204 |
|
|
2001-11-07 Jennifer Averett
|
205 |
|
|
|
206 |
|
|
Reported by Ibragimov Ilya and tracked as PR63.
|
207 |
|
|
* libc/chdir.c: Check for search/execute permissions on chdir.
|
208 |
|
|
This requires passing RTEMS_LIBIO_PERMS_SEARCH to
|
209 |
|
|
rtems_filesystem_evaluate_path().
|
210 |
|
|
|
211 |
|
|
2001-10-26 Joel Sherrill
|
212 |
|
|
|
213 |
|
|
* libc/libio.c: Cleanup of initialization per suggestion from
|
214 |
|
|
Eric Norum.
|
215 |
|
|
|
216 |
|
|
2001-10-25 Jennifer Averett
|
217 |
|
|
|
218 |
|
|
* libc/unmount.c: Primarily restructuring and clean up to address
|
219 |
|
|
procedures which did not do what their name implied. Also addressed
|
220 |
|
|
problem situation where unmount fails and the filesystem was
|
221 |
|
|
inconsistent. The mounted filesystem could have been left hanging.
|
222 |
|
|
|
223 |
|
|
2001-10-25 Jennifer Averett
|
224 |
|
|
|
225 |
|
|
* libc/libio.c: Initialize more fields to NULL/0 during initialiation.
|
226 |
|
|
* include/rtems/libio_.h: Fix freenode macro so it works for sockets
|
227 |
|
|
which do not have the full set of filesystem operations and are
|
228 |
|
|
initialized via something other than open().
|
229 |
|
|
|
230 |
|
|
2001-10-18 Till Straumann
|
231 |
|
|
|
232 |
|
|
* libc/open.c, libc/close.c: Moved freenode from open to
|
233 |
|
|
close.
|
234 |
|
|
|
235 |
|
|
2001-10-17 Till Straumann
|
236 |
|
|
|
237 |
|
|
* These changes were discussed and reviewed by many people but the
|
238 |
|
|
primary people were Jennifer Averett
|
239 |
|
|
and Eugeny Mints .
|
240 |
|
|
* libc/utime.c: Add missing call to rtems_filesystem_freenode()
|
241 |
|
|
at verification that utime is supported by the filesystem.
|
242 |
|
|
* libc/link.c: Remove calls to freenode when the node was
|
243 |
|
|
not successfully allocated.
|
244 |
|
|
* libc/unmount.c: In the method file_systems_below_this_mountpoint()
|
245 |
|
|
added calls to correctly free fs_root_loc when a failure occurs.
|
246 |
|
|
* libc/open.c: Add freenode calls upon failure.
|
247 |
|
|
* libc/open.c, lib/libc/close.c: (PENDING -- NOT INCLUDED THIS TIMER)
|
248 |
|
|
Modifications the move the freenode from open() to close() (also part
|
249 |
|
|
of this patch) are pending further discussion.
|
250 |
|
|
|
251 |
|
|
2001-10-16 Ralf Corsepius
|
252 |
|
|
|
253 |
|
|
* include/zilog/Makefile.am: Remove.
|
254 |
|
|
* include/motorola/Makefile.am: Remove.
|
255 |
|
|
* include/sys/Makefile.am: Remove.
|
256 |
|
|
* include/rtems/Makefile.am: Remove.
|
257 |
|
|
* include/Makefile.am: Handle subdirs, require automake-1.5
|
258 |
|
|
* Makefile.am: Require automake-1.5.
|
259 |
|
|
|
260 |
|
|
2001-10-12 Joel Sherrill
|
261 |
|
|
|
262 |
|
|
* include/chain.h: Fixed typo.
|
263 |
|
|
|
264 |
|
|
2001-10-11 Mike Siers
|
265 |
|
|
|
266 |
|
|
* libc/termios.c: Fixed a memory leak in the termios
|
267 |
|
|
software. Basically the tty open function was allocating an input
|
268 |
|
|
raw buffer, an output raw buffer, and a cooked buffer that were
|
269 |
|
|
not getting released. I have attached a patch for the latest
|
270 |
|
|
snapshot. The patch also has a fix to ensure the tty link list
|
271 |
|
|
is updated correctly when a tty is closed.
|
272 |
|
|
|
273 |
|
|
2001-10-11 Ralf Corsepius
|
274 |
|
|
|
275 |
|
|
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
|
276 |
|
|
* configure.in: Remove.
|
277 |
|
|
* configure.ac: New file, generated from configure.in by autoupdate.
|
278 |
|
|
|
279 |
|
|
2001-10-10 Joel Sherrill
|
280 |
|
|
|
281 |
|
|
* libc/printk.c (printNum): Properly handle a maxwidth of 0
|
282 |
|
|
as reported by Nick Hennenfent .
|
283 |
|
|
|
284 |
|
|
2001-09-28 Ralf Corsepius
|
285 |
|
|
|
286 |
|
|
* include/zilog/Makefile.am: Use 'PREINSTALL_FILES ='.
|
287 |
|
|
* include/motorola/Makefile.am: Use 'PREINSTALL_FILES ='.
|
288 |
|
|
* include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.
|
289 |
|
|
* include/rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
|
290 |
|
|
* include/Makefile.am: Use 'PREINSTALL_FILES ='.
|
291 |
|
|
|
292 |
|
|
2001-09-22 Ralf Corsepius
|
293 |
|
|
|
294 |
|
|
* include/sys/Makefile.am: Use = instead of += to setup
|
295 |
|
|
NETWORKING_H_FILES and NEWLIB_H_FILES.
|
296 |
|
|
|
297 |
|
|
2001-09-22 Ralf Corsepius
|
298 |
|
|
|
299 |
|
|
* libc/Makefile.am: Revamp INCLUDES handling to make automake-1.5
|
300 |
|
|
happy.
|
301 |
|
|
|
302 |
|
|
2001-09-14 Eric Norum
|
303 |
|
|
|
304 |
|
|
* libc/gxx_wrappers.c: Modifications to make gcc 3.x happy.
|
305 |
|
|
|
306 |
|
|
2001-08-17 Joel Sherrill
|
307 |
|
|
|
308 |
|
|
* include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX
|
309 |
|
|
is defined on GNU/Linux (RedHat 6.2 distribution).
|
310 |
|
|
* libc/unixlibc.c: Added stubs for rtems_io_register_name() and
|
311 |
|
|
rtems_io_lookup_name() so UNIX port would compile the IO manager
|
312 |
|
|
sptest that registers /dev/null.
|
313 |
|
|
|
314 |
|
|
2001-08-10 Radzislaw Galler
|
315 |
|
|
|
316 |
|
|
* score/cpu_asm.c (sh_set_irq_priority): Changed interrupt vector
|
317 |
|
|
number range check and handling of interrupt priority regs to
|
318 |
|
|
conform SH2 specs.
|
319 |
|
|
* sci/sci_termios.c: New file.
|
320 |
|
|
* include/sci_termios.h: New file.
|
321 |
|
|
* include/Makefile.am (EXTRA_DIST): Added sci_termios.h.
|
322 |
|
|
(include_sh_HEADERS): Added sci_termios.h.
|
323 |
|
|
* score/ispsh7045.c (isp): Calling an ISR with immediate argument
|
324 |
|
|
casued negative sign extension for vector numbers of 128 and
|
325 |
|
|
above. This was fixed.
|
326 |
|
|
* sci/sci.c: Cleaned initialization of SCI registers; added
|
327 |
|
|
necessary setup for new TERMIOS console cooperation
|
328 |
|
|
|
329 |
|
|
2001-08-16 Joel Sherrill
|
330 |
|
|
|
331 |
|
|
* libc/lseek.c: Modified after discussion with Eugeny S. Mints
|
332 |
|
|
to correct the behavior. There were two mistakes.
|
333 |
|
|
First, iop->offset was incorrectly set for SEEK_END. Second,
|
334 |
|
|
iop->offset should be left unmodified if there are errors.
|
335 |
|
|
This modification attempts to fix both situations.
|
336 |
|
|
|
337 |
|
|
2001-08-16 Mike Siers
|
338 |
|
|
|
339 |
|
|
* include/rtems/termiostypes.h, include/sys/ioccom.h:
|
340 |
|
|
Update of PPPD to 2.3.11 from 2.3.5 touched these files.
|
341 |
|
|
|
342 |
|
|
2001-08-16 Mike Siers
|
343 |
|
|
|
344 |
|
|
* libc/termios.c: Fix a bug in the termios implementation in
|
345 |
|
|
the following scenario:
|
346 |
|
|
The General Terminal Interface document that me states that
|
347 |
|
|
if VMIN = 0 and VTIME = 0, then read() should return the minimum
|
348 |
|
|
of two values:
|
349 |
|
|
a) number of bytes available
|
350 |
|
|
b) number of bytes requested (I assume from the read call)
|
351 |
|
|
|
352 |
|
|
The current implementation of the fillBufferQueue() in termios.c is
|
353 |
|
|
always return 1 character with these setting values. I know the
|
354 |
|
|
termios buffer has more than one character available and my read()
|
355 |
|
|
call is requesting 1024 bytes.
|
356 |
|
|
|
357 |
|
|
2001-08-09 Fernando-Ruiz Casas
|
358 |
|
|
|
359 |
|
|
* libc/getgrent.c, libc/getpwent.c: the 'ls' and more related command
|
360 |
|
|
previous failed after a chroot(). (unknown user & group)
|
361 |
|
|
|
362 |
|
|
2001-08-03 Joel Sherrill
|
363 |
|
|
|
364 |
|
|
* libc/libio_sockets.c (rtems_bsdnet_fdToSocket): Per bug
|
365 |
|
|
report from Gene Smith , enhanced the
|
366 |
|
|
error checking to account for a socket being closed.
|
367 |
|
|
|
368 |
|
|
2001-05-25 Joel Sherrill
|
369 |
|
|
|
370 |
|
|
* libc/base_fs.c: Deleted chmod() now that IMFS creates the
|
371 |
|
|
root node with the desired permissions. chmod() is also not
|
372 |
|
|
supported by the miniIMFS so this is not allowable.
|
373 |
|
|
|
374 |
|
|
2000-05-24 Fernando Ruiz Casas
|
375 |
|
|
|
376 |
|
|
* include/rtems/libio_.h: Added login name, uid, gid, euid, and egid
|
377 |
|
|
so they can be part of the private environment.
|
378 |
|
|
|
379 |
|
|
2000-05-24 Fernando Ruiz Casas
|
380 |
|
|
|
381 |
|
|
* libc/ttyname.c (ttyname_r): Removed duplicate call to closedir().
|
382 |
|
|
* libc/getpwent.c: Create a more robust /etc/passwd and /etc/group.
|
383 |
|
|
* libc/base_fs.c: Change permissions of files and directories. Now uses
|
384 |
|
|
octal constants.
|
385 |
|
|
|
386 |
|
|
2001-05-11 Joel Sherrill
|
387 |
|
|
|
388 |
|
|
* libc/write.c: Change type of rc to match return type from
|
389 |
|
|
underlying function per report from Eric Norum.
|
390 |
|
|
|
391 |
|
|
2001-04-27 Ralf Corsepius
|
392 |
|
|
|
393 |
|
|
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
|
394 |
|
|
|
395 |
|
|
2001-04-24 Joel Sherrill
|
396 |
|
|
|
397 |
|
|
* libc/libio.c (rtems_libio_allocate): Make sure size and offset
|
398 |
|
|
fields are cleared on each file open. Before this field was cleared,
|
399 |
|
|
this resulted in the value from the last time that IOP was used
|
400 |
|
|
being still in place. Discovered by Andrew Bythell
|
401 |
|
|
.
|
402 |
|
|
* libc/open.c: Remove redundant setting of iop->offset.
|
403 |
|
|
|
404 |
|
|
2001-04-20 Correo Fernando-ruiz
|
405 |
|
|
|
406 |
|
|
* include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c:
|
407 |
|
|
Private environment and chroot() enhancements and fixes. Comments:
|
408 |
|
|
+ privateenv has been modified to let at chroot() to be more
|
409 |
|
|
POSIX like Sergei Organov recommended.
|
410 |
|
|
+ A task owner lets that rtems_set_private_env() will be
|
411 |
|
|
called twice or more times.
|
412 |
|
|
+ chroot() can be called without a previous
|
413 |
|
|
rtems_set_private_env(); (transpanrently)
|
414 |
|
|
+ The second call of rtems_set_private_env() makes a internal
|
415 |
|
|
chroot("/") into global imfs_root.
|
416 |
|
|
+ chroot() runs like chdir() without a previous chdir("/") with
|
417 |
|
|
the global root.
|
418 |
|
|
+ The current directory can be in a wrong place like Linux and
|
419 |
|
|
many other Unices.
|
420 |
|
|
|
421 |
|
|
2001-04-16 Joel Sherrill
|
422 |
|
|
|
423 |
|
|
* include/rtc.h: New file.
|
424 |
|
|
* include/Makefile.am: Updated to reflect above.
|
425 |
|
|
|
426 |
|
|
2001-02-06 Joel Sherrill
|
427 |
|
|
|
428 |
|
|
* include/ioccom.h: Unreferenced and thus removed.
|
429 |
|
|
|
430 |
|
|
2001-02-03 Ralf Corsepius
|
431 |
|
|
|
432 |
|
|
* include/zilog/Makefile.am, include/Makefile.am,
|
433 |
|
|
include/motorola/Makefile.am, include/sys/Makefile.am
|
434 |
|
|
include/rtems/Makefile.am: Apply include_*HEADERS instead of
|
435 |
|
|
H_FILES.
|
436 |
|
|
|
437 |
|
|
2001-01-26 Joel Sherrill
|
438 |
|
|
|
439 |
|
|
* libc/chroot.c: Fixed naming problems. Names were changed
|
440 |
|
|
when the code this depends on was merged.
|
441 |
|
|
|
442 |
|
|
2001-01-25 Fernando Ruiz
|
443 |
|
|
|
444 |
|
|
* Alternate email is correo@fernando-ruiz.com
|
445 |
|
|
* libc/chroot.c: New file.
|
446 |
|
|
* libc/Makefile.am: Reflect above.
|
447 |
|
|
|
448 |
|
|
2001-01-25 Fernando Ruiz
|
449 |
|
|
|
450 |
|
|
* Alternate email is correo@fernando-ruiz.com
|
451 |
|
|
* libc/privateenv.c: New file.
|
452 |
|
|
* include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c,
|
453 |
|
|
libc/unmount.c: Moved default umask, current working directory,
|
454 |
|
|
root, and links followed count into a structure "user environment"
|
455 |
|
|
that can then be treated as a unit. This enable giving unique
|
456 |
|
|
copies of these to individual threads or collection of threads.
|
457 |
|
|
|
458 |
|
|
2001-01-05 Ralf Corsepius
|
459 |
|
|
|
460 |
|
|
* configure.in: Add libc/config.h
|
461 |
|
|
* libc/Makefile.am: Add INCLUDES += -I. to pickup config.h
|
462 |
|
|
* libc/.cvsignore: Add config.h and stamp-h
|
463 |
|
|
* libc/*.c: Add config.h support.
|
464 |
|
|
|
465 |
|
|
2000-12-06 Joel Sherrill
|
466 |
|
|
|
467 |
|
|
* libc/mallocfreespace.c: Name of routine is
|
468 |
|
|
rtems_region_get_information() NOT region_get_information().
|
469 |
|
|
* libc/unmount.c: Removed unused variable.
|
470 |
|
|
|
471 |
|
|
2000-11-30 Joel Sherrill
|
472 |
|
|
|
473 |
|
|
* include/rtems/Makefile.am: Added termiostypes.h.
|
474 |
|
|
* libc/Makefile.am: Removed termiostypes.h.
|
475 |
|
|
* libc/termios.c: Changed include of "termiostypes.h" to
|
476 |
|
|
since that is an RTEMS specific header file.
|
477 |
|
|
|
478 |
|
|
2000-11-29 Joel Sherrill
|
479 |
|
|
|
480 |
|
|
* include/sys/ttycom.h: New file -- moved from libnetworking/sys.
|
481 |
|
|
* Makefile.am: Modified to reflect above.
|
482 |
|
|
|
483 |
|
|
2000-11-28 Sergei Organov
|
484 |
|
|
|
485 |
|
|
* libc/getcwd.c: Ensure _closedir(dir) is called even on
|
486 |
|
|
error exit from the routine.
|
487 |
|
|
|
488 |
|
|
2000-11-25 Antti P Miettinen
|
489 |
|
|
|
490 |
|
|
* libc/termios.c, libc/termiostypes.h: Task driver driver model
|
491 |
|
|
and line discipline support from Thomas Doerfler
|
492 |
|
|
.
|
493 |
|
|
|
494 |
|
|
2000-11-20 Dmitry Kargapolov
|
495 |
|
|
|
496 |
|
|
* libc/mount.c: Make sure there is space allocated for a device name
|
497 |
|
|
in the mount table entry.
|
498 |
|
|
|
499 |
|
|
2000-11-17 Jennifer Averret
|
500 |
|
|
|
501 |
|
|
* libc/mount.c (search_mt_for_mount_point): Deleted routine.
|
502 |
|
|
* libc/mount.c (Is_node_fs_root): Replacement for above that
|
503 |
|
|
accounts for the imaginary root node being returned by the
|
504 |
|
|
filesystem evaluation routine.
|
505 |
|
|
* libc/unmount.c (unmount): Account for imaginary root node
|
506 |
|
|
being returned and improved variable names to clarify code.
|
507 |
|
|
* libc/unmount.c (file_systems_below_this_mountpoint): Body of
|
508 |
|
|
routine replaced to account for imaginary root node being returned.
|
509 |
|
|
|
510 |
|
|
2000-11-10 Ralf Corsepius
|
511 |
|
|
|
512 |
|
|
* libc/libio.c: Special treatment of O_NDELAY for Cygwin.
|
513 |
|
|
|
514 |
|
|
2000-11-09 Ralf Corsepius
|
515 |
|
|
|
516 |
|
|
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
|
517 |
|
|
|
518 |
|
|
2000-11-02 Ralf Corsepius
|
519 |
|
|
|
520 |
|
|
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
|
521 |
|
|
|
522 |
|
|
2000-11-01 Joel Sherrill
|
523 |
|
|
|
524 |
|
|
* configure.in: Added include/rtems subdirectory.
|
525 |
|
|
|
526 |
|
|
2000-11-01 Joel Sherrill
|
527 |
|
|
|
528 |
|
|
* include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
|
529 |
|
|
libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
|
530 |
|
|
libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
|
531 |
|
|
libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
|
532 |
|
|
libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
|
533 |
|
|
libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
|
534 |
|
|
libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
|
535 |
|
|
libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
|
536 |
|
|
libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
|
537 |
|
|
libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
|
538 |
|
|
libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
|
539 |
|
|
libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
|
540 |
|
|
libc/utime.c, libc/write.c:
|
541 |
|
|
assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
|
542 |
|
|
from libc to lib/include/rtems and now must be referenced as
|
543 |
|
|
.
|
544 |
|
|
* include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
|
545 |
|
|
* include/rtems/assoc.h, include/rtems/error.h,
|
546 |
|
|
include/rtems/libcsupport.h, include/rtems/libio.h,
|
547 |
|
|
include/rtems/libio_.h: New/moved files.
|
548 |
|
|
|
549 |
|
|
2000-10-26 Ralf Corsepius
|
550 |
|
|
|
551 |
|
|
* configure.in: Remove bogus cfg_subdirs.
|
552 |
|
|
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros.
|
553 |
|
|
Switch to GNU canonicalization.
|
554 |
|
|
|
555 |
|
|
2000-10-24 Joel Sherrill
|
556 |
|
|
|
557 |
|
|
* libc/ioman.c: Moved to libfs.
|
558 |
|
|
* libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
|
559 |
|
|
* libc/base_fs.c: Removed include of imfs.h and reworded comment
|
560 |
|
|
to avoid being IMFS specific.
|
561 |
|
|
* libc/libio.h: Removed prototype of IMFS_ops since it should
|
562 |
|
|
not be in this file.
|
563 |
|
|
* libc/mount.c: Removed IMFS specific configuration information.
|
564 |
|
|
* libc/unmount.c: Removed include of imfs.h and reworded comment
|
565 |
|
|
to avoid being IMFS specific.
|
566 |
|
|
|
567 |
|
|
2000-10-18 Chris Johns
|
568 |
|
|
|
569 |
|
|
* libfs created.
|
570 |
|
|
* libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c,
|
571 |
|
|
libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c,
|
572 |
|
|
libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c,
|
573 |
|
|
libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c,
|
574 |
|
|
libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c,
|
575 |
|
|
libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c,
|
576 |
|
|
libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c,
|
577 |
|
|
libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c,
|
578 |
|
|
libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c,
|
579 |
|
|
libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c,
|
580 |
|
|
libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c:
|
581 |
|
|
Moved to libfs/src/imfs.
|
582 |
|
|
* Makefile.am: Modified to reflect above.
|
583 |
|
|
|
584 |
|
|
2000-10-18 Joel Sherrill
|
585 |
|
|
|
586 |
|
|
* libc/Makefile.am: Added mallocfreespace.c.
|
587 |
|
|
* libc/mallocfreespace.c: New file based on work by Nick Simon
|
588 |
|
|
which he included in malloc.c.
|
589 |
|
|
* libc/libcsupport.h: Added prototype for malloc_free_space().
|
590 |
|
|
|
591 |
|
|
2000-10-18 Joel Sherrill
|
592 |
|
|
|
593 |
|
|
* libc/fcntl.c: Do not require every filesystem to have an fcntl()
|
594 |
|
|
handler. Most fcntl() operations can be performed with no
|
595 |
|
|
filesystem support.
|
596 |
|
|
* ChangeLog: Corrected comment.
|
597 |
|
|
|
598 |
|
|
2000-09-28 Joel Sherrill
|
599 |
|
|
|
600 |
|
|
* libc/libio.h (rtems_filesystem_file_handlers_r,
|
601 |
|
|
rtems_filesystem_operations_table): Added _h to all structure
|
602 |
|
|
fields to indicate they are "handlers".
|
603 |
|
|
* libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c,
|
604 |
|
|
libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c,
|
605 |
|
|
libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c,
|
606 |
|
|
libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c,
|
607 |
|
|
libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c,
|
608 |
|
|
libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c,
|
609 |
|
|
libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c,
|
610 |
|
|
libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c:
|
611 |
|
|
Modified to reflect above name change.
|
612 |
|
|
|
613 |
|
|
2000-09-22 Joel Sherrill
|
614 |
|
|
|
615 |
|
|
* libc/newlibc.c: Removed _A29K specific ifdef.
|
616 |
|
|
|
617 |
|
|
2000-09-05 Ralf Corsepius
|
618 |
|
|
|
619 |
|
|
* configure.in: Cleanup comments.
|
620 |
|
|
|
621 |
|
|
2000-09-04 Ralf Corsepius
|
622 |
|
|
|
623 |
|
|
* libc/Makefile.am: Include compile.am
|
624 |
|
|
|
625 |
|
|
2000-09-05 Joel Sherrill
|
626 |
|
|
|
627 |
|
|
* libio.c: Added O_NONBLOCK to list of flags.
|
628 |
|
|
|
629 |
|
|
2000-08-30 Ralf Corsepius
|
630 |
|
|
|
631 |
|
|
* configure.in: Remove libcpu and libbsp
|
632 |
|
|
* Makefile.am: Remove libcpu and libbsp
|
633 |
|
|
|
634 |
|
|
2000-08-25 Joel Sherrill
|
635 |
|
|
|
636 |
|
|
* libc/fs_null_handlers.c: Added missing rmnod entry.
|
637 |
|
|
|
638 |
|
|
2000-08-25 Joel Sherrill
|
639 |
|
|
|
640 |
|
|
* libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c,
|
641 |
|
|
libc/imfs_directory.c: Fixed style issues.
|
642 |
|
|
|
643 |
|
|
2000-08-11 Chris Johns
|
644 |
|
|
|
645 |
|
|
* libc/chmod.c: Return ENOTSUP if filesystem does not have handler.
|
646 |
|
|
* libc/eval.c: Ditto.
|
647 |
|
|
* libc/fcntl.c: Ditto.
|
648 |
|
|
* libc/fsync.c: Ditto.
|
649 |
|
|
* libc/ioctl.c: Ditto.
|
650 |
|
|
* libc/ioman.c: Ditto.
|
651 |
|
|
* libc/link.c: Ditto.
|
652 |
|
|
* libc/mknod.c: Ditto.
|
653 |
|
|
* libc/symlink.c: Ditto.
|
654 |
|
|
* libc/libio.h(rtems_filesystem_dev_major_t): New macro.
|
655 |
|
|
* libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
|
656 |
|
|
* libc/memfile.c: Deleted assert. Added code to properly handle
|
657 |
|
|
appending to a file.
|
658 |
|
|
|
659 |
|
|
2000-08-10 Joel Sherrill
|
660 |
|
|
|
661 |
|
|
* ChangeLog: New file.
|