Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a number of minor Doxygen formatting issues | Joel Sherrill | 2015-03-06 | 2 | -1/+3 |
| | |||||
* | testsupport: Add cascade option to parallel test | Alexander Krutwig | 2015-03-06 | 2 | -11/+44 |
| | |||||
* | shell: Add PROFREPORT command | Sebastian Huber | 2015-03-06 | 3 | -0/+50 |
| | |||||
* | capture: Fix warnings | Sebastian Huber | 2015-03-05 | 1 | -5/+5 |
| | |||||
* | tests: Fix warning | Sebastian Huber | 2015-03-05 | 1 | -2/+1 |
| | |||||
* | tests: Refactor parallel test execution | Alexander Krutwig | 2015-03-05 | 3 | -0/+269 |
| | |||||
* | Move test support from sapi to libmisc/testsupport | Sebastian Huber | 2015-03-05 | 4 | -0/+246 |
| | |||||
* | score: Delete superfluous Heap_Statistics::instance | Sebastian Huber | 2015-01-22 | 1 | -2/+0 |
| | | | | | This value depends on the _Heap_Initialize() call sequence and carries no useful information. | ||||
* | capture: Fix lock initialization | Sebastian Huber | 2015-01-09 | 1 | -6/+11 |
| | |||||
* | untar.c: Coverity ID 26151 and reformat | Joel Sherrill | 2015-01-04 | 1 | -295/+251 |
| | | | | | | | | The Coverity issue was an ignored return value from a read() in a loop which should have been a seek() since the data read was ignored. The file itself needed reformatting to conform to RTEMS style. | ||||
* | Delete CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM | Sebastian Huber | 2014-12-16 | 1 | -1/+0 |
| | | | | This define was superfluous, undocumented and used inconsistently. | ||||
* | shell: Add 'all' topic for help for all commands | Sebastian Huber | 2014-12-12 | 1 | -11/+19 |
| | |||||
* | shell: Avoid __DATE__ and adjust welcome message | Sebastian Huber | 2014-12-05 | 1 | -2/+1 |
| | | | | The use of __DATE__ prevents reproducible builds. | ||||
* | libmisc: More useful default configuration | Sebastian Huber | 2014-12-05 | 4 | -65/+106 |
| | | | | | | | | | | | The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c. | ||||
* | monitor: Replace puts() with proper fprintf() | Sebastian Huber | 2014-12-03 | 2 | -3/+3 |
| | |||||
* | libmisc/shell: Edit history hack is corrupting memory. Remove it. | Chris Johns | 2014-12-01 | 1 | -24/+1 |
| | | | | | | The hack was a debug aid and is not needed. Close #2203. | ||||
* | score: Add heap statistics | Sebastian Huber | 2014-11-28 | 1 | -3/+9 |
| | | | | | Add lifetime bytes allocated and freed since they were present in the malloc statistics. Add number of failed allocations. | ||||
* | score: Return heap stats via _Heap_Get_information | Sebastian Huber | 2014-11-28 | 4 | -10/+40 |
| | | | | Print out heap statistics via the MALLOC and WKSPACE shell commands. | ||||
* | libcsupport: Delete malloc statistics | Sebastian Huber | 2014-11-28 | 1 | -20/+12 |
| | | | | | | | Use the heap handler statistics instead. Add heap walk option to MALLOC shell command. close #1367 | ||||
* | shell: Make mv, cp and rm usable for applications | Sebastian Huber | 2014-11-27 | 3 | -4/+8 |
| | | | | close #2030 | ||||
* | monitor/mon-prmisc.c: Use puts() not fprintf() | Josh Oguin | 2014-11-26 | 1 | -1/+1 |
| | | | | | | | CodeSonar flagged this as a case where the user could inject a format string and cause issues. Since we were not printing anything but a string, just switching to puts() rather than fprintf(stdout,...) was sufficient to make this code safer. | ||||
* | monitor/mon-editor.c: Use puts() and snprintf() not fprintf() or sprintf() | Josh Oguin | 2014-11-26 | 1 | -5/+7 |
| | | | | | | | | | | CodeSonar flagged this as a case where the user could inject a format string and cause issues. Since we were not printing anything but a string, just switching to puts() rather than fprintf(stdout,...) was sufficient to make this code safer. snprintf() places a limit on the length of the output from sprintf() and avoids similar buffer overrun issues. | ||||
* | shell: Include missing header | Sebastian Huber | 2014-11-26 | 1 | -0/+1 |
| | |||||
* | hexdump-conv.c: Use proper printf() formatting for wchar_t | Joel Sherrill | 2014-11-25 | 1 | -1/+9 |
| | |||||
* | main_edit.c: Do not reference beyond end of array | Joel Sherrill | 2014-11-25 | 1 | -0/+5 |
| | |||||
* | shell/main_edit.c: Note return value not checked | Joel Sherrill | 2014-11-25 | 1 | -1/+1 |
| | | | | Coverity Id 1255320 spotted an unchecked return value. | ||||
* | shell/main_blksync.c: Fix leak of file descriptor | Joel Sherrill | 2014-11-25 | 1 | -0/+1 |
| | | | | Coverity Id 1063887. File descriptor not freed on error path. | ||||
* | cpukit/libmisc/shell/main_edit.c: Fix use after free() | Joel Sherrill | 2014-11-25 | 1 | -0/+8 |
| | | | | Coverity Id 1255353. Read from pointer after free(). | ||||
* | capture: Resolve failure path memory leak. | Jennifer Averett | 2014-11-25 | 1 | -0/+1 |
| | |||||
* | capture: Remove whitespace and fix copyrights. | Jennifer Averett | 2014-11-24 | 6 | -61/+55 |
| | |||||
* | capture: Add SMP support. | Jennifer Averett | 2014-11-24 | 3 | -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 Averett | 2014-11-24 | 4 | -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 Averett | 2014-11-24 | 3 | -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. | ||||
* | Delete or rename MIN/MAX macros and defines | Sebastian Huber | 2014-11-21 | 1 | -3/+1 |
| | | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros. | ||||
* | shell: Include <rtems/shell.h> early | Sebastian Huber | 2014-11-20 | 1 | -2/+3 |
| | | | | This avoids a conflict with the global variable defines. | ||||
* | shell: Add CMDLS, CMDCHOWN, CMDCHMOD commands | Sebastian Huber | 2014-11-20 | 5 | -0/+303 |
| | |||||
* | shell: Fix help topic header | Sebastian Huber | 2014-11-20 | 1 | -4/+3 |
| | |||||
* | shell: Add mode, UID and GID to shell commands | Sebastian Huber | 2014-11-20 | 7 | -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 check | Sebastian Huber | 2014-11-20 | 2 | -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 Huber | 2014-11-20 | 4 | -18/+20 |
| | |||||
* | shell: Make rtems_shell_main_joel() static | Sebastian Huber | 2014-11-20 | 1 | -8/+1 |
| | |||||
* | shell: Print to stderr in TIME command | Sebastian Huber | 2014-11-20 | 1 | -3/+3 |
| | |||||
* | shell: Add initial commands and aliases only once | Sebastian Huber | 2014-11-20 | 4 | -26/+22 |
| | | | | Make tables read-only. | ||||
* | shell: Simplify rtems_shell_add_cmd_struct() | Sebastian Huber | 2014-11-20 | 1 | -14/+15 |
| | |||||
* | shell: Rename HALT to SHUTDOWN command | Sebastian Huber | 2014-11-20 | 3 | -12/+10 |
| | | | | Use a normal command for shutdown via exit(). | ||||
* | shell: Do chroot() after successful login | Sebastian Huber | 2014-11-20 | 2 | -38/+41 |
| | |||||
* | shell: Use exiting once initialization | Sebastian Huber | 2014-11-20 | 1 | -38/+31 |
| | | | | Avoid TOCTOU issues. Avoid pull in of global buffers. | ||||
* | shell: Get supplementary group IDs in login check | Sebastian Huber | 2014-11-20 | 1 | -0/+2 |
| | |||||
* | shell: Use crypt_r() in rtems_shell_login_check() | Sebastian Huber | 2014-11-20 | 1 | -19/+36 |
| | | | | | | | Use '*" to disable shell login instead of '!' according to the Linux man page. Use getpwnam_r() instead of getpwnam(). Do not access the user environment directly. Update the user environment only after a successful login check. | ||||
* | shell/main_edit.c: Fix warnings | Joel Sherrill | 2014-11-05 | 1 | -8/+10 |
| |