Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libmisc/shell: Make some internal shell functions public. | Chris Johns | 2017-08-23 | 3 | -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_kt | Daniel Hellstrom | 2015-04-17 | 1 | -8/+8 |
| | |||||
* | DRVMGR: added drvmgr shell command | Daniel Hellstrom | 2015-04-17 | 2 | -0/+435 |
| | |||||
* | LIBPCI: added PCI shell command | Daniel Hellstrom | 2015-04-17 | 2 | -0/+541 |
| | |||||
* | shell/main_rtrace.c: Fix warning | Joel Sherrill | 2015-04-03 | 1 | -1/+1 |
| | |||||
* | libmisc/shell: Add the rtrace command for buffered tracing support. | Chris Johns | 2015-03-31 | 2 | -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_TIMEVAL | Joel Sherrill | 2015-03-24 | 1 | -0/+9 |
| | |||||
* | cpukit/libmisc/shell/hexdump-conv.c: Eliminate printf() format warning | Joel Sherrill | 2015-03-22 | 1 | -1/+5 |
| | |||||
* | cpukit/libmisc/shell/main_df.c: Eliminate printf() format warning | Joel Sherrill | 2015-03-22 | 1 | -2/+3 |
| | |||||
* | Replace www.rtems.com with www.rtems.org | Sebastian Huber | 2015-03-20 | 1 | -1/+1 |
| | |||||
* | shell: remove rtems ifdef, upstream is correct | Gedare Bloom | 2015-03-16 | 1 | -8/+0 |
| | |||||
* | shell: fix printf warnings | Gedare Bloom | 2015-03-16 | 1 | -4/+5 |
| | |||||
* | shell: Add PROFREPORT command | Sebastian Huber | 2015-03-06 | 2 | -0/+49 |
| | |||||
* | 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. | ||||
* | 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/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 | ||||
* | 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(). | ||||
* | 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 | 4 | -0/+300 |
| | |||||
* | 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 |
| | |||||
* | libmisc: Add top to shell. | Jennifer Averett | 2014-10-27 | 2 | -0/+66 |
| | |||||
* | shell: Add an editor to the shell. | Chris Johns | 2014-10-24 | 2 | -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 LSOF | Sebastian Huber | 2014-10-16 | 1 | -16/+32 |
| | |||||
* | shell: Improve LSOF output | Sebastian Huber | 2014-10-16 | 1 | -12/+19 |
| | |||||
* | shell/main_cp.c: Delete unused -rtems_shell_cp_exit() | Joel Sherrill | 2014-10-13 | 1 | -6/+0 |
| | |||||
* | shell/lsof: Fix warnings | Sebastian Huber | 2014-10-10 | 1 | -8/+9 |
| | |||||
* | libmisc/shell: Remove the need for -lm when linking from the ping command. | Chris Johns | 2014-10-04 | 1 | -5/+12 |
| | | | | | Remove the use of sqrt and so the need to link to -lm. Clean up some warnings. |