summaryrefslogtreecommitdiff
path: root/cpukit/libfs/src/nfsclient (follow)
AgeCommit message (Collapse)Author
2019-04-02doxygen: Added groups to IO libraryAndreas Dachsberger
Update #3706.
2019-02-05fs: Add struct dirent::d_type supportSebastian Huber
2018-10-10build: Merge libfs/Makefile.amSebastian Huber
2018-10-02Use rtems_task_exit()Sebastian Huber
Update #3530. Update #3533.
2018-09-10network: Use kernel/user space header filesSebastian Huber
Add and use <machine/rtems-bsd-kernel-space.h> and <machine/rtems-bsd-user-space.h> similar to the libbsd to avoid command line defines and defines scattered throught the code base. Simplify cpukit/libnetworking/Makefile.am. Update #3375.
2018-09-07nfsclient: Fix unused variable warningSebastian Huber
2018-04-12NFS: Remove support for cexpSebastian Huber
Avoid use of RTEMS_RELLDFLAGS. Close #3390.
2018-02-07NFS: Fix use of self-contained objectsSebastian Huber
Update #2843.
2018-02-02NFS: Use self-contained recursive mutexSebastian Huber
Update #2843.
2018-01-25Remove make preinstallChris Johns
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.
2017-09-15libio: Add rtems_libio_iop_is_append()Sebastian Huber
Update #3132.
2017-07-14posix/mmap: Add support for file handler and MAP_ANONKevin Kirspel
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
2017-06-07Include missing <sys/param.h>Sebastian Huber
Some kernel-space header expect that <sys/param.h> is present. Update #2833.
2017-04-18rtems/inttypes.h: New file. Uses contents from cpukitJoel Sherrill
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.
2017-02-15Remove old CVS keywordsNick Withers
Update #2388.
2017-01-23nfsclient: Fix suspicious conditionSebastian Huber
Close #2700.
2016-07-12Misc: Spell length correctlyJoel Sherrill
2016-04-22nfsclient: Fix warningsSebastian Huber
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber
2015-08-06Respect 2^32 - 1 B NFSv2 maximum file sizeNick Withers
closes #2384
2015-06-19nfsclient: Use an interrupt lockSebastian Huber
2015-02-09Filesystem: Delete unused fsmountme_h handlerSebastian Huber
2015-01-22Filesystem: Delete node type operationSebastian Huber
Use the fstat handler instead.
2014-12-05nfsclient: Avoid __FILE__ and __LINE__Sebastian Huber
The __FILE__ prevents reproducible builds.
2014-12-02nfs: Add RPCd task affinity config optionDaniel Cederman
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.
2014-08-29Regenerate all preinstall.am files.Chris Johns
With this patch the preinstall.am files are in a set order and not dependent on now perl implements a hash.
2013-12-20Filesystem: Use default kqfilter and poll handlerSebastian Huber
2013-12-20Filesystem: Add readv/writev handlersSebastian Huber
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.
2013-12-16nfsclient: Move defines to cover all header filesSebastian Huber
2013-09-22nfsclient/src/dirutils.c: Fix missing prototype warningsJoel Sherrill
2013-09-05nfs: Fix ln option processing.Gedare Bloom
If opts is NULL, then strchr() will dereference it and search for 's'. 1063863 Dereference after null check
2013-06-05nfsclient: Add rpcSetXIDs()Sebastian Huber
2013-06-05nfsclient: Fix warningsSebastian Huber
2013-06-05nfsclient: Delete superfluous mask operationSebastian Huber
2013-06-05nfsclient: Delete superfluous assignmentSebastian Huber
2013-01-09nfsclient: Return an error status in nfsInit()Sebastian Huber
Avoid assert() and use proper cleanup if nfsInit() fails to allocate a resource.
2013-01-04libfs: Doxygen Clean Up Task #2Mathew Kallada
There were minor conflicts and the modifications that were in the repo were favored over the modifications in the submitted patch.
2012-12-28libfs: Doxygen Enhancement Task #5Mathew Kallada
2012-10-02nfsclient: Format changesSebastian Huber
2012-10-02nfsclient: Add and use nfsEvaluateStatus()Sebastian Huber
The NFS status codes do not map directly to the corresponding errno values.
2012-10-02nfsclient: Fix for short enumsSebastian Huber
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.
2012-10-02nfsclient: PR2075: Fix node initializationSebastian Huber
2012-05-16nfsclient: Fix symbolic link evaluationSebastian Huber
2012-05-15Filesystem: Change pathconf_limits_and_optionsSebastian Huber
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.
2012-05-15Filesystem: Move operations to mount table entrySebastian Huber
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.
2012-05-15Filesystem: Add const qualifier to lock/unlockSebastian Huber
2012-05-15Filesystem: PR1255: Move offset update to handlersSebastian Huber
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.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
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.
2012-05-11Filesystem: PR1398: Fix lseek() mechanicSebastian Huber
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().
2012-05-07Revert: Remove CVS IdsJoel Sherrill
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.