summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems-rfs-dir-hash.c: Add file headers and licensesRyan Long2022-05-041-0/+27
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* rtems-jffs2-config.h: Add file headers and licensesRyan Long2022-05-041-0/+33
| | | | | This file had no header, copyright, or license. Based on git history, added appropriate copyright and license.
* imfs: Fix index underrun when extending empty fileChristian Mauderer2022-04-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | Currently the following sequence causes a endless loop when extending an IMFS file: - Create a file with zero length and close it. - Make sure nearly no allocatable memory is left. - Open the file and write enough data into it that more than the remaining memory will be used. In that case when extending the IMFS file, the file currently need zero blocks. If allocating enough new blocks fails, the already allocated new blocks will be freed again. The comparison of block>=old_blocks that has been used prior to this patch compared two unsigned numbers. If old_blocks was zero, the comparison of these two numbers always evaluated to true. This patch frees the last block in a separate step to avoid this problem. Fixes #4639
* cpukit/: Update Eric Norum contact info and normalize file headersJoel Sherrill2022-03-241-1/+1
|
* cpukit/libfs/src/rfs: Change license to BSD-2Joel Sherrill2022-03-2221-63/+462
| | | | Updates #3053.
* cpukit/libds/src/ftpfs/tftpDriver.c: Manually update license to BSD-2Joel Sherrill2022-03-221-8/+30
| | | | | | | Eric Norum granted permission plus git log archeology to get year for his copyright. Updates #3053.
* cpukit/libfs/src/imfs: Change license to BSD-2Joel Sherrill2022-03-2228-84/+616
| | | | Updates #3053.
* cpukit/libfs/src/defaults: Change license to BSD-2Joel Sherrill2022-03-2237-111/+814
| | | | Updates #3053.
* cpukit: Automated IMD header file clean upChristian Mauderer2022-03-101-1/+1
| | | | | | Use the same form of IMD in all copyright lines Update #4625.
* bsps and cpukit: Manual file header clean upChristian Mauderer2022-03-101-8/+5
| | | | Updates #4625.
* cpukit/: Scripted embedded brains header file clean upJoel Sherrill2022-03-1017-102/+1
| | | | Updates #4625.
* cpukit: occured -> occurredSebastian Huber2021-07-169-41/+41
|
* Change filesystem utime_h handler to utimens_hRyan Long2021-05-2811-131/+197
| | | | | | | Also updated licenses. Closes #4400 Updates #3899
* cpukit/libfs: Remove nfsclientVijay Kumar Banerjee2021-04-0716-10797/+0
| | | | Update #3850
* cpukit: Move ftpfs from libnetworking to libfsVijay Kumar Banerjee2021-04-072-0/+2496
| | | | Update #3850
* dosfs: Use peek supportChristian Mauderer2021-03-263-5/+31
| | | | | | This speeds up reading fragmented files. Fix #3689
* dosfs: Fix Doxygen group placementSebastian Huber2020-12-0210-25/+27
| | | | Update #3706.
* libfs: Fix Doxygen group placementSebastian Huber2020-12-026-6/+6
| | | | Update #3706.
* nfsclient: Rework Doxygen groupsSebastian Huber2020-12-028-16/+19
| | | | Update #3706.
* libfs/rfs: Check search bit map end on last bitChris Johns2020-10-171-2/+15
| | | | | | | - Do not write past the last location of the search bit map whe nit is being created. Closes #4148
* dosfs: Fix memory leak on failed mounts.Christian Mauderer2020-08-041-0/+5
| | | | | | | | | | | | | | | | | | | | Currently if mount fails, a converter isn't destroyed. We have to take care of two cases: 1. The user doesn't provide a converter. In this case mounting a dosfs creates a default converter. This patch makes sure that the converter is destroyed again if mount failes for this case. 2. The user provides a converter. In this case it's not sure that the dosfs specific routines are reached because mount can fail before that. Therefore the user has to destroy the converter himself again. This patch adds a documentation for that and implements it in the media server. Closes #4042.
* rtems: Remove deprecated rtems_io_lookup_name()Sebastian Huber2020-07-141-21/+0
| | | | Close #3420.
* doxygen: Switch @brief and @ingroupSebastian Huber2020-04-2898-98/+196
| | | | This order change fixes the Latex documentation build via Doxygen.
* Canonicalize config.h includeSebastian Huber2020-04-16109-169/+169
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* imfs: Replace devfs with an IMFS specializationSebastian Huber2020-03-0911-485/+163
| | | | | | | | | | | | | | | | Add a simplified path evaluation function IMFS_eval_path_devfs() for a device only IMFS configuration. The code size can be further reduced by the application if it disables the support for legacy IO drivers via: #define CONFIGURE_IMFS_DISABLE_MKNOD #define CONFIGURE_IMFS_DISABLE_MKNOD_DEVICE Obsolete CONFIGURE_MAXIMUM_DEVICES. Remove BSP_MAXIMUM_DEVICES. Update #3894. Update #3898.
* imfs: Simplify code generationSebastian Huber2020-03-091-11/+17
| | | | Update #3894.
* imfs: Remove unused handlersSebastian Huber2020-03-091-6/+1
| | | | Update #3894.
* imfs: Constify imfs_memfile_bytes_per_blockSebastian Huber2020-03-092-37/+0
| | | | | | | | The CONFIGURE_IMFS_MEMFILE_BYTES_PER_BLOCK value is validated by <rtems/confdefs/libio.h>. Changing this value during runtime could lead to memory corruption. Update #3894.
* imfs: Use _IMFS_get_time()Sebastian Huber2020-03-091-6/+5
| | | | Update #3894.
* imfs: Add IMFS_add_node()Sebastian Huber2020-03-043-5/+162
| | | | Update #3894.
* imfs: Simplify IMFS_create_node()Sebastian Huber2020-03-041-3/+4
| | | | Update #3894.
* imfs: Remove IMFS_NODE_FLAG_NAME_ALLOCATEDSebastian Huber2020-03-042-14/+39
| | | | | | | | Remove IMFS_NODE_FLAG_NAME_ALLOCATED and instead replace the node control in rename operations. This avoids a special case in the general node destruction which pulled in free(). Update #3894.
* cpukit/libfs: remove more dead code from pipe/fifo.cGedare Bloom2020-01-031-2/+0
| | | | | Dead code identified by Coverity (CID 1456674). The value of ret at line 358 is always 0.
* cpukit/libfs: remove dead code from pipe/fifo.cGedare Bloom2020-01-031-2/+0
| | | | | Dead code identified by Coverity (CID 1456678). The value of ret at line 293 is always 0.
* pipe: Use condition variablesSebastian Huber2019-12-111-49/+17
| | | | | | | Use self-contained condition variables instead of Classic API barriers. This simplifies the implementation and configuration. Update #3840.
* untar: Unify untar supportSebastian Huber2019-11-251-142/+55
| | | | Update #3823.
* imfs: Fix IMFS_make_linearfile()Sebastian Huber2019-11-211-2/+2
| | | | | | | | Fix prototype. Fix node size. Linfiles are dynamically turned into memfiles. Update #3823.
* imfs: Add IMFS_make_linfile()Sebastian Huber2019-11-194-20/+105
| | | | Update #3818.
* dosfs: Fix format with media block sizes > 512Sebastian Huber2019-10-011-47/+46
|
* doxygen: Added groups to IO libraryAndreas Dachsberger2019-04-023-3/+3
| | | | Update #3706.
* libfs/src/pipe/fifo.c: Fix warning.Joel Sherrill2019-03-251-2/+0
|
* fifo.c: Eliminate logically dead code (Coverity 1437635)Joel Sherrill2019-03-141-8/+5
|
* Remove explicit file names from @fileSebastian Huber2019-02-281-1/+1
| | | | | | This makes the @file documentation independent of the actual file name. Update #3707.
* fs: Add struct dirent::d_type supportSebastian Huber2019-02-055-4/+29
|
* Fix format warnings due to ino_t changesSebastian Huber2019-01-101-1/+2
|
* Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2018-12-042-2/+2
|
* 5 spelling errors for a Google Code-In task.Jacob Shin2018-12-021-1/+1
| | | | Username: deuteriumoxide Email: jacobshin313@gmail.com
* dosfs: Fix device identifierSebastian Huber2018-11-271-1/+1
| | | | Update #3358.
* pipe/fifo.c: Remove dead code (CID 1437649)Joel Sherrill2018-11-221-1/+0
| | | | Closes #3581.
* build: Merge libfs/Makefile.amSebastian Huber2018-10-102-176/+0
|