summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-02-14dosfs: Fix msdos_find_file_in_directory()Sebastian Huber1-1/+1
For a filename match the entry must match without anything remaining. Update #2908.
2016-05-20fat: Fix for invalid cluster sizesSebastian Huber1-1/+3
A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Update #2717.
2015-11-23untar: do not exit with error when created directory already exists.Pavel Pisa1-1/+17
The problem exists for both RTEMS untar implementations and their variants: Untar_FromMemory(), Untar_FromFile() and rtems_tarfs_load(). If filesystem object already exists at extracted directory path then if it is directory, creation is ignored. Attempt to delete/unlink object and make directory is tried for other cases. This simple approach problem reported in ticket fixes #2413. Behavior follows GNU tar and BSD tar practice for directories but much more work is required to achieve full semantics of the full featured tar implementation still.
2015-10-26RFS: Fix resource leakSebastian Huber1-0/+2
Update #2433.
2015-08-06Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers1-3/+45
closes #2384
2015-06-19nfsclient: Use an interrupt lockSebastian Huber1-21/+29
2015-05-27dosfs: avoid buffer-overread. closes #2292.Gedare Bloom1-2/+2
2015-04-27dosfs: Fix warning fixSebastian Huber1-1/+1
2015-04-23score: Delete Thread_queue_Control::stateSebastian Huber1-25/+0
Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
2015-03-24imfs.h: Add cast to remove warning for pointer/integer size mismatchJoel Sherrill1-1/+1
2015-03-17IMFS: NUL-terminate name returned by readdir()Sebastian Huber1-2/+5
2015-03-17cpukit/libdl/rtl-obj-comp.c: Use correct printf() specificationJoel Sherrill1-2/+2
2015-03-16IMFS: don't strlen() an unterminated string in IMFS_dir_read().Jamie Iles1-1/+1
a43a3466 (IMFS: Implement variable length node names) introduced a changed to IMFS_jnode_t from being a null terminated string to a separate unterminated string and length. IMFS_dir_read() was still performing a strlen() on this unterminated string though and when doing an 'ls' in the fileio example I saw that some filenames had garbage suffixes.
2015-03-16rfs: cast minor to uintptr_t to truncate explicitlyGedare Bloom1-2/+2
2015-03-06Fix more Doxygen typosJoel Sherrill1-3/+2
2015-03-06Fix a number of minor Doxygen formatting issuesJoel Sherrill1-5/+5
2015-03-05dosfs: Fix warningsSebastian Huber7-18/+12
2015-03-05IMFS: Fix warningSebastian Huber1-1/+1
2015-03-05IMFS: Include missing header fileSebastian Huber1-0/+1
2015-03-05IMFS: Fix warningSebastian Huber1-1/+1
2015-02-20IMFS: Fix copy on write for linfilesSebastian Huber1-0/+3
2015-02-18IMFS: Silence warningSebastian Huber1-1/+1
2015-02-15IMFS: Implement variable length node namesSebastian Huber5-25/+46
This reduces the average node size and adds more flexibility.
2015-02-14IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber6-138/+168
2015-02-12IMFS: Add fine grained configurationSebastian Huber6-183/+7
Remove miniIMFS. Statically initialize the root IMFS. Add configuration options to disable individual features of the root IMFS, e.g. o CONFIGURE_IMFS_DISABLE_CHOWN, o CONFIGURE_IMFS_DISABLE_FCHMOD, o CONFIGURE_IMFS_DISABLE_LINK, o CONFIGURE_IMFS_DISABLE_MKNOD, o CONFIGURE_IMFS_DISABLE_MOUNT, o CONFIGURE_IMFS_DISABLE_READLINK, o CONFIGURE_IMFS_DISABLE_RENAME, o CONFIGURE_IMFS_DISABLE_RMNOD, o CONFIGURE_IMFS_DISABLE_SYMLINK, o CONFIGURE_IMFS_DISABLE_UNMOUNT, and o CONFIGURE_IMFS_DISABLE_UTIME.
2015-02-12IMFS: Allow static initialization of FS infoSebastian Huber6-100/+118
2015-02-12IMFS: Fix resource leakSebastian Huber1-1/+9
2015-02-12IMFS: Add root directory to FS infoSebastian Huber4-88/+69
Fix memory leak in IMFS_fsunmount().
2015-02-12IMFS: Simplify IMFS_symlink()Sebastian Huber1-26/+7
2015-02-12IMFS: Split linfile and memfile modulesSebastian Huber4-165/+133
Make several functions static.
2015-02-12IMFS: Introduce IMFS_mknod_controlSebastian Huber16-76/+94
Drop IMFS_node_control::node_size field and add node_size parameter to IMFS_allocate_node() and IMFS_create_node(). This reduces the size of generic nodes.
2015-02-12Filesystem: Use ENOTSUP for default mount/unmountSebastian Huber2-2/+2
2015-02-09Filesystem: Delete unused fsmountme_h handlerSebastian Huber10-36/+0
2015-02-04IMFS: Simplify ino generationSebastian Huber4-5/+7
The type of ino_t is unsigned long, so it can store a pointer. Avoid a potential integer overflow.
2015-02-04IMFS: Use rtems_filesystem_make_dev_t_from_pointerSebastian Huber3-29/+3
2015-01-28IMFS: Reduce IMFS node typesSebastian Huber10-48/+21
Provide only types used by IMFS_mknod().
2015-01-28IMFS: Aggregate link support in dedicated modulesSebastian Huber4-175/+150
2015-01-27IMFS: Replace node union with individual structSebastian Huber22-595/+511
This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
2015-01-22Filesystem: Delete node type operationSebastian Huber17-348/+17
Use the fstat handler instead.
2014-12-23Correct error return mismatchesNick Withers4-22/+48
Closes #2139
2014-12-11Teach rtems_tarfs_load() about symlinksNick Withers1-0/+17
2014-12-05nfsclient: Avoid __FILE__ and __LINE__Sebastian Huber1-3/+1
The __FILE__ prevents reproducible builds.
2014-12-02nfs: Add RPCd task affinity config optionDaniel Cederman2-0/+23
Similar to the task priority option, the new CPU affinity option is first controlled by the RPCI specific rpciodCpuset option. If that is not set, it uses the global network task config. If that is also not set, it falls back to not setting the affinity at all, using all CPUs.
2014-11-27msdos_file.c: Reverse return codes per GedareJoel Sherrill1-3/+3
2014-11-26imfs/imfs_handlers_link.c: Add _Assert for NULL pointerJosh Oguin1-0/+2
CodeSonar flagged this as a possible dereference of a NULL pointer. This should never occur so adding _Assert().
2014-11-26dosfs/msdos_misc.c: Remove unnecessary operationJosh Oguin1-1/+1
CodeSonar flagged the increment of this pointer as unneeded. The pointer is not used past this point.
2014-11-26dosfs/msdos_file.c: Return an error if it occursJosh Oguin1-1/+4
CodeSonar flagged this as a case where the return value from fat_sync() was not used. Now it is used to return pass/fail to the caller.
2014-11-26dosfs/msdos_conv.c: Remove unnecessary operationsJosh Oguin1-3/+2
These were flagged by CodeSonar. The assignments on variable declaration are overridden a few lines below and the other line later with name_size is where name_size was not used after this assignment.
2014-11-25rtems-rfs-rtems.c: Add cast to address warningJoel Sherrill1-1/+1
2014-11-21pipe/fifo.c: NULL dereference flagged by Coverity ID 1063889Joel Sherrill1-1/+2
It does not appear that this is possible so adding an assert.