summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-05-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-05-131-6/+2
| | | | | * libfs/Makefile.am: Unconditionally descend into src/nfsclient. Include subdirs.am.
* 2011-05-11 Chris Johns <chrisj@rtems.org>Chris Johns2011-05-111-79/+100
| | | | | | PR 1774/filesystem * libfs/src/imfs/imfs_eval.c: Updated to fix regressions found in the testsuite.
* 2011-04-16 Chris Johns <chrisj@rtems.org>Chris Johns2011-04-161-60/+64
| | | | | | PR 1774/filesystem * libfs/src/imfs/imfs_eval.c: Fix the IMFS eval and eval for make handlers to not inspect a mounted file sytems path.
* 2011-04-15 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-04-151-1/+1
| | | | * libfs/src/pipe/fifo.c: Fixed integer type.
* 2011-04-05 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-04-051-1/+1
| | | | | PR 1701/filesystems * libfs/src/imfs/memfile.c: Fix sense of assert.
* 2011-03-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-151-19/+16
| | | | | | | * libfs/src/dosfs/msdos_format.c: Address Coverity issue 183 which was where an expression evaluated to a constant and issue 185 which was a potential (although unlikely in expected usage) time-of-check, time-of-use race condition.
* 2011-03-15 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-153-176/+77
| | | | | | | | | | | * libfs/src/rfs/rtems-rfs-rtems-file.c, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h: The fix to the removal of file_info from iop was broken. The node_access field must be the inode number in the RFS because the file system ops provides no way to tell is a stat call is the result of stat, fstat, or lstat. The solution is to move the file handle to node_access_2 which is also shared with doff but these do not overlap.
* 2011-03-15 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-151-1/+1
| | | | | | PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h: Fix the bug in equal compare.
* 2011-03-15 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-158-106/+245
| | | | | | | | | | | | | | | | | | PR 1763/shell * libmisc/shell/hexdump-conv.c: Remove debug hacks. PR 1757/filesystem * libfs/src/rfs/rtems-rfs-block-pos.h, libfs/src/rfs/rtems-rfs-block.h, libfs/src/rfs/rtems-rfs-file.c, libfs/src/rfs/rtems-rfs-rtems-file.c: Set the file size in iop-size when a file is open. Fix lseek to end of file then write for sizes less than half the file system block size. * libfs/src/rfs/rtems-rfs-rtems-dev.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h: Fix the fstat and fchmod calls due to the change in the iop struct where pathinfo went away. The node_access field in pathinfo was overloaded.
* 2011-03-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-03-141-0/+3
| | | | | * libfs/src/imfs/deviceerrno.c: Add RTEMS_INVALID_CLOCK, RTEMS_INVALID_NODE, and RTEMS_NOT_CONFIGURED.
* 2011-03-03 Chris Johns <chrisj@rtems.org>Chris Johns2011-03-031-0/+15
| | | | | | * libcsupport/src/mknod.c, libfs/src/rfs/rtems-rfs-inode.c: PR 1749. Fix the incorrect handling of the file type in the mode value to reject invalid types as per the standard.
* 2011-02-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-02-231-3/+0
| | | | * libfs/src/dosfs/msdos_misc.c: Don't include <strings.h>.
* 011-02-08 Brett Swimley <bswimley@advanced.pro>Chris Johns2011-02-071-0/+6
| | | | | * libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did not close an inode.
* 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-01-042-5/+5
| | | | | * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_readlink.c: readlink filesystem entry should return ssize_t.
* 2011-01-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-01-041-6/+6
| | | | | * libfs/src/nfsclient/src/nfs.c: readlink filesystem entry should return ssize_t.
* 2010-12-28 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-281-1/+1
| | | | | * libfs/src/dosfs/msdos_conv.c: Fixed convertion of half seconds to seconds.
* 2010-12-28 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-281-4/+14
| | | | | * libfs/src/dosfs/msdos_misc.c: Create short file names acceptable for Windows.
* 2010-12-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-12-273-6/+8
| | | | | | * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_create.c: Create valid create and modfied date and time.
* 2010-11-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-11-254-5/+5
| | | | | | | | | | | | | | | | | | * libfs/src/dosfs/fat_file.c, libfs/src/imfs/imfs_debug.c, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_getchild.c, posix/src/killinfo.c, score/inline/rtems/score/schedulerpriority.inl, score/inline/rtems/score/watchdog.inl, score/src/apiext.c, score/src/chain.c, score/src/coremsgflushsupp.c, score/src/coremsginsert.c, score/src/objectshrinkinformation.c, score/src/schedulerpriorityyield.c, score/src/threadqdequeuepriority.c, score/src/threadqenqueuepriority.c, score/src/threadqextractpriority.c, score/src/threadqfirstfifo.c, score/src/threadqfirstpriority.c, score/src/threadyieldprocessor.c, score/src/userextthreadbegin.c, score/src/userextthreadcreate.c, score/src/userextthreaddelete.c, score/src/userextthreadrestart.c, score/src/userextthreadstart.c, score/src/userextthreadswitch.c, score/src/watchdogreportchain.c: Avoid chain API violations.
* 2010-10-19 Chris Johns <chrisj@rtems.org>Chris Johns2010-10-181-1/+4
| | | | | * libfs/src/rfs/rtems-rfs-rtems-file.c: Add missing unlock in write. Return the error code in close.
* 2010-10-11 Chris Johns <chrisj@rtems.org>Chris Johns2010-10-1110-97/+106
| | | | | | | | | | | | | | | | | | | * libfs/src/rfs/rtems-rfs-trace.c, libfs/src/rfs/rtems-rfs-trace.h: Add inode-delete. * libfs/src/rfs/rtems-rfs-shell.c: Fix formatting. * libfs/src/rfs/rtems-rfs-rtems-dir.c: Use ssize_t. Fix spelling. * libfs/src/rfs/rtems-rfs-block.c: Fix rtems_rfs_block_get_bpos to return the position correctly. A bpos does not have any special processing. Do no reset the buffer handle when shrinking indirectly. * libfs/src/rfs/rtems-rfs-inode.c: Add trace. * libfs/src/rfs/rtems-rfs-format.c: Fix comments. * libfs/src/rfs/rtems-rfs-group.c: Limit the inodes to the blocks in a group so the accounting works. * libfs/src/rfs/rtems-rfs-dir.c: PR 1705. Fix handling the offsets when deleting an entry. * libfs/src/rfs/rtems-rfs-buffer.h: Remove rtems_rfs_buffer_handle_reset. It is not needed and dangerous.
* 2010-09-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-09-271-3/+1
| | | | | * libfs/src/defaults/default_close.c: Return 0 instead of an error status.
* Just comment out line.Joel Sherrill2010-08-281-0/+1
|
* 2010-08-28 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-281-1/+0
| | | | | * libfs/src/pipe/pipe.c: Remove unreachable line flagged by Coverity as dead code.
* 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-271-1/+1
| | | | | | PR 1693/filesystem * libfs/src/imfs/memfile.c: IMFS_memfile_get_block_pointer() was checking incorrect pointer and thus had dead code.
* 2010-08-27 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-08-272-7/+4
| | | | | | | PR 1692/filesystem * libcsupport/include/rtems/libio.h, libfs/src/devfs/devfs_eval.c, libfs/src/imfs/imfs_eval.c: Fix implementation and use of rtems_libio_is_valid_perms().
* 2010-08-26 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-272-2/+0
| | | | | | * libfs/src/defaults/default_evalpath.c, libfs/src/defaults/default_evaluate_link.c: Removed superfluous assignment.
* 2010-08-26 Chris Johns <chrisj@rtems.org>Chris Johns2010-08-262-11/+18
| | | | | | | | | * libfs/src/defaults/default_evaluate_link.c: Remove assignment. * libfs/src/rfs/rtems-rfs-file.c: Check then load the inode is not present on the close. * libfs/src/rfs/rtems-rfs-format.c: Initialise the buffer chain.
* 2010-08-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-08-2512-209/+32
| | | | | | | | | | | | * libfs/src/imfs/imfs_fcntl.c: Removed file. * libfs/Makefile.am: Reflect change from above. * libfs/src/defaults/default_fcntl.c: Return 0 instead of -1 and errno. * libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/imfs_handlers_directory.c, libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems-file.c, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h: Use default file system handlers.
* 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-231-1/+1
| | | | | * libblock/src/flashdisk.c, libblock/src/nvdisk.c, libcsupport/src/ioctl.c, libfs/src/dosfs/fat_file.c: Add va_end().
* 2010-08-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-233-7/+11
| | | | | | | | | | CID 99 CID 100 CID 101 CID 102 * libfs/src/dosfs/fat_file.c, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_misc.c: Resolve invalid use of const identified by Coverity scanner.
* 2010-08-18 Chris Johns <chrisj@rtems.org>Chris Johns2010-08-181-2/+1
| | | | | | PR 1677/filesystem * libfs/src/imfs/imfs_creat.c: Fix creating of a file. Lost in the change from a switch statement.
* 2010-08-13 Chris Johns <chrisj@rtems.org>Chris Johns2010-08-131-2/+2
| | | | | * libfs/src/imfs/imfs_eval.c: Add the missing ';' for the debug case.
* 2010-08-09 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill2010-08-104-12/+13
| | | | | | | | | | PR 1660/filesystem * libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Changed int pipe_release to void pipe_release. * libfs/src/imfs/imfs_fifo.c: Corresponding change to IMFS_fifo_close since pipe_release does not return any error. * libfs/src/imfs/imfs_initsupp.c: Changes to improve IMFS_determine_bytes_per_block
* 2010-08-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-081-1/+1
| | | | * libfs/src/imfs/imfs.h: Fix typo.
* 2010-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-08-025-82/+47
| | | | | | | * libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_readlink.c, libfs/src/pipe/fifo.c: Clean up for coverage improvements and formatting.
* 2010-07-30 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-305-218/+58
| | | | | | | | * libcsupport/src/fstat.c, libcsupport/src/rmdir.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_debug.c, libfs/src/imfs/imfs_getchild.c, libfs/src/imfs/memfile.c: Add IMFS_assert. Clean up and remove all checks which are redundant with system call layer. Formatting.
* 2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-271-2/+3
| | | | | * libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.c: Now supports both pax and GNU tar created tar files.
* 2010-07-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-261-4/+3
| | | | * libfs/src/imfs/imfs_load_tar.c: Formatting.
* 2010-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-231-4/+10
| | | | | PR 1627/testing * libfs/src/devfs/devstat.c:
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-152-24/+9
| | | | | | * libfs/src/imfs/imfs.h: Changed IMFS_jnode_types_t to an enum. Removed IMFS_NUMBER_OF_TYPES define. * libfs/src/imfs/imfs_debug.c: Removed IMFS_types.
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-154-6/+6
| | | | | | | | | | | | * libcsupport/include/rtems/libio_.h: Removed rtems_filesystem_null_handlers. * libcsupport/src/fs_null_handlers.c: Removed file. * libcsupport/Makefile.am: Reflect change above. * libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_creat.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c: Use rtems_filesystem_handlers_default instead of rtems_filesystem_null_handlers. * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c: Initialize handler and operations table with proper defaults.
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-1514-68/+50
| | | | | | | | | | | | | | | | | | | | | * libcsupport/include/rtems/libio.h: Removed file_info and handlers fields in rtems_libio_t. * libcsupport/src/close.c, libcsupport/src/fcntl.c, libcsupport/src/fdatasync.c, libcsupport/src/fstat.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/getdents.c, libcsupport/src/ioctl.c, libcsupport/src/libio_sockets.c, libcsupport/src/lseek.c, libcsupport/src/open.c, libcsupport/src/read.c, libcsupport/src/readv.c, libcsupport/src/write.c, libcsupport/src/writev.c, libfs/src/devfs/devclose.c, libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c, libfs/src/devfs/devwrite.c libfs/src/dosfs/msdos_dir.c libfs/src/dosfs/msdos_file.c libfs/src/imfs/deviceio.c libfs/src/imfs/imfs_directory.c libfs/src/imfs/imfs_fifo.c libfs/src/imfs/memfile.c libfs/src/nfsclient/src/nfs.c libfs/src/rfs/rtems-rfs-rtems-file.c libfs/src/rfs/rtems-rfs-rtems.h libnetworking/lib/ftpfs.c: Reflect changes above.
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-152-2/+2
| | | | | * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_node_type.c: Fixed devFS_node_type() prototype.
* 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2010-07-156-2/+147
| | | | | | | | | | | | | | | | * libcsupport/include/rtems/libio.h: Changed rtems_filesystem_node_types_t to an enum. Declare rtems_filesystem_handlers_default, rtems_filesystem_operations_default, rtems_filesystem_default_evalpath(), rtems_filesystem_default_evalformake, and rtems_filesystem_default_node_type(). * libfs/src/dosfs/msdos.h: Fixed msdos_node_type() prototype. * libfs/src/defaults/default_evalformake.c, libfs/src/defaults/default_handlers.c, libfs/src/defaults/default_node_type.c, libfs/src/defaults/default_ops.c: New files. * libfs/Makefile.am: Reflect changes above.
* 2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-146-84/+25
| | | | | | | | | * libfs/Makefile.am: Remove reference to imfs_free.c, wrapup/Makefile.am: Split devfs into its own library. * libfs/src/imfs/fifoimfs_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_init.c, libfs/src/rfs/rtems-rfs-rtems.c: Use default freenode implementation. * libfs/src/imfs/imfs_free.c: Removed.
* 2010-07-13 Vinu Rajashekhar <vinutheraj@gmail.com>Joel Sherrill2010-07-133-3/+5
| | | | | | | PR 1614/filesystem * libfs/src/imfs/fifoimfs_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Fix rtems_tarfs_load to work with pipe filesystem.
* 2010-07-09 Bharath Suri <bharath.s.jois@gmail.com>Joel Sherrill2010-07-091-2/+3
| | | | | * libfs/src/pipe/pipe.c: Check for err before setting the errno and returning -1 to the caller.
* 2010-07-06 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2010-07-061-6/+2
| | | | * libfs/src/imfs/ioman.c: Remove unneeded operation check.
* 2010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-0410-10/+0
| | | | | | | | | | | | | | | | * libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c, libcsupport/src/__times.c, libcsupport/src/libio_init.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/unmount.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c, libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c, telnetd/telnetd.c: Remove include of assert.h when it is not needed.