summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libio: Fix deadlock in location managementSebastian Huber2017-03-217-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.
* termios: Fix infinite loop in receive pathSebastian Huber2017-02-281-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.
* termios: Protect raw input buffer with device lockSebastian Huber2017-02-281-16/+36
| | | | | | | Use the device lock to protect the raw input buffer management, e.g. tail, head and buffer content updates. Update #2914.
* termios: Simplify rtems_termios_read_tty()Sebastian Huber2017-02-281-9/+4
| | | | | | Remove dead code. Update #2914.
* rtems+bsps/cache: Define cache manager operations for code synchronization ↵Pavel Pisa2016-10-021-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
* Filesystem: Export most generic path eval functionSebastian Huber2016-02-023-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.
* libcsupport: Workaround for GCC 5.1 and laterSebastian Huber2015-07-151-2/+6
| | | | | Disable an optimization which would lead to a recursive calloc() call in calloc().
* score: Simplify <rtems/system.h>Sebastian Huber2015-06-261-0/+1
| | | | | Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
* Remove use ticks for statistics configure option.Joel Sherrill2015-06-151-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.
* kill_noposix.c: Remove obsolete __kill()Joel Sherrill2015-05-211-6/+0
|
* Filesystem: Thread life protection for env changesSebastian Huber2015-05-191-10/+10
|
* libcsupport: Fix umask() lockingSebastian Huber2015-05-191-7/+2
| | | | | Delete comment related to an obsolete implementation of rtems_libio_set_private_env().
* libcsupport: Avoid Giant lock in rtems_verror()Sebastian Huber2015-05-191-1/+1
|
* Filesystem: Use lock for deferred releaseSebastian Huber2015-05-191-4/+17
|
* libcsupport: Avoid Giant lock in _times()Sebastian Huber2015-05-191-5/+6
|
* libcsupport: Include missing header fileSebastian Huber2015-03-261-0/+1
|
* libcsupport: Delete superfluous _gettimeofday()Sebastian Huber2015-03-101-16/+0
|
* Move contents of libcsupport/include/zilog into libbsp/sharedJoel Sherrill2015-03-094-223/+0
| | | | Only a few BSPs use this and it should not have been in libcsupport.
* Remove unused cpukit/libcsupport/include/zilog/z8536.hJoel Sherrill2015-03-093-122/+0
|
* Move libcsupport/include/motorola/*.h to m68k/idp BSPJoel Sherrill2015-03-093-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.
* vprintk.c: Reorder switch and add default to eliminate warningJoel Sherrill2015-03-091-4/+5
|
* Fix even more Doxygen issuesJoel Sherrill2015-03-061-1/+1
|
* Filesystem: Delete unused null_op_fsmount_me()Sebastian Huber2015-03-051-8/+0
|
* libcsupport: scale times() call to microsecondsGedare Bloom2015-03-041-6/+7
|
* Don't fail to create passwd and group files if /etc already existsNick Withers2015-02-201-5/+4
|
* sys/event.h: Update to FreeBSD 9.3Sebastian Huber2015-02-131-1/+3
|
* Filesystem: Delete unused fsmountme_h handlerSebastian Huber2015-02-092-12/+0
|
* Add rtems_filesystem_make_dev_t_from_pointer()Sebastian Huber2015-02-041-0/+9
|
* Filesystem: Statically initialize rtems_libio_iopsSebastian Huber2015-02-042-8/+2
|
* Filesystem: Use rtems_libio_iop_to_descriptor()Sebastian Huber2015-02-043-3/+3
| | | | | 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-2211-109/+33
| | | | Use the fstat handler instead.
* libcsupport: Do not use _Assert() for sync()Sebastian Huber2014-12-121-11/+3
| | | | Use a best-effort approach.
* Add POSIX key value pairs to resource snapshotSebastian Huber2014-12-122-12/+45
|
* score: Return heap stats via _Heap_Get_informationSebastian Huber2014-11-281-7/+8
| | | | Print out heap statistics via the MALLOC and WKSPACE shell commands.
* libcsupport: Delete malloc statisticsSebastian Huber2014-11-2815-325/+5
| | | | | | | Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367
* sync.c: Add asserts to document and check assumptionsJoel Sherrill2014-11-271-5/+11
|
* rtems: Add rtems_cache_coherent_allocate()Sebastian Huber2014-11-272-0/+123
| | | | Add rtems_cache_coherent_free() and rtems_cache_coherent_add_area().
* libcsupport/src/newlibc_exit.c: Remove dead codeJosh Oguin2014-11-261-1/+1
| | | | | This was flagged as an empty for statement by CodeSonar but is actually unreachable code that should be removed.
* libcsupport/src/mount.c: Remove unnecessary operationJosh Oguin2014-11-261-1/+0
| | | | This was flagged by CodeSonar.
* cpukit/libcsupport/src/pwdgrp.c: Check return valueJoel Sherrill2014-11-251-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.
* rtems: Move rtems_cache_aligned_malloc()Sebastian Huber2014-11-252-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.
* libcsupport: malloc_is_system_state_OK()Sebastian Huber2014-11-255-20/+7
| | | | Move system state check to malloc_is_system_state_OK().
* libcsupport/src/termios.c: Explicitly ignore return value (Coverity ID 1255347)Joel Sherrill2014-11-211-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.
* Ensure security of default user environmentSebastian Huber2014-11-202-9/+13
|
* Add supplementary groups to user environmentSebastian Huber2014-11-204-17/+94
|
* Filesystem: TypoSebastian Huber2014-11-201-1/+1
|
* libcsupport: Implement getgroups()Sebastian Huber2014-11-201-3/+54
|
* libcsupport: Use POSIX key for getgrent()Sebastian Huber2014-11-203-29/+113
|