Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian Huber
7eada71e1b shell: Add mode, UID and GID to shell commands
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.
2014-11-20 10:30:26 +01:00
Sebastian Huber
5c141d6a25 shell: Add and use rtems_shell_execute_cmd() 2014-11-20 10:30:25 +01:00
Sebastian Huber
66da4844f4 shell: Print to stderr in TIME command 2014-11-20 10:30:25 +01:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
3421e5201f * libmisc/shell/main_help.c: Make rtems_shell_help_cmd,
rtems_shell_help static.
	* libmisc/shell/main_hexdump.c: Make main_hexdump static.
	* libmisc/shell/main_id.c: Make rtems_shell_main_id static.
	* libmisc/shell/main_ifconfig.c: Make rtems_shell_main_ifconfig static.
	* libmisc/shell/main_ln.c: Make rtems_shell_main_ln static.
	* libmisc/shell/main_logoff.c: Make rtems_shell_main_logoff static.
	* libmisc/shell/main_ls.c: Make rtems_shell_main_ls static.
	* libmisc/shell/main_mallocinfo.c: Include <rtems/libcsupport.h>.
	Remove private decls of malloc_info,
	rtems_shell_print_unified_work_area_message.
	Make rtems_shell_main_malloc_info static.
	* libmisc/shell/main_medit.c: Remove private decl of
	rtems_shell_main_mdump.
	Make rtems_shell_main_medit static.
	* libmisc/shell/main_mfill.c: Make rtems_shell_main_mfill static.
	* libmisc/shell/main_mkdir.c: Make rtems_shell_main_mkdir static.
	* libmisc/shell/main_mknod.c: Make rtems_shell_main_mknod static.
	* libmisc/shell/main_mmove.c: Remove private decl of
	rtems_shell_main_mdump.
	Make rtems_shell_main_mmove static.
	* libmisc/shell/main_mount.c: Make rtems_shell_main_mount static.
	* libmisc/shell/main_msdosfmt.c: Make rtems_shell_main_msdos_format
	static.
	* libmisc/shell/main_mv.c: Include "internal.h".
	Make rtems_shell_mv_exit, rtems_shell_main_mv static.
	Remove private decls of strmode rtems_shell_main_cp,
	rtems_shell_main_rm.
	* libmisc/shell/main_mwdump.c: Make rtems_shell_main_mwdump static.
	* libmisc/shell/main_netstats.c: Make rtems_shell_main_netstats
	static.
	* libmisc/shell/main_perioduse.c: Make rtems_shell_main_perioduse
	static.
	* libmisc/shell/main_pwd.c: Make rtems_shell_main_pwd static.
	* libmisc/shell/main_rm.c: Include "internal.h".
	Make rtems_shell_rm_exit static.
	Remove private decl of strmode.
	* libmisc/shell/main_rmdir.c: Make rtems_shell_main_rmdir static.
	libmisc/shell/main_route.c: Make rtems_shell_main_route static.
	* libmisc/shell/main_setenv.c: Make rtems_shell_main_setenv static.
	* libmisc/shell/main_sleep.c: Make rtems_shell_main_sleep static.
	* libmisc/shell/main_stackuse.c: Make rtems_shell_main_stackuse static.
	* libmisc/shell/main_time.c: Make rtems_shell_main_time static.
	* libmisc/shell/main_tty.c: Make rtems_shell_main_tty static.
	* libmisc/shell/main_umask.c: Make rtems_shell_main_umask static.
	* libmisc/shell/main_unmount.c: Make rtems_shell_main_unmount
	static.
	* libmisc/shell/main_unsetenv.c: Make rtems_shell_main_unsetenv
	static.
	* libmisc/shell/main_whoami.c: Make rtems_shell_main_whoami static.
	* libmisc/shell/main_wkspaceinfo.c: Make
	rtems_shell_main_wkspace_info static.
2011-12-04 10:22:51 +00:00
Ralf Corsepius
94107fa84a 2011-10-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_time.c: Introduce PRIdtime_t.
2011-10-02 08:15:02 +00:00
Ralf Corsepius
0893220b2a Whitespace removal. 2009-11-29 12:12:39 +00:00
Chris Johns
b311cbc957 2009-06-17 Chris Johns <chrisj@rtems.org>
* libmisc/shell/extern-dd.h: Delcare the conv arrays extern to
        stop PPC link errors.
        * libmisc/shell/main_time.c, libmisc/Makefile.am,
        libmisc/shell/shellconfig.h: Add a time command.
2009-06-17 05:34:33 +00:00