summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nfsclient: Fix warningsSebastian Huber2016-04-224-4/+19
|
* libblock: Drop superfluous <stdlib.h> includeSebastian Huber2016-04-074-0/+4
| | | | | | Drop superfluous <stdlib.h> include from <rtems/diskdevs.h> since this leads to conflicts with the latest Newlib in case this header file is used in the FreeBSD kernel space, e.g. for USB mass storage support.
* Filesystem: Remove superfluous permission checksSebastian Huber2016-01-052-32/+1
| | | | The permission is check by the upper layer.
* untar: do not exit with error when created directory already exists.Pavel Pisa2015-11-231-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.
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-1/+1
|
* RFS: Fix resource leakSebastian Huber2015-10-261-0/+2
| | | | Close #2433.
* JFFS2: Use RTEMS red-black tree implementationSebastian Huber2015-09-033-453/+112
|
* Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers2015-08-061-3/+45
| | | | closes #2384
* nfsclient: Use an interrupt lockSebastian Huber2015-06-191-21/+29
|
* dosfs: avoid buffer-overread. closes #2292.Gedare Bloom2015-05-271-2/+2
|
* jffs2: Move into separate librarySebastian Huber2015-05-272-1/+18
| | | | | | | In case the zlib compression was used, then the librtemscpu.a depended on libz.a. To avoid a GCC patch or complicated link flags move the JFFS2 support into a separate library to use a simple "-ljffs2 -lz" to link the executable.
* dosfs: Fix warning fixSebastian Huber2015-04-271-1/+1
|
* score: Delete Thread_queue_Control::stateSebastian Huber2015-04-231-25/+0
| | | | | Use a parameter for _Thread_queue_Enqueue() instead to reduce memory usage.
* imfs.h: Add cast to remove warning for pointer/integer size mismatchJoel Sherrill2015-03-241-1/+1
|
* IMFS: NUL-terminate name returned by readdir()Sebastian Huber2015-03-171-2/+5
|
* cpukit/libdl/rtl-obj-comp.c: Use correct printf() specificationJoel Sherrill2015-03-171-2/+2
|
* IMFS: don't strlen() an unterminated string in IMFS_dir_read().Jamie Iles2015-03-161-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.
* rfs: cast minor to uintptr_t to truncate explicitlyGedare Bloom2015-03-161-2/+2
|
* Fix more Doxygen typosJoel Sherrill2015-03-061-3/+2
|
* Fix a number of minor Doxygen formatting issuesJoel Sherrill2015-03-061-5/+5
|
* dosfs: Fix warningsSebastian Huber2015-03-057-18/+12
|
* IMFS: Fix warningSebastian Huber2015-03-051-1/+1
|
* IMFS: Include missing header fileSebastian Huber2015-03-051-0/+1
|
* IMFS: Fix warningSebastian Huber2015-03-051-1/+1
|
* IMFS: Fix copy on write for linfilesSebastian Huber2015-02-201-0/+3
|
* IMFS: Silence warningSebastian Huber2015-02-181-1/+1
|
* IMFS: Implement variable length node namesSebastian Huber2015-02-155-25/+46
| | | | This reduces the average node size and adds more flexibility.
* IMFS: Add CONFIGURE_IMFS_DISABLE_READDIRSebastian Huber2015-02-147-140/+172
|
* IMFS: Add fine grained configurationSebastian Huber2015-02-127-185/+9
| | | | | | | | | | | | | | | | | | 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.
* IMFS: Allow static initialization of FS infoSebastian Huber2015-02-126-100/+118
|
* IMFS: Fix resource leakSebastian Huber2015-02-121-1/+9
|
* IMFS: Add root directory to FS infoSebastian Huber2015-02-124-88/+69
| | | | Fix memory leak in IMFS_fsunmount().
* IMFS: Simplify IMFS_symlink()Sebastian Huber2015-02-121-26/+7
|
* IMFS: Split linfile and memfile modulesSebastian Huber2015-02-125-168/+137
| | | | Make several functions static.
* IMFS: Introduce IMFS_mknod_controlSebastian Huber2015-02-1216-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.
* Filesystem: Use ENOTSUP for default mount/unmountSebastian Huber2015-02-122-2/+2
|
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-0911-37/+1
|
* IMFS: Simplify ino generationSebastian Huber2015-02-044-5/+7
| | | | | The type of ino_t is unsigned long, so it can store a pointer. Avoid a potential integer overflow.
* IMFS: Use rtems_filesystem_make_dev_t_from_pointerSebastian Huber2015-02-043-29/+3
|
* IMFS: Reduce IMFS node typesSebastian Huber2015-01-2810-48/+21
| | | | Provide only types used by IMFS_mknod().
* IMFS: Aggregate link support in dedicated modulesSebastian Huber2015-01-285-177/+152
|
* IMFS: Replace node union with individual structSebastian Huber2015-01-2723-596/+512
| | | | | | This reduces the average node size. Add and use IMFS_GENERIC_INITIALIZER().
* Filesystem: Delete node type operationSebastian Huber2015-01-2218-352/+20
| | | | Use the fstat handler instead.
* Correct error return mismatchesNick Withers2014-12-234-22/+48
| | | | Closes #2139
* Teach rtems_tarfs_load() about symlinksNick Withers2014-12-111-0/+17
|
* nfsclient: Avoid __FILE__ and __LINE__Sebastian Huber2014-12-051-3/+1
| | | | The __FILE__ prevents reproducible builds.
* nfs: Add RPCd task affinity config optionDaniel Cederman2014-12-022-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.
* msdos_file.c: Reverse return codes per GedareJoel Sherrill2014-11-271-3/+3
|
* imfs/imfs_handlers_link.c: Add _Assert for NULL pointerJosh Oguin2014-11-261-0/+2
| | | | | CodeSonar flagged this as a possible dereference of a NULL pointer. This should never occur so adding _Assert().
* dosfs/msdos_misc.c: Remove unnecessary operationJosh Oguin2014-11-261-1/+1
| | | | | CodeSonar flagged the increment of this pointer as unneeded. The pointer is not used past this point.