summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc/capture: Clean up formatting on ARM.Chris Johns2015-03-192-22/+29
| | | | | | | | The printing of 64bit diff's for the timestamp did not work on ARM so I have changed this to 32bit. A 32bit nano-second diff between events should be more than enough time. Print '____' for POSIX thread output.
* testsupport: Do not suspend worker tasksSebastian Huber2015-03-181-1/+3
|
* libmisc/redirector: Fix unlock on exit from the handler.Chris Johns2015-03-181-1/+1
|
* libmisc/monitor/mon-task.c: Disable deprecated warning for use of notepadsJoel Sherrill2015-03-171-2/+21
|
* testsupport: Add worker setup handlerSebastian Huber2015-03-172-12/+71
| | | | Add rtems_test_parallel_get_task_id().
* shell: remove rtems ifdef, upstream is correctGedare Bloom2015-03-161-8/+0
|
* shell: fix printf warningsGedare Bloom2015-03-161-4/+5
|
* capture: fix warnings in printGedare Bloom2015-03-161-4/+6
|
* cpukit: Remove old DESCRIPTION: in commentsJoel Sherrill2015-03-115-77/+5
| | | | These were remnants of pre-Doxygen comment style.
* cpukit: deprecate notepadsGedare Bloom2015-03-101-1/+2
| | | | | | | | | | | | | | | Deprecate Classic API Notepads. Mark task_set/get_note() with the deprecated attribute, and also mark the notepads field. Replace disable with enable option for notepads in confdefs.h, and make notepads disabled by default. The previous option CONFIGURE_DISABLE_CLASSIC_API_NOTEPADS is now unused and will emit a compile-time warning. A new option CONFIGURE_ENABLE_CLASSIC_API_NOTEPADS is available to turn on notepads, but it also will emit a compile-time warning to indicate that notepads are deprecated. Closes #2265
* cpukit/libmisc/fsmount/fsmount.h: Remove duplicate comments and copyrightJoel Sherrill2015-03-091-29/+7
|
* Fix a number of minor Doxygen formatting issuesJoel Sherrill2015-03-062-1/+3
|
* testsupport: Add cascade option to parallel testAlexander Krutwig2015-03-062-11/+44
|
* shell: Add PROFREPORT commandSebastian Huber2015-03-063-0/+50
|
* capture: Fix warningsSebastian Huber2015-03-051-5/+5
|
* tests: Fix warningSebastian Huber2015-03-051-2/+1
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-053-0/+269
|
* Move test support from sapi to libmisc/testsupportSebastian Huber2015-03-054-0/+246
|
* score: Delete superfluous Heap_Statistics::instanceSebastian Huber2015-01-221-2/+0
| | | | | This value depends on the _Heap_Initialize() call sequence and carries no useful information.
* capture: Fix lock initializationSebastian Huber2015-01-091-6/+11
|
* untar.c: Coverity ID 26151 and reformatJoel Sherrill2015-01-041-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_FILESYSTEMSebastian Huber2014-12-161-1/+0
| | | | This define was superfluous, undocumented and used inconsistently.
* shell: Add 'all' topic for help for all commandsSebastian Huber2014-12-121-11/+19
|
* shell: Avoid __DATE__ and adjust welcome messageSebastian Huber2014-12-051-2/+1
| | | | The use of __DATE__ prevents reproducible builds.
* libmisc: More useful default configurationSebastian Huber2014-12-054-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 Huber2014-12-032-3/+3
|
* libmisc/shell: Edit history hack is corrupting memory. Remove it.Chris Johns2014-12-011-24/+1
| | | | | | The hack was a debug aid and is not needed. Close #2203.
* score: Add heap statisticsSebastian Huber2014-11-281-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_informationSebastian Huber2014-11-284-10/+40
| | | | Print out heap statistics via the MALLOC and WKSPACE shell commands.
* libcsupport: Delete malloc statisticsSebastian Huber2014-11-281-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 applicationsSebastian Huber2014-11-273-4/+8
| | | | close #2030
* monitor/mon-prmisc.c: Use puts() not fprintf()Josh Oguin2014-11-261-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 Oguin2014-11-261-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 headerSebastian Huber2014-11-261-0/+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.
* 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().
* capture: Resolve failure path memory leak.Jennifer Averett2014-11-251-0/+1
|
* 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.
* Delete or rename MIN/MAX macros and definesSebastian Huber2014-11-211-3/+1
| | | | Include <sys/param.h> if necessary to get the MIN()/MAX() macros.
* 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.