Files
rtems/cpukit/libmisc/shell
Sebastian Huber ffd5285844 shell: Inherit UID and GID if no login check
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.
2014-11-20 10:30:25 +01:00
..
2009-06-12 05:51:43 +00:00
2009-10-22 04:29:32 +00:00
2014-11-05 09:29:47 -06:00
2014-10-27 14:12:05 -05:00
2014-09-16 15:19:58 +10:00
2009-11-29 12:12:39 +00:00

This directory contains a shell user extension
primary features:

   + create a user shell terminal task.

This code has not been extensively tested.  It is provided as a tool
for RTEMS users to open more shell terminal.
Suggestions and comments are appreciated.

NOTES:

1.  printf() & getchar() works but you can't use 
    0,1,2 like fildes. You need to use fileno(stdin),fileno(stdout),...
    
2.  You only need a termios dev to start a new session, add your new commands
    and enjoy it.

3.  Telnetd daemon uses this (browse libnetworking/rtems_telnetd)
    Enjoy it.

FUTURE:

1.  Adding new commands in cmds.c to give file manegement to shell.