summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-03-21libio: Fix deadlock in location managementSebastian Huber7-13/+17
Perform a context-dependent deferred location release to avoid a deadlock on the file system instance locks, for example during a chdir(). Close #2936.
2017-02-28termios: Fix infinite loop in receive pathSebastian Huber1-5/+9
In canonical mode, the raw input buffer or the canonical buffer may overflow without an end of line. Avoid an infinite loop in this case. Update #2915.
2017-02-28termios: Protect raw input buffer with device lockSebastian Huber1-16/+36
Use the device lock to protect the raw input buffer management, e.g. tail, head and buffer content updates. Update #2914.
2017-02-28termios: Simplify rtems_termios_read_tty()Sebastian Huber1-9/+4
Remove dead code. Update #2914.
2016-10-02rtems+bsps/cache: Define cache manager operations for code synchronization ↵Pavel Pisa1-1/+1
and maximal alignment. There is need for unambiguous named and defined cache function which should be called when code is updated, loaded or is self-modifying. There should be function to obtain maximal cache line length as well. This function can and should be used for allocations which can be used for data and or code and ensures that there are no partial cache lines overlaps on start and end of allocated region. Updates #2782
2016-02-02Filesystem: Export most generic path eval functionSebastian Huber3-22/+6
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.
2015-07-15libcsupport: Workaround for GCC 5.1 and laterSebastian Huber1-2/+6
Disable an optimization which would lead to a recursive calloc() call in calloc().
2015-06-26score: Simplify <rtems/system.h>Sebastian Huber1-0/+1
Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
2015-06-15Remove use ticks for statistics configure option.Joel Sherrill1-38/+30
This was obsolete and broken based upon recent time keeping changes. Thie build option was previously enabled by adding USE_TICKS_FOR_STATISTICS=1 to the configure command line. This propagated into the code as preprocessor conditionals using the __RTEMS_USE_TICKS_FOR_STATISTICS__ conditional.
2015-05-21kill_noposix.c: Remove obsolete __kill()Joel Sherrill1-6/+0
2015-05-19Filesystem: Thread life protection for env changesSebastian Huber1-10/+10
2015-05-19libcsupport: Fix umask() lockingSebastian Huber1-7/+2
Delete comment related to an obsolete implementation of rtems_libio_set_private_env().
2015-05-19libcsupport: Avoid Giant lock in rtems_verror()Sebastian Huber1-1/+1
2015-05-19Filesystem: Use lock for deferred releaseSebastian Huber1-4/+17
2015-05-19libcsupport: Avoid Giant lock in _times()Sebastian Huber1-5/+6
2015-03-26libcsupport: Include missing header fileSebastian Huber1-0/+1
2015-03-10libcsupport: Delete superfluous _gettimeofday()Sebastian Huber1-16/+0
2015-03-09Move contents of libcsupport/include/zilog into libbsp/sharedJoel Sherrill4-223/+0
Only a few BSPs use this and it should not have been in libcsupport.
2015-03-09Remove unused cpukit/libcsupport/include/zilog/z8536.hJoel Sherrill3-122/+0
2015-03-09Move libcsupport/include/motorola/*.h to m68k/idp BSPJoel Sherrill3-392/+0
These header files were only used by one BSP and they are hardware dependent. The hardware dependency always made them bad candidates for where they were in the tree. But this fixes that.
2015-03-09vprintk.c: Reorder switch and add default to eliminate warningJoel Sherrill1-4/+5
2015-03-06Fix even more Doxygen issuesJoel Sherrill1-1/+1
2015-03-05Filesystem: Delete unused null_op_fsmount_me()Sebastian Huber1-8/+0
2015-03-04libcsupport: scale times() call to microsecondsGedare Bloom1-6/+7
2015-02-20Don't fail to create passwd and group files if /etc already existsNick Withers1-5/+4
2015-02-13sys/event.h: Update to FreeBSD 9.3Sebastian Huber1-1/+3
2015-02-09Filesystem: Delete unused fsmountme_h handlerSebastian Huber2-12/+0
2015-02-04Add rtems_filesystem_make_dev_t_from_pointer()Sebastian Huber1-0/+9
2015-02-04Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2-8/+2
2015-02-04Filesystem: Use rtems_libio_iop_to_descriptor()Sebastian Huber3-3/+3
Drop parameter check from previously unused rtems_libio_iop_to_descriptor().
2015-02-04Filesystem: Delete rtems_libio_last_iopSebastian Huber1-1/+0
2015-02-04Filesystem: Make rtems_libio_number_iops constSebastian Huber1-1/+1
2015-01-22Filesystem: Delete node type operationSebastian Huber11-109/+33
Use the fstat handler instead.
2014-12-12libcsupport: Do not use _Assert() for sync()Sebastian Huber1-11/+3
Use a best-effort approach.
2014-12-12Add POSIX key value pairs to resource snapshotSebastian Huber2-12/+45
2014-11-28score: Return heap stats via _Heap_Get_informationSebastian Huber1-7/+8
Print out heap statistics via the MALLOC and WKSPACE shell commands.
2014-11-28libcsupport: Delete malloc statisticsSebastian Huber15-325/+5
Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
2014-11-27sync.c: Add asserts to document and check assumptionsJoel Sherrill1-5/+11
2014-11-27rtems: Add rtems_cache_coherent_allocate()Sebastian Huber2-0/+123
Add rtems_cache_coherent_free() and rtems_cache_coherent_add_area().
2014-11-26libcsupport/src/newlibc_exit.c: Remove dead codeJosh Oguin1-1/+1
This was flagged as an empty for statement by CodeSonar but is actually unreachable code that should be removed.
2014-11-26libcsupport/src/mount.c: Remove unnecessary operationJosh Oguin1-1/+0
This was flagged by CodeSonar.
2014-11-25cpukit/libcsupport/src/pwdgrp.c: Check return valueJoel Sherrill1-1/+5
Coverity Id 1255518. mkdir() could fail. Check return value and return on failure. Behavior is similar to if open() failed while writing the files.
2014-11-25rtems: Move rtems_cache_aligned_malloc()Sebastian Huber2-0/+29
Make sure also the size is cache aligned since otherwise we may have some overlap with the next allocation block. A cache invalidate on this area would be fatal.
2014-11-25libcsupport: malloc_is_system_state_OK()Sebastian Huber5-20/+7
Move system state check to malloc_is_system_state_OK().
2014-11-21libcsupport/src/termios.c: Explicitly ignore return value (Coverity ID 1255347)Joel Sherrill1-3/+6
Coverity spotted that we were ignoring a return value. But ignoring it is intentional. Adding (void) clearly indicates it is being ignored explicitly.
2014-11-20Ensure security of default user environmentSebastian Huber2-9/+13
2014-11-20Add supplementary groups to user environmentSebastian Huber4-17/+94
2014-11-20Filesystem: TypoSebastian Huber1-1/+1
2014-11-20libcsupport: Implement getgroups()Sebastian Huber1-3/+54
2014-11-20libcsupport: Use POSIX key for getgrent()Sebastian Huber3-29/+113