| Commit message (Collapse) | Author | Files | Lines |
|
This was requested to be executed prior to relicensing to BSD-2.
|
|
This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
|
|
Update #3850
|
|
Update #3543.
|
|
Update #3529.
|
|
Update #3526.
|
|
cpukit/telnetd/pty.c:436:47: warning: '%X' directive writing between
1 and 8 bytes into a region of size 3 [-Wformat-overflow=]
The devname area was malloc'ed. Now it is statically allocated and
sufficiently large to account for the potential buffer overflow.
|
|
Update #3419.
|
|
|
|
It is not so easy to use Termios for that. We already map CRNUL to CR,
thus we cannot ignore CRs. We could change the shell code to map CRNL
to a single line end, but this is more intrusive than the change here.
|
|
The standard line editor rtems_shell_line_editor() produces an echo.
|
|
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.
|
|
* telnetd/pty.c:
Reflect changes to rtems_termios_callbacks->write.
|
|
|
|
|
|
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
Now works on gen5200/icecube.
|
|
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
Fix headers and formatting.
|
|
* score/include/rtems/score/copyrt.h: Update year.
|
|
* telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c,
telnetd/telnetd.h: telnetd rewrite.
* telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
|
|
PR 1262/filesystem
* libcsupport/Makefile.am, libnetworking/libc/herror.c,
libnetworking/libc/res_send.c, libnetworking/sys/uio.h,
telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am,
telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and
writev() including documentation and test case.
* libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
|
|
|
|
Rename rtems_telnetd_maximum_ptys to rtems_pty_maximum_ptys.
|
|
* sapi/include/confdefs.h, telnetd/pty.c, telnetd/pty.h: Attempt
to fix MAX_PTYS and provide a real configuration entry. This should
make telnetd some suitable for inclusion in cpukit.
|
|
* rtems_telnetd/pty.c: Remove bsp.h. Include <rtems/bspIo.h>.
|
|
* rtems_telnetd/pty.c: Move config.h to were it belongs.
Remove printf (Reported by Till Straumann
<strauman@SLAC.Stanford.EDU>).
|
|
* Makefile.am, configure.in, rtems_servers/Makefile.am,
rtems_servers/telnetd.c, rtems_servers/telnetd.h,
rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c,
rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c,
rtems_telnetd/telnetd.h, wrapup/Makefile.am:
- pty and telnetd have a new subdir rtems_telnetd to avoid
the side effect when ftpd change.
- the tcp/ip stats have been implemented into icmds.c and
started when telnetd daemon is started.
* rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed.
* rtems_telnetd: New directory.
* rtems_telnetd/Makefile.am, rtems_telnetd/README,
rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h,
rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
|
|
* monitor/mon-prmisc.c: Correct print line.
* shell/Makefile.am: Added new file telnetd.c.
* shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files.
* shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments:
- The shell_init has a new parameter 'forever' because in
/dev/console you need that this process runs forever but in
tcp/ip not. (respawn?)
- A new task for every session opened trought tcp/ip telnet client.
(the chargen,daytime and more are possible of implementation but
I ask me if they are necesary)
- Exit from the session delete the task and when the client fails too.
- More cmds have been implemented. (very reduced version of these)
umask, chmod, id, whoami, rm, cat, ...
- A reduced line edit has been implemented.
Ctrl-C abort the input,
Ctrl-d in the first position gives EOF (logout).
'\b' and DEL makes the rubout operation.
I think that readline() for every session spents a lot of resources.
|