Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | DOSFS - LENGHT -> LENGTH | Joel Sherrill | 2016-07-12 | 4 | -6/+6 |
| | | | | closes #2756, | ||||
* | dosfs: Use proper semaphore attr for mutex | Sebastian Huber | 2016-06-06 | 1 | -1/+2 |
| | | | | Close #2727. | ||||
* | fat: Fix for invalid cluster sizes | Sebastian Huber | 2016-05-20 | 1 | -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> include | Sebastian Huber | 2016-04-07 | 1 | -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 Bloom | 2015-05-27 | 1 | -2/+2 |
| | |||||
* | dosfs: Fix warning fix | Sebastian Huber | 2015-04-27 | 1 | -1/+1 |
| | |||||
* | Fix a number of minor Doxygen formatting issues | Joel Sherrill | 2015-03-06 | 1 | -5/+5 |
| | |||||
* | dosfs: Fix warnings | Sebastian Huber | 2015-03-05 | 7 | -18/+12 |
| | |||||
* | Filesystem: Delete unused fsmountme_h handler | Sebastian Huber | 2015-02-09 | 1 | -1/+0 |
| | |||||
* | Filesystem: Delete node type operation | Sebastian Huber | 2015-01-22 | 4 | -82/+10 |
| | | | | Use the fstat handler instead. | ||||
* | msdos_file.c: Reverse return codes per Gedare | Joel Sherrill | 2014-11-27 | 1 | -3/+3 |
| | |||||
* | dosfs/msdos_misc.c: Remove unnecessary operation | Josh Oguin | 2014-11-26 | 1 | -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 occurs | Josh Oguin | 2014-11-26 | 1 | -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 operations | Josh Oguin | 2014-11-26 | 1 | -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 Sherrill | 2014-11-21 | 1 | -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 Sherrill | 2014-11-21 | 1 | -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 defines | Sebastian Huber | 2014-11-21 | 1 | -4/+1 |
| | | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros. | ||||
* | dosfs: Avoid MIN() re-definition | Sebastian Huber | 2014-11-20 | 1 | -0/+2 |
| | |||||
* | dosfs: Write meta-data only if it changed | Sebastian Huber | 2014-10-23 | 3 | -17/+40 |
| | |||||
* | dosfs: Support ctime and mtime | Sebastian Huber | 2014-10-23 | 9 | -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 status | Sebastian Huber | 2014-09-11 | 1 | -14/+16 |
| | |||||
* | dosfs: Fix read from invalid memory area | Sebastian Huber | 2014-05-16 | 1 | -1/+1 |
| | |||||
* | Change all references of rtems.com to rtems.org. | Chris Johns | 2014-03-21 | 24 | -24/+24 |
| | |||||
* | dosfs/fat.c: Remove use of register keyword | Joel Sherrill | 2014-02-03 | 1 | -1/+1 |
| | |||||
* | Filesystem: Use default kqfilter and poll handler | Sebastian Huber | 2013-12-20 | 2 | -0/+4 |
| | |||||
* | Filesystem: Add readv/writev handlers | Sebastian Huber | 2013-12-20 | 2 | -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 restrict | Joel Sherrill | 2013-11-27 | 3 | -10/+10 |
| | |||||
* | statvfs and ALL filesystem handlers: Add restrict keyword. | Daniel Ramirez | 2013-11-21 | 4 | -12/+14 |
| | |||||
* | dosfs: Ensure initially the sector size is used as bdbuf block size | Ralf Kirchner | 2013-10-18 | 1 | -0/+9 |
| | |||||
* | dosfs: Correct handling of iconv() return value | Ralf Kirchner | 2013-09-10 | 1 | -5/+16 |
| | |||||
* | dosfs: Eliminate empty case statements that fall through to default. | Gedare Bloom | 2013-09-05 | 1 | -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 0 | Gedare Bloom | 2013-09-05 | 1 | -1/+1 |
| | | | | Change the type for storing the return from iconv to be signed. | ||||
* | dosfs: Unsigned compared against 0 | Gedare Bloom | 2013-09-05 | 1 | -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 overflow | Gedare Bloom | 2013-09-05 | 1 | -1/+1 |
| | | | | Explicitly promote 32-bit integer to 64-bits for multiplication. | ||||
* | dosfs: Use unprotected chain operations | Sebastian Huber | 2013-08-21 | 2 | -4/+4 |
| | | | | This area is protected by the FAT file system instance lock. | ||||
* | documentation: Fix Doxygen comments | Sebastian Huber | 2013-06-14 | 1 | -11/+11 |
| | |||||
* | dosfs: Documentation | Sebastian Huber | 2013-06-07 | 1 | -0/+8 |
| | |||||
* | dosfs: Documentation | Ralf Kirchner | 2013-06-03 | 1 | -6/+97 |
| | |||||
* | dosfs: UTF-8 Support: Multibyte conversions | Ralf Kirchner | 2013-06-03 | 3 | -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 compatibility | Ralf Kirchner | 2013-06-03 | 10 | -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_INSTANCE | Ralf Kirchner | 2013-05-24 | 1 | -0/+7 |
| | |||||
* | dosfs: Fix typo | Ralf Kirchner | 2013-05-24 | 1 | -1/+1 |
| | |||||
* | dosfs: Add statvfs() support | Andrei Mozzhuhin | 2013-05-16 | 3 | -1/+79 |
| | |||||
* | dosfs: PR2091: Fix warning | Andreas Heinig | 2013-02-27 | 1 | -2/+2 |
| | |||||
* | dosfs: PR2092: Delete unused function | Andreas Heinig | 2013-02-27 | 1 | -32/+0 |
| | |||||
* | dosfs: Fix file length update | Sebastian Huber | 2013-02-20 | 1 | -2/+3 |
| | |||||
* | dosfs: Start scan with a valid data cluster | Sebastian Huber | 2013-02-15 | 1 | -26/+16 |
| | | | | | Simpify the loop. Set last cluster to an undefined value in case no free cluster exists. | ||||
* | dosfs: Fix file extend | Sebastian Huber | 2013-02-15 | 1 | -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 count | Sebastian Huber | 2013-02-15 | 1 | -1/+6 |
| | |||||
* | dosfs: Always release the buffers | Sebastian Huber | 2013-01-30 | 1 | -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. |