summaryrefslogtreecommitdiffstats
path: root/cpukit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems-rfs-rtems.c: Add cast to address warningJoel Sherrill2014-11-251-1/+1
|
* hexdump-conv.c: Use proper printf() formatting for wchar_tJoel Sherrill2014-11-251-1/+9
|
* main_edit.c: Do not reference beyond end of arrayJoel Sherrill2014-11-251-0/+5
|
* shell/main_edit.c: Note return value not checkedJoel Sherrill2014-11-251-1/+1
| | | | Coverity Id 1255320 spotted an unchecked return value.
* 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.
* shell/main_blksync.c: Fix leak of file descriptorJoel Sherrill2014-11-251-0/+1
| | | | Coverity Id 1063887. File descriptor not freed on error path.
* cpukit/libmisc/shell/main_edit.c: Fix use after free()Joel Sherrill2014-11-251-0/+8
| | | | Coverity Id 1255353. Read from pointer after free().
* cpukit/dev/i2c/i2c-dev.c: Fix leak on error pathJoel Sherrill2014-11-251-2/+1
| | | | Coverity ID 1255520. fd was not closed on error path.
* capture: Resolve failure path memory leak.Jennifer Averett2014-11-251-0/+1
|
* bdbuf: Use rtems_cache_aligned_malloc()Sebastian Huber2014-11-251-9/+6
|
* 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().
* arm: Use CPU_TIMESTAMP_USE_STRUCT_TIMESPECSebastian Huber2014-11-251-1/+1
| | | | | | | Converting 64-bit nanoseconds values into the common struct timeval or struct timespec formats requires a 64-bit division to get the seconds value. Performance analysis of high network loads revealed that this is too costly on ARM.
* capture: Remove whitespace and fix copyrights.Jennifer Averett2014-11-246-61/+55
|
* capture: Add SMP support.Jennifer Averett2014-11-243-218/+234
| | | | | | To support smp data was broken into global and percpu capture data. Capture control must be disabled prior to printing or setting of watch points.
* capture: Move print methods out of cli for reuse.Jennifer Averett2014-11-244-210/+371
| | | | | | | Methods to print the data were moved from capture-cli into a support area and are no longer static so that they can be shared by test routines, or application code that wants to use the capture engine without the shell interface.
* capture: Move logging of task record to occur after filter check.Jennifer Averett2014-11-243-36/+78
| | | | | | | The catpture task record is now logged just prior to the first log entry using that task instead of the first time the task is seen. This involved splitting the record task method into an initialize task and a record task.
* i2c: Fix endian issueSebastian Huber2014-11-241-9/+14
|
* _Scheduler_FIXME_thread_priority_queues_are_brokenSebastian Huber2014-11-243-19/+0
| | | | | Delete this variable since it is no longer necessary due to the thread priority queue implementation change to use RB trees.
* smp: Fix scheduler helping protocolLuca Bonato2014-11-242-18/+35
| | | | | | | | | | | | New test case for smptests/smpmrsp01. Fix _Scheduler_Block_node() in case the node is in the SCHEDULER_HELP_ACTIVE_RIVAL helping state. For example a rtems_task_suspend() on a task waiting for a MrsP semaphore. Fix _Scheduler_Unblock_node() in case the node is in the SCHEDULER_SMP_NODE_READY state. For example a rtems_task_resume() on a task owning or waiting for a MrsP semaphore.
* rtems/score/object.h: Correct types on _Objects_Build_idSantosh G Vattam2014-11-231-3/+3
| | | | close 1423
* objectsetname.c: Fix always true condition (Coverity ID 1063874)Joel Sherrill2014-11-211-5/+5
| | | | | Coverity spotted the comparison (0 <= length) which is always true. Changed logic to address this.
* pipe/fifo.c: NULL dereference flagged by Coverity ID 1063889Joel Sherrill2014-11-211-1/+2
| | | | It does not appear that this is possible so adding an assert.
* dosfs/fat_fat_operations.c: Explicitly ignore return (Coverity ID 26048)Joel Sherrill2014-11-211-2/+7
| | | | | | Coverity spotted that the return code from fat_set_fat_cluster() was ignored. But it should be because we want to return the status that caused us to hit the cleanup path.
* dosfs/msdos_format.c: Dead code removal (Coverity ID 1255325)Joel Sherrill2014-11-211-75/+61
| | | | | Coverity identified that ret_val was never set except to be initialized to 0. Thus the code could not be executed.
* 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.
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-216-21/+6
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* libdl/rtl-mdreloc-powerpc.c: Fix warningsJoel Sherrill2014-11-201-2/+1
| | | | | | This patch addresses the following warnings: + The variable "target" was unused. + The parentheses in the expression around line 72 were ambiguous.
* sys/mman.h: New file. Clean up and add supporting stubsJoel Sherrill2014-11-207-8/+254
| | | | | | * Makefile.am updated and preinstall.am regenerated. * mprotect.c had a prototype removed now that we have mman.h * mmap.c, munmap.c: New stub files.
* libdl/.../mips/machine/elf_machdep.h: Fix typo so compilesJoel Sherrill2014-11-201-2/+5
|
* cpukit: basedefs: macro for packed attributeJan Dolezal2014-11-201-0/+10
|
* score: i386: functions converting real mode pointer to physical address and backJan Dolezal2014-11-202-0/+75
|
* bdbuf: Use rtems_cache_get_data_line_size()Sebastian Huber2014-11-201-9/+1
|
* shell: Include <rtems/shell.h> earlySebastian Huber2014-11-201-2/+3
| | | | This avoids a conflict with the global variable defines.
* shell: Add CMDLS, CMDCHOWN, CMDCHMOD commandsSebastian Huber2014-11-205-0/+303
|
* shell: Fix help topic headerSebastian Huber2014-11-201-4/+3
|
* shell: Add mode, UID and GID to shell commandsSebastian Huber2014-11-207-27/+66
| | | | | Use this information to determine if a command is visible to the current user and if the current user is allowed to execute this command.
* shell: Inherit UID and GID if no login checkSebastian Huber2014-11-202-0/+21
| | | | | | Use the UID and GID of the executing user for the real and effective UID and GID of the shell task in case no login check is present. This prevents privilege escalation via shell scripts.
* shell: Add and use rtems_shell_execute_cmd()Sebastian Huber2014-11-204-18/+20
|
* shell: Make rtems_shell_main_joel() staticSebastian Huber2014-11-201-8/+1
|
* shell: Print to stderr in TIME commandSebastian Huber2014-11-201-3/+3
|
* shell: Add initial commands and aliases only onceSebastian Huber2014-11-204-26/+22
| | | | Make tables read-only.
* shell: Simplify rtems_shell_add_cmd_struct()Sebastian Huber2014-11-201-14/+15
|
* shell: Rename HALT to SHUTDOWN commandSebastian Huber2014-11-203-12/+10
| | | | Use a normal command for shutdown via exit().
* Ensure security of default user environmentSebastian Huber2014-11-202-9/+13
|
* shell: Do chroot() after successful loginSebastian Huber2014-11-202-38/+41
|
* shell: Use exiting once initializationSebastian Huber2014-11-201-38/+31
| | | | Avoid TOCTOU issues. Avoid pull in of global buffers.
* shell: Get supplementary group IDs in login checkSebastian Huber2014-11-201-0/+2
|
* Add supplementary groups to user environmentSebastian Huber2014-11-205-26/+159
|
* dosfs: Avoid MIN() re-definitionSebastian Huber2014-11-201-0/+2
|