summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/nfsclient (follow)
Commit message (Collapse)AuthorAgeFilesLines
* NFS: Remove support for cexpSebastian Huber2018-04-127-912/+9
| | | | | | Avoid use of RTEMS_RELLDFLAGS. Close #3390.
* NFS: Fix use of self-contained objectsSebastian Huber2018-02-071-5/+4
| | | | Update #2843.
* NFS: Use self-contained recursive mutexSebastian Huber2018-02-022-125/+41
| | | | Update #2843.
* Remove make preinstallChris Johns2018-01-253-288/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* libio: Add rtems_libio_iop_is_append()Sebastian Huber2017-09-151-1/+1
| | | | Update #3132.
* posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel2017-07-141-0/+3
| | | | | | | | | | | Added a mmap file handler to struct _rtems_filesystem_file_handlers_r. Updated each file handler object to support the default mmap handler. Updated mmap() to call the mmap handler for MAP_SHARED. Added a mmap file handler for shm Added support for MAP_ANON in mmap(). Updates #2859
* Include missing <sys/param.h>Sebastian Huber2017-06-071-0/+1
| | | | | | Some kernel-space header expect that <sys/param.h> is present. Update #2833.
* rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill2017-04-181-17/+2
| | | | | | | | Provide extentions to <inttpes.h> PRIxxx constants for more POSIX types. Start with existing definitions found in RTEMS Project owned code in cpukit/. updates #2983.
* Remove old CVS keywordsNick Withers2017-02-152-2/+2
| | | | Update #2388.
* nfsclient: Fix suspicious conditionSebastian Huber2017-01-231-1/+2
| | | | Close #2700.
* Misc: Spell length correctlyJoel Sherrill2016-07-121-1/+1
|
* nfsclient: Fix warningsSebastian Huber2016-04-224-4/+19
|
* basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber2015-10-261-1/+1
|
* Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers2015-08-061-3/+45
| | | | closes #2384
* nfsclient: Use an interrupt lockSebastian Huber2015-06-191-21/+29
|
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-091-1/+0
|
* Filesystem: Delete node type operationSebastian Huber2015-01-221-36/+0
| | | | Use the fstat handler instead.
* 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.
* Regenerate all preinstall.am files.Chris Johns2014-08-291-6/+6
| | | | | With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
* Filesystem: Use default kqfilter and poll handlerSebastian Huber2013-12-201-0/+6
|
* Filesystem: Add readv/writev handlersSebastian Huber2013-12-201-3/+9
| | | | | | | | | 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.
* nfsclient: Move defines to cover all header filesSebastian Huber2013-12-161-2/+3
|
* nfsclient/src/dirutils.c: Fix missing prototype warningsJoel Sherrill2013-09-221-0/+12
|
* nfs: Fix ln option processing.Gedare Bloom2013-09-051-1/+1
| | | | | | If opts is NULL, then strchr() will dereference it and search for 's'. 1063863 Dereference after null check
* nfsclient: Add rpcSetXIDs()Sebastian Huber2013-06-052-0/+30
|
* nfsclient: Fix warningsSebastian Huber2013-06-052-8/+3
|
* nfsclient: Delete superfluous mask operationSebastian Huber2013-06-051-1/+1
|
* nfsclient: Delete superfluous assignmentSebastian Huber2013-06-051-1/+0
|
* nfsclient: Return an error status in nfsInit()Sebastian Huber2013-01-092-50/+84
| | | | | Avoid assert() and use proper cleanup if nfsInit() fails to allocate a resource.
* libfs: Doxygen Clean Up Task #2Mathew Kallada2013-01-043-46/+97
| | | | | | There were minor conflicts and the modifications that were in the repo were favored over the modifications in the submitted patch.
* libfs: Doxygen Enhancement Task #5Mathew Kallada2012-12-2813-91/+165
|
* nfsclient: Format changesSebastian Huber2012-10-021-2/+2
|
* nfsclient: Add and use nfsEvaluateStatus()Sebastian Huber2012-10-021-114/+245
| | | | | The NFS status codes do not map directly to the corresponding errno values.
* nfsclient: Fix for short enumsSebastian Huber2012-10-021-0/+2
| | | | | | | | | | The XDR library has a problem on architectures with short enums like the default ARM EABI. Short enums means that the size of the enum type is variable and the smallest integer type to hold all enum values will be selected. For many enums this is char. The XDR library uses int32_t for enum_t. There are several evil casts from an enum type to enum_t which leads to invalid memory accesses on short enum architectures. A workaround is to add appropriate dummy enum values.
* nfsclient: PR2075: Fix node initializationSebastian Huber2012-10-021-13/+10
|
* nfsclient: Fix symbolic link evaluationSebastian Huber2012-05-161-66/+97
|
* Filesystem: Change pathconf_limits_and_optionsSebastian Huber2012-05-151-2/+2
| | | | | | The pathconf_limits_and_options field of rtems_filesystem_mount_table_entry_t is now a const pointer to reduce the read-write memory demands of file system instances.
* Filesystem: Move operations to mount table entrySebastian Huber2012-05-151-1/+1
| | | | | | | | | | | 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.
* Filesystem: Add const qualifier to lock/unlockSebastian Huber2012-05-151-2/+2
|
* Filesystem: PR1255: Move offset update to handlersSebastian Huber2012-05-151-0/+6
| | | | | | | It is now the responsibility of the read() and write() handler to update the offset field of the IO descriptor (rtems_libio_t). This change makes it possible to protect the IO descriptor from concurrent access by per file locks.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-119-18/+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: PR1398: Fix lseek() mechanicSebastian Huber2012-05-111-48/+10
| | | | | | | | | | | | According to POSIX the lseek() function shall not, by itself, extend the size of a file. Remove the size field of rtems_libio_t. A file has only one size but may have multiple open file descriptors. Thus a file size field in the file descriptor may lead to inconsistencies. New default handlers rtems_filesystem_default_lseek_file() and rtems_filesystem_default_lseek_directory().
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* nfsclient: Add rename operationSebastian Huber2012-05-041-1/+45
|
* nfsclient: Fix hard link operationSebastian Huber2012-05-041-1/+1
|
* Filesystem: Use proper parameter in NFSSebastian Huber2012-05-041-1/+1
|
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* nfsclient: Use UID and GID of NFS handleSebastian Huber2012-04-231-10/+10
| | | | Use UID and GID of the NFS handle for node and symbolic link creation.
* nfsclient: POSIX conformanceSebastian Huber2012-04-231-9/+37
| | | | | According to POSIX the read() call should return the maximum number of bytes available for regular files.