summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libio_.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libio: Add rtems_libio_iop_flags_initialize()Sebastian Huber2017-09-151-0/+18
| | | | Update #3132.
* libio: Add iop set/clear flagsSebastian Huber2017-09-151-0/+40
| | | | Update #3132.
* libio: rtems_libio_check_permissions_with_error()Sebastian Huber2017-09-151-3/+3
| | | | | | | Rename rtems_libio_check_permissions_with_error() in rtems_libio_check_permissions(). Update #3132.
* libio: Remove rtems_libio_check_permissions()Sebastian Huber2017-09-151-10/+0
| | | | | | | Remove rtems_libio_check_permissions() and convert single user to rtems_libio_check_permissions_with_error(). Update #3132.
* libio: Do simple parameter checks earlySebastian Huber2017-09-151-7/+7
| | | | | | This simplifies error handling later. Update #3132.
* libio: Simplify rtems_libio_iop()Sebastian Huber2017-09-141-7/+13
| | | | | | | Remove the file descriptor validation. This is the job of rtems_libio_check_fd(). Use an inline function instread of a macro. Update #3132.
* libio: Remove special-case reference countSebastian Huber2017-09-141-41/+0
| | | | | | The top-level IO library structures should contain no special-case data. Update #2859.
* posix/mman: add mmap support for shm objectsGedare Bloom2017-05-051-0/+41
| | | | Update #2859.
* libio: Fix deadlock in location managementSebastian Huber2017-03-161-1/+4
| | | | | | | | Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Update #2936.
* Filesystem: Export most generic path eval functionSebastian Huber2016-02-021-0/+1
| | | | | | | | Add path length parameter to rtems_filesystem_eval_path_start_with_root_and_current() so that users may pass paths without a '\0' termination. Update #2558.
* Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2015-02-041-1/+1
|
* Filesystem: Use rtems_libio_iop_to_descriptor()Sebastian Huber2015-02-041-1/+1
| | | | | Drop parameter check from previously unused rtems_libio_iop_to_descriptor().
* Filesystem: Delete rtems_libio_last_iopSebastian Huber2015-02-041-1/+0
|
* Filesystem: Make rtems_libio_number_iops constSebastian Huber2015-02-041-1/+1
|
* Filesystem: Delete node type operationSebastian Huber2015-01-221-15/+20
| | | | Use the fstat handler instead.
* Add supplementary groups to user environmentSebastian Huber2014-11-201-4/+23
|
* Filesystem: TypoSebastian Huber2014-11-201-1/+1
|
* privateenv: Use POSIX keys instead of task variables.Christian Mauderer2014-03-271-0/+5
|
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-211-1/+1
|
* score: Add local context to SMP lock APISebastian Huber2014-03-111-3/+3
| | | | | | | | | | | Add a local context structure to the SMP lock API for acquire and release pairs. This context can be used to store the ISR level and profiling information. It may be later used to enable more sophisticated lock algorithms, e.g. MCS locks. There is only one lock that cannot be used with a local context. This is the per-CPU lock since here we would have to transfer the local context through a context switch which is very complicated.
* libcsupport: Accept NULL for zero-length entriesSebastian Huber2013-12-201-1/+1
|
* libcsupport: Add and use rtems_libio_iovec_eval()Sebastian Huber2013-12-201-0/+56
|
* PR2158: Add support for dup2.Chris Johns2013-12-101-0/+7
| | | | | Split the dub call into dup and dup2 in fcntl.c. This requires a private command which is placed in the internal libio header.
* Filesystem: Change rtems_filesystem_chown()Sebastian Huber2013-09-121-3/+2
| | | | | Implement POSIX requirements in the high-level file system layer. Use common implementation for all change owner variants.
* Filesystem: Add and use rtems_filesystem_chmod()Sebastian Huber2013-09-121-0/+5
| | | | Implement POSIX requirements in the high-level file system layer.
* filesystem: Add SMP supportSebastian Huber2013-08-141-2/+6
|
* cpukit: Use Consistent Beginning of Doxygen Group NotationJoel Sherrill2013-01-101-1/+1
| | | | | This is the result of a sed script which converts all uses of @{ into a consistent form.
* libcsupport: DocumentationSebastian Huber2013-01-091-35/+22
|
* libcsupport: Doxygen Clean Up Task #1Alex Ivanov2013-01-081-36/+38
|
* Header File Doxygen Enhancement Task #1Alex Ivanov2012-12-281-1/+3
|
* libcsupport: Doxygen Enhancement Task #8Alex Ivanov2012-12-151-0/+14
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7996208
* Fix spellingSebastian Huber2012-12-141-1/+1
|
* Filesystem: Revert documentation changesSebastian Huber2012-12-141-5/+5
|
* libcsupport: Doxygen enhancement task #9Alex Ivanov2012-12-131-5/+5
|
* libcsupport: Revert documentation changesSebastian Huber2012-12-131-9/+9
|
* libcsupport: Doxygen enhancement GCI task #4Alex Ivanov2012-12-111-5/+8
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8009205
* libcsupport: GCI Doxygen Task #7Alex Ivanov2012-12-111-7/+7
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7975223
* libcsupport: Doxygen enhancement task #5Alex Ivanov2012-12-101-0/+3
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7992211
* libcsupport: Doxygen enhancement task #2Alex Ivanov2012-12-091-1/+6
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/8017203
* libcsupport: Fix documentationSebastian Huber2012-12-091-9/+11
|
* libcsupport: Doxygen Enhancement Task #3Mathew Kallada2012-12-081-1/+9
| | | | http://www.google-melange.com/gci/task/view/google/gci2012/7992210
* Filesystem: Use transient eventSebastian Huber2012-10-301-10/+0
|
* Filesystem: Rename functionSebastian Huber2012-10-071-1/+1
| | | | | | Rename rtems_filesystem_location_exists_in_same_fs_instance_as() into rtems_filesystem_location_exists_in_same_instance_as() for consistency with other file system instance related functions.
* Filesystem: Rename functionSebastian Huber2012-10-071-1/+1
| | | | | | Rename rtems_filesystem_location_is_root() into rtems_filesystem_location_is_instance_root() to distinguish this from the file system root directory of the current task environment.
* Filesystem: Wait for unmount() to finishSebastian Huber2012-05-291-0/+10
|
* Filesystem: Move operations to mount table entrySebastian Huber2012-05-151-4/+10
| | | | | | | | | | | The scope of the file system operations is the file system instance. The scope of the file system node handlers is the file location. The benefit of moving the operations to the mount table entry is a size reduction of the file location (rtems_filesystem_location_info_t). The code size is slightly increased due to additional load instructions. Restructure rtems_filesystem_mount_table_entry_t to improve cache efficiency.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-2/+0
| | | | | | | | | | | | Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
* Filesystem: Reference counting for locationsSebastian Huber2012-03-131-59/+599
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o A new data structure rtems_filesystem_global_location_t was introduced to be used for o the mount point location in the mount table entry, o the file system root location in the mount table entry, o the root directory location in the user environment, and o the current directory location in the user environment. During the path evaluation global start locations are obtained to ensure that the current file system instance will be not unmounted in the meantime. o The user environment uses now reference counting and is protected from concurrent access. o The path evaluation process was completely rewritten and simplified. The IMFS, RFS, NFS, and DOSFS use now a generic path evaluation method. Recursive calls in the path evaluation have been replaced with iteration to avoid stack overflows. Only the evaluation of symbolic links is recursive. No dynamic memory allocations and intermediate buffers are used in the high level path evaluation. No global locks are held during the file system instance specific path evaluation process. o Recursive symbolic link evaluation is now limited by RTEMS_FILESYSTEM_SYMLOOP_MAX. Applications can retrieve this value via sysconf(). o The device file system (devFS) uses now no global variables and allocation from the workspace. Node names are allocated from the heap. o The upper layer lseek() performs now some parameter checks. o The upper layer ftruncate() performs now some parameter checks. o unmask() is now restricted to the RWX flags and protected from concurrent access. o The fchmod_h and rmnod_h file system node handlers are now a file system operation. o The unlink_h operation has been removed. All nodes are now destroyed with the rmnod_h operation. o New lock_h, unlock_h, clonenod_h, and are_nodes_equal_h file system operations. o The path evaluation and file system operations are now protected by per file system instance lock and unlock operations. o Fix and test file descriptor duplicate in fcntl(). o New test fstests/fsnofs01.
* 2011-07-22 Joel Sherrill <joel.sherrilL@OARcorp.com>Joel Sherrill2011-07-221-3/+14
| | | | | | | | | | | PR 1839/filesystem * libcsupport/include/rtems/libio_.h, libcsupport/src/fchdir.c, libcsupport/src/fdatasync.c, libcsupport/src/fpathconf.c, libcsupport/src/fsync.c, libcsupport/src/ftruncate.c, libcsupport/src/read.c, libcsupport/src/readv.c, libcsupport/src/write.c, libcsupport/src/writev.c: Some calls did not return proper status for permission errors or incorrectly permissions at all.
* 2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>Sebastian Huber2011-07-211-0/+7
| | | | | | | | * libcsupport/include/rtems/libio_.h: Added rtems_filesystem_is_root_location(). * libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_eval.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c: Use rtems_filesystem_is_root_location().