summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libmisc/shell: Make some internal shell functions public.Chris Johns2017-08-233-19/+35
| | | | | | | | | | - Add 'rtems_shell_init_environment()' so a user can create the shell environment without needing to run a shell. - Move 'rtems_shell_lookup_topic', 'rtems_shell_can_see_cmd', and 'rtems_shell_execute_cmd' from the internal interface to the public interface. Closes #3104.
* DRVMGR: KEY_TYPE now a enum drvmgr_ktDaniel Hellstrom2015-04-171-8/+8
|
* DRVMGR: added drvmgr shell commandDaniel Hellstrom2015-04-172-0/+435
|
* LIBPCI: added PCI shell commandDaniel Hellstrom2015-04-172-0/+541
|
* shell/main_rtrace.c: Fix warningJoel Sherrill2015-04-031-1/+1
|
* libmisc/shell: Add the rtrace command for buffered tracing support.Chris Johns2015-03-312-0/+708
| | | | | The rtrace command interfaces to the RTEMS Trace Linker's trace buffering data allowing users to capture and report trace data.
* shell/utils-cp.c: Avoid redefinition of TIMESPEC_TO_TIMEVALJoel Sherrill2015-03-241-0/+9
|
* cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warningJoel Sherrill2015-03-221-1/+5
|
* cpukit/libmisc/shell/main_df.c: Eliminate printf() format warningJoel Sherrill2015-03-221-2/+3
|
* Replace www.rtems.com with www.rtems.orgSebastian Huber2015-03-201-1/+1
|
* shell: remove rtems ifdef, upstream is correctGedare Bloom2015-03-161-8/+0
|
* shell: fix printf warningsGedare Bloom2015-03-161-4/+5
|
* shell: Add PROFREPORT commandSebastian Huber2015-03-062-0/+49
|
* 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.
* 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/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
* 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().
* 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-204-0/+300
|
* 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().
* 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
|
* shell: Use crypt_r() in rtems_shell_login_check()Sebastian Huber2014-11-201-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 warningsJoel Sherrill2014-11-051-8/+10
|
* libmisc: Add top to shell.Jennifer Averett2014-10-272-0/+66
|
* shell: Add an editor to the shell.Chris Johns2014-10-242-0/+2265
| | | | | | This is a small (21K on sparc) editor that provides some powerful features useful when a file needs editing on an embedded board. No need to copy files off, edit, copy back.
* shell: Print null mount table entry via LSOFSebastian Huber2014-10-161-16/+32
|
* shell: Improve LSOF outputSebastian Huber2014-10-161-12/+19
|
* shell/main_cp.c: Delete unused -rtems_shell_cp_exit()Joel Sherrill2014-10-131-6/+0
|
* shell/lsof: Fix warningsSebastian Huber2014-10-101-8/+9
|
* libmisc/shell: Remove the need for -lm when linking from the ping command.Chris Johns2014-10-041-5/+12
| | | | | Remove the use of sqrt and so the need to link to -lm. Clean up some warnings.