summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DOSFS - LENGHT -> LENGTHJoel Sherrill2016-07-124-6/+6
| | | | closes #2756,
* dosfs: Use proper semaphore attr for mutexSebastian Huber2016-06-061-1/+2
| | | | Close #2727.
* fat: Fix for invalid cluster sizesSebastian Huber2016-05-201-1/+3
| | | | | | | A cluster size > 32KiB resulted in an infinite loop in fat_init_volume_info() due to an integer overflow. Close #2717.
* libblock: Drop superfluous <stdlib.h> includeSebastian Huber2016-04-071-0/+1
| | | | | | 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.
* dosfs: avoid buffer-overread. closes #2292.Gedare Bloom2015-05-271-2/+2
|
* dosfs: Fix warning fixSebastian Huber2015-04-271-1/+1
|
* Fix a number of minor Doxygen formatting issuesJoel Sherrill2015-03-061-5/+5
|
* dosfs: Fix warningsSebastian Huber2015-03-057-18/+12
|
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-091-1/+0
|
* Filesystem: Delete node type operationSebastian Huber2015-01-224-82/+10
| | | | Use the fstat handler instead.
* msdos_file.c: Reverse return codes per GedareJoel Sherrill2014-11-271-3/+3
|
* 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.
* 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-211-4/+1
| | | | 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.
* dosfs: Check error statusSebastian Huber2014-09-111-14/+16
|
* dosfs: Fix read from invalid memory areaSebastian Huber2014-05-161-1/+1
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-2124-24/+24
|
* dosfs/fat.c: Remove use of register keywordJoel Sherrill2014-02-031-1/+1
|
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-202-0/+4
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-202-22/+26
| | | | | | | | | The readv() and writev() support was implemented in terms of multiple calls to the read and write handlers. This imposes a problem on device files which use an IO vector as single request entity. For example a low-level network device (e.g. BPF(4)) may use an IO vector to create one frame from multiple protocol layers each with its own IO vector entry.
* statvfs filesystem handlers: Remove restrictJoel Sherrill2013-11-273-10/+10
|
* statvfs and ALL filesystem handlers: Add restrict keyword.Daniel Ramirez2013-11-214-12/+14
|
* dosfs: Ensure initially the sector size is used as bdbuf block sizeRalf Kirchner2013-10-181-0/+9
|
* dosfs: Correct handling of iconv() return valueRalf Kirchner2013-09-101-5/+16
|
* dosfs: Eliminate empty case statements that fall through to default.Gedare Bloom2013-09-051-2/+0
| | | | | | | Also eliminates possibly dead code in case the name_type can never actually be MSDOS_NAME_INVALID. 1063860 Logically dead code.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | Change the type for storing the return from iconv to be signed.
* dosfs: Unsigned compared against 0Gedare Bloom2013-09-051-1/+1
| | | | | Fix the type of "cmpltd" to be ssize_t so that assigning it to -1 will terminate processing as intended.
* dosfs: Unintentional integer overflowGedare Bloom2013-09-051-1/+1
| | | | Explicitly promote 32-bit integer to 64-bits for multiplication.
* dosfs: Use unprotected chain operationsSebastian Huber2013-08-212-4/+4
| | | | This area is protected by the FAT file system instance lock.
* documentation: Fix Doxygen commentsSebastian Huber2013-06-141-11/+11
|
* dosfs: DocumentationSebastian Huber2013-06-071-0/+8
|
* dosfs: DocumentationRalf Kirchner2013-06-031-6/+97
|
* dosfs: UTF-8 Support: Multibyte conversionsRalf Kirchner2013-06-033-10/+339
| | | | | | | | | | | | Add optional conversion methods for multibyte strings. With these conversions which make use of iconv and utf8proc it becomes possible to use strings from any language (Czech, Chinese, Arabian, Hebrew, Corean, ...) for file names and directory names. NOTE: Iconv support must be activated during the build of the tool chain for these conversion methods (options --enable-newlib-iconv --enable-newlib-iconv-encodings=[ENCODINGS_YOU_WANT]). Alternatively you can provide your own conversion methods.
* dosfs: UTF-8 Support: UI, backwards compatibilityRalf Kirchner2013-06-0310-560/+1780
| | | | | | | | | User interface and backwards compatibility for UTF-8 support in the FAT file system. Purpose of UTF-8 support is to permit file names and directory names with characters from all kinds of languages (Czech, Chinese, Arabian, Hebrew, Korean, ...). This commit does not yet support multibyte characters. It only contains the user interface and the backwards compatibility.
* dosfs: Add RTEMS_DOSFS_SEMAPHORES_PER_INSTANCERalf Kirchner2013-05-241-0/+7
|
* dosfs: Fix typoRalf Kirchner2013-05-241-1/+1
|
* dosfs: Add statvfs() supportAndrei Mozzhuhin2013-05-163-1/+79
|
* dosfs: PR2091: Fix warningAndreas Heinig2013-02-271-2/+2
|
* dosfs: PR2092: Delete unused functionAndreas Heinig2013-02-271-32/+0
|
* dosfs: Fix file length updateSebastian Huber2013-02-201-2/+3
|
* dosfs: Start scan with a valid data clusterSebastian Huber2013-02-151-26/+16
| | | | | Simpify the loop. Set last cluster to an undefined value in case no free cluster exists.
* dosfs: Fix file extendSebastian Huber2013-02-151-23/+24
| | | | | | Only append a valid cluster chain (cluster added > 0), otherwise we overwrite the root directory cluster (cluster 0) of a FAT12 or FAT16 with arbitrary data.
* dosfs: Ensure valid data cluster countSebastian Huber2013-02-151-1/+6
|
* dosfs: Always release the buffersSebastian Huber2013-01-301-22/+23
| | | | | Release the buffers also if this is not the last reference to the file object since otherwise we may hold modified data indefinitely.