summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-061-0/+1
| | | | * libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype).
* 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-062-3/+3
| | | | | | * libfs/src/imfs/imfs_debug.c: Make IMFS_print_jnode, IMFS_dump_directory static. * libfs/src/imfs/memfile.c: Make memfile_free_blocks_in_table static.
* 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-021-0/+1
| | | | | * libfs/src/imfs/deviceerrno.c: Include <rtems/devfs.h> for missing prototypes.
* 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-021-5/+1
| | | | | | * libfs/src/rfs/rtems-rfs-rtems-dev.c: Remove duplicate prototype of rtems_deviceio_errno. Include <rtems/devfs.h> for rtems_deviceio_errno().
* 2011-12-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-022-9/+9
| | | | | | | | * libfs/src/imfs/imfs_eval.c: Make IMFS_evaluate_permission, IMFS_evaluate_hard_link, IMFS_evaluate_sym_link static. * libfs/src/imfs/imfs_fifo.c: Make IMFS_fifo_open, IMFS_fifo_close, IMFS_fifo_read, IMFS_fifo_write, IMFS_fifo_ioctl static.
* Remove stray whitespaces.Ralf Corsepius2011-11-0644-536/+536
|
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-064-19/+27
| | | | | | | | PR1945/cpukit * libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems-dev.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems-file.c, libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c: Replace rtems_off64_t with off_t.
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-065-20/+20
| | | | | | | PR1945/cpukit * libfs/src/imfs/deviceio.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/memfile.c: Replace rtems_off64_t with off_t.
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-063-10/+10
| | | | | | | PR1945/cpukit * libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_file.c: Replace rtems_off64_t with off_t.
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-062-3/+3
| | | | | | | PR1945/cpukit * libfs/src/defaults/default_ftruncate.c, libfs/src/defaults/default_lseek.c: Replace rtems_off64_t with off_t.
* 2011-11-06 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-11-061-3/+3
| | | | * libfs/src/rfs/rtems-rfs-dir.c: Rename PRIdoff_t into PRIooff_t.
* 2011-11-04 Chris Johns <chrisj@rtems.org>Chris Johns2011-11-031-2/+24
| | | | | * libfs/src/rfs/rtems-rfs-dir.h: Commit the missing change. Part of removing the hardcoded dir string.
* 2011-11-03 Chris Johns <chrisj@rtems.org>Chris Johns2011-11-034-11/+54
| | | | | | | | | | | PR 1948/filesystem * libfs/src/rfs/rtems-rfs-file-system.c, libfs/src/rfs/rtems-rfs-file-system.h, libfs/src/rfs/rtems-rfs-format.c, libfs/src/rfs/rtems-rfs-rtems.c: Add support for mount passing an ASCIIZ string containing configuration options. Remove the hardcoded dir string and size. Fix comments. * libblock/src/bdbuf.c: Fix state labels in trace output.
* 2011-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-261-0/+6
| | | | * libfs/src/imfs/imfs.h: Add IMFS_memfile_maximum_size.
* 2011-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-201-2/+1
| | | | | * libfs/src/dosfs/msdos_file.c (msdos_file_datasync): Remove unused var "rc".
* 2011-10-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-181-1/+4
| | | | * libfs/src/pipe/fifo.c: Conditionally use var "sc".
* 2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-171-0/+4
| | | | | * libfs/src/rfs/rtems-rfs-file-system.c (rtems_rfs_fs_open): Comment out unused vars "group", "group_base".
* 2011-10-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-103-3/+3
| | | | | | | * libfs/src/devfs/devfs_mknod.c: Remove const cast. * libfs/src/imfs/ioman.c: Remove const cast. * libfs/src/devfs/devfs.h: Make device_name a const char*. * sapi/include/rtems/io.h: Make device_name a const char*.
* 2011-10-07 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-10-071-4/+0
| | | | | * libfs/src/imfs/memfile.c (memfile_ioctl): Remove unused var "the_jnode".
* 2011-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-08-022-0/+5
| | | | | | | | | PR 1877/cpukit * libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/memfile.c, sapi/inline/rtems/rbtree.inl, score/include/rtems/score/rbtree.h, score/inline/rtems/score/rbtree.inl, score/src/rbtree.c, score/src/rbtreefind.c, score/src/rbtreeinsert.c: Add comparison function for RBTrees.
* 2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-08-011-1/+1
| | | | * libfs/src/nfsclient/src/nfs.c: Fixed creation of directories.
* 2011-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-07-211-2/+2
| | | | | | * libfs/src/dosfs/fat_file.c, libmisc/monitor/monitor.h, score/cpu/m68k/rtems/score/cpu.h: Remove stray spaces from unsigned32 to uint32_t conversion.
* 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-214-9/+6
| | | | | | | | * libcsupport/include/rtems/libio_.h: Added rtems_filesystem_is_root_location(). * libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_eval.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c: Use rtems_filesystem_is_root_location().
* 2011-07-13 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2011-07-131-1/+1
| | | | | | | PR 1775/filesystem * libfs/src/nfsclient/src/nfs.c: NFSAddress NFS issue where read/write problems when requested bytes greater than nfsStBlksize. Failure to create files and symlinks.
* 2011-07-04 Chris Johns <chrisj@rtems.org>Chris Johns2011-07-041-1/+1
| | | | | | PR 1827/filesystem * libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value when eval make moving up out of the RFS file system.
* 2011-06-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-06-242-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/rtems/bspIo.h, include/rtems/concat.h, include/rtems/endian.h, include/rtems/fs.h, include/rtems/irq.h, include/rtems/pci.h, include/rtems/userenv.h, libblock/include/rtems/flashdisk.h, libblock/include/rtems/nvdisk-sram.h, libblock/include/rtems/nvdisk.h, libcsupport/include/clockdrv.h, libcsupport/include/console.h, libcsupport/include/iosupp.h, libcsupport/include/spurious.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/error.h, libcsupport/include/rtems/framebuffer.h, libcsupport/include/rtems/gxx_wrappers.h, libcsupport/include/rtems/libcsupport.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/malloc.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/sys/statvfs.h, libcsupport/include/sys/termios.h, libcsupport/include/sys/utsname.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libfs/src/imfs/imfs.h, libfs/src/pipe/pipe.h, libmisc/capture/capture-cli.h, libmisc/capture/capture.h, libmisc/cpuuse/cpuuse.h, libmisc/devnull/devnull.h, libmisc/devnull/devzero.h, libmisc/dumpbuf/dumpbuf.h, libmisc/fb/fb.h, libmisc/fb/mw_uid.h, libmisc/mouse/mouse_parser.h, libmisc/shell/shellconfig.h, libmisc/stringto/stringto.h, libmisc/untar/untar.h, libnetworking/memory.h, posix/include/aio.h, posix/include/mqueue.h, posix/include/semaphore.h, posix/include/rtems/posix/aio_misc.h, posix/include/rtems/posix/barrier.h, posix/include/rtems/posix/cond.h, posix/include/rtems/posix/config.h, posix/include/rtems/posix/key.h, posix/include/rtems/posix/mqueue.h, posix/include/rtems/posix/mutex.h, posix/include/rtems/posix/posixapi.h, posix/include/rtems/posix/priority.h, posix/include/rtems/posix/psignal.h, posix/include/rtems/posix/pthread.h, posix/include/rtems/posix/ptimer.h, posix/include/rtems/posix/rwlock.h, posix/include/rtems/posix/semaphore.h, posix/include/rtems/posix/sigset.h, posix/include/rtems/posix/spinlock.h, posix/include/rtems/posix/threadsup.h, posix/include/rtems/posix/time.h, posix/include/rtems/posix/timer.h, posix/inline/rtems/posix/barrier.inl, posix/inline/rtems/posix/cond.inl, posix/inline/rtems/posix/mqueue.inl, posix/inline/rtems/posix/mutex.inl, posix/inline/rtems/posix/priority.inl, posix/inline/rtems/posix/pthread.inl, posix/inline/rtems/posix/rwlock.inl, posix/inline/rtems/posix/semaphore.inl, posix/inline/rtems/posix/spinlock.inl, posix/inline/rtems/posix/timer.inl, rtems/mainpage.h, rtems/include/rtems/rtems/barrier.h, rtems/include/rtems/rtems/object.h, rtems/include/rtems/rtems/timer.h, rtems/inline/rtems/rtems/barrier.inl, rtems/inline/rtems/rtems/timer.inl, rtems/src/semtranslatereturncode.c, sapi/include/rtems/config.h, sapi/include/rtems/fatal.h, sapi/include/rtems/mptables.h, score/include/rtems/score/object.h, score/include/rtems/score/priority.h, score/inline/rtems/score/object.inl, score/inline/rtems/score/priority.inl: Add @file Doxygen directives and descriptions to files which originated with RTEMS. This improves the file list page generated by Doxygen.
* 2011-06-10 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-06-101-0/+2
| | | | | | PR 1812/filesystem * libfs/src/imfs/imfs_stat.c: stat() implementation for IMFS did not set st_blksize field. Set it based upon user configuration.
* 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
|