summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* dosfs/msdos_file.c: Return an error if it occursJosh Oguin2014-11-261-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.
* dosfs/msdos_conv.c: Remove unnecessary operationsJosh Oguin2014-11-261-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.
* rtems-rfs-rtems.c: Add cast to address warningJoel Sherrill2014-11-251-1/+1
|
* pipe/fifo.c: NULL dereference flagged by Coverity ID 1063889Joel Sherrill2014-11-211-1/+2
| | | | It does not appear that this is possible so adding an assert.
* dosfs/fat_fat_operations.c: Explicitly ignore return (Coverity ID 26048)Joel Sherrill2014-11-211-2/+7
| | | | | | Coverity spotted that the return code from fat_set_fat_cluster() was ignored. But it should be because we want to return the status that caused us to hit the cleanup path.
* dosfs/msdos_format.c: Dead code removal (Coverity ID 1255325)Joel Sherrill2014-11-211-75/+61
| | | | | Coverity identified that ret_val was never set except to be initialized to 0. Thus the code could not be executed.
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-213-9/+3
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* dosfs: Avoid MIN() re-definitionSebastian Huber2014-11-201-0/+2
|
* dosfs: Write meta-data only if it changedSebastian Huber2014-10-233-17/+40
|
* dosfs: Support ctime and mtimeSebastian Huber2014-10-239-133/+170
| | | | | | | Implement ctime and mtime updates according to POSIX. The ctime is mapped to the FAT create time and date. The mtime is mapped to the FAT last modified time and date. For the atime use the mtime for simplicity.
* cpukit/libfs/src/imfs/ioman.c: Fix typoJoel Sherrill2014-10-201-1/+1
|