Commit Graph

82 Commits

Author SHA1 Message Date
Sebastian Huber
15d7261bec telnetd: Use socklen_t 2014-09-18 08:09:09 +02:00
Joel Sherrill
b597c0d60c Regenerate all preinstall.am files.
Apparently, at some point automake output changed and these were
not updated.
2014-08-28 08:44:52 -05:00
Chris Johns
c49985691f Change all references of rtems.com to rtems.org. 2014-03-21 08:10:47 +11:00
Sebastian Huber
7660e8b347 Include missing <string.h> 2013-07-23 15:12:54 +02:00
Sebastian Huber
90e2026b99 telnetd: Map CRLF to CR
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.
2012-09-28 15:41:33 +02:00
Sebastian Huber
e652e5f8db telnetd: Inform client that we will echo
The standard line editor rtems_shell_line_editor() produces an echo.
2012-09-28 15:41:33 +02: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
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
ee32f67a6f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Ralf Corsepius
0a3c6d89d9 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1985/cpukit
	* telnetd/Makefile.am: Remove icmds.c.
2011-12-10 04:27:36 +00:00
Joel Sherrill
a40eec45a1 2011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1985/cpukit
	* telnetd/icmds.c: Removed.
	All functionality is in shell. Obsolete and unreferenced.
2011-12-09 18:21:17 +00:00
Joel Sherrill
71c012aff5 2010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c,
	libcsupport/src/__times.c, libcsupport/src/libio_init.c,
	libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c,
	libcsupport/src/mount.c, libcsupport/src/rewinddir.c,
	libcsupport/src/seekdir.c, libcsupport/src/telldir.c,
	libcsupport/src/unmount.c, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
	libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c,
	libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c,
	telnetd/telnetd.c: Remove include of assert.h when it is not needed.
2010-07-04 14:53:47 +00:00
Joel Sherrill
ddeb7730ab 2010-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>
* libgnat/ada_intrsupp.c, telnetd/check_passwd.c, telnetd/des.c,
	telnetd/genpw.c: Add include of config.h
2010-03-27 15:08:04 +00:00
Joel Sherrill
72b5f2e4e0 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/telnetd.c: Honor configuration setting for telnet daemon
	stack size.
2009-12-17 19:41:20 +00:00
Ralf Corsepius
77f7498aac 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/pty.c:
	Reflect changes to rtems_termios_callbacks->write.
2009-12-10 18:05:54 +00:00
Ralf Corsepius
80f77327f3 Whitespace removal. 2009-12-02 09:48:25 +00:00
Ralf Corsepius
10b83e6f80 2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/telnetd.c (telnetd_dflt_spawn): Adjust prototype.
2009-11-13 11:57:52 +00:00
Chris Johns
c0075af37a 2009-06-18 Chris Johns <chrisj@rtems.org>
* telnetd/des.c: Split the des_f struct into smaller parts so
        targets that cannot address large structs can be supported.
2009-06-17 22:29:52 +00:00
Joel Sherrill
430f6ffa61 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/uuid/gen_uuid.c, libnetworking/lib/syslog.c,
	telnetd/telnetd.c: Fixed warnings.
2009-05-06 16:36:46 +00:00
Joel Sherrill
2aa80144f3 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/telnetd.h: Spacing.
2009-05-04 14:52:34 +00:00
Thomas Doerfler
cbd1e8799f adapt copyright statements 2009-04-14 08:50:03 +00:00
Joel Sherrill
8a775c27fc 2009-03-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
* Makefile.am, preinstall.am, libmisc/Makefile.am,
	libmisc/shell/shell.c, libmisc/shell/shell.h, telnetd/check_passwd.c,
	telnetd/telnetd.c, telnetd/telnetd.h:
	Generalized login check.
	* libmisc/shell/login.h, libmisc/shell/login_check.c,
	libmisc/shell/login_prompt.c: New files.
	* libmisc/stackchk/check.c: Changed format for blown stack message.
	* libcsupport/src/libio_sockets.c: Removed superfluous cast.
	* libnetworking/rtems/ftpfs.h: Documentation.
2009-03-27 13:45:31 +00:00
Joel Sherrill
1fae7b43d7 2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1331/networking
	* libmisc/shell/shell.c, telnetd/check_passwd.c, telnetd/telnetd.c,
	telnetd/telnetd.h: Improve comments and explanation of options to
	rtems_telnetd_initialize. Add extra newline to login sequence from
	shell.
2008-10-15 17:37:16 +00:00
Ralf Corsepius
c0cc9859bc Add missing prototypes.
Remove unused local declations.
2008-08-02 06:34:08 +00:00
Ralf Corsepius
697cdd9871 Add prototypes. Remove misc. C++-code pollution. 2008-07-29 09:17:28 +00:00
Chris Johns
1ff9922df0 2007-12-22 Chris Johns <chrisj@rtems.org>
* configure.ac: fixed bug that always enabled strict order
	mutexes.
	* score/inline/rtems/score/coremutex.inl: Fixed coding standard.
	* score/src/coremutex.c: Add the holder's thread to the lock_mutex
	list if the mutex is initialised locked.
	* libnetworking/rtems/rtems_glue.c: Changed semaphore error
	message to show the error is an rtems-net error.
	* libmisc/monitor/mon-network.c: Removed warnings.
	* telnetd/icmds.c: Changed shell_* to rtems_shell_*.
	* score/Makefile.am: Fixed typo that stopped 'make tags' working.
	* libmisc/shell/err.c, libmisc/shell/err.h, libmisc/shell/errx.c,
	libmisc/shell/extern-cp.h, libmisc/shell/fts.c,
	libmisc/shell/fts.h, libmisc/shell/main_cp.c,
	libmisc/shell/utils-cp.c, libmisc/shell/verr.c,
	libmisc/shell/verrx.c, libmisc/shell/vwarn.c,
	libmisc/shell/vwarnx.c, libmisc/shell/warn.c,
	libmisc/shell/warnx.c: New. Ported from BSD.
	* libmisc/shell/shellconfig.h: Add the cp command.
	* libmisc/Makefile.am: Add the new files to the shell.
	* libmisc/shell/shell.c, libmisc/shell/shell.h: Add scripting
	support.
	* libblock/src/flashdisk.c: Fixed disk drive count size setting
	bug.
2007-12-22 08:27:18 +00:00
Joel Sherrill
edcb9827dc 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up.
	Now works on gen5200/icecube.
2007-11-26 23:10:25 +00:00
Joel Sherrill
081583c661 2007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h:
	Fix headers and formatting.
2007-11-06 20:50:10 +00:00
Joel Sherrill
b7fa289bf7 2007-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/include/rtems/score/copyrt.h: Update year.
2007-10-11 12:49:27 +00:00
Joel Sherrill
a10128c072 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* telnetd/passwd.h: New file.
2007-09-25 17:14:36 +00:00
Joel Sherrill
8ad6681b6b 2007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
2007-09-25 17:14:01 +00:00
Joel Sherrill
b5bf8cd163 2007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>
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.
2007-09-24 21:35:10 +00:00
Ralf Corsepius
5a221ff6b0 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* telnetd/icmds.c: Add HAVE_CONFIG_H magic.
2007-05-08 15:59:37 +00:00
Ralf Corsepius
63a88eb0bc Regenerate. 2007-01-08 08:43:28 +00:00
Ralf Corsepius
c1427d2758 Regenerate. 2006-11-18 02:31:32 +00:00
Ralf Corsepius
3fe615bae8 Replace AM_CONDITIONAL(HAS_NETWORKING) with AM_CONDITIONAL(LIBNETWORKING). 2006-11-18 02:28:35 +00:00
Joel Sherrill
352332193c 2006-08-30 Joel Sherrill <joel@OARcorp.com>
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c,
	libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c,
	libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c,
	libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf
	format warnings.
2006-08-30 13:53:02 +00:00
Eric Norum
b84fbbe80b Accept <CR><NUL> as equivalent to <CR><LF>. 2006-04-27 18:18:49 +00:00
Ralf Corsepius
2eb7d07e17 Regenerate. 2006-01-14 06:20:35 +00:00
Ralf Corsepius
e24ae58a97 Regenerate. 2006-01-13 08:43:48 +00:00
Ralf Corsepius
19a0136c82 Regenerate. 2006-01-12 10:02:32 +00:00
Ralf Corsepius
4e971660a1 Remove all-local. 2006-01-12 09:57:43 +00:00
Ralf Corsepius
956dfedfd6 Regenerate. 2006-01-12 04:56:37 +00:00
Ralf Corsepius
6ce2a66b94 Regenerate. 2006-01-12 04:24:13 +00:00
Ralf Corsepius
dbe8e5194c Cleanups 2006-01-12 04:19:28 +00:00
Ralf Corsepius
b46f6fb219 Regenerate. 2006-01-10 17:57:23 +00:00
Ralf Corsepius
f490b377f8 Regenerate. 2005-10-27 04:09:06 +00:00
Ralf Corsepius
7ce932ca65 New. 2005-10-27 04:08:55 +00:00
Ralf Corsepius
456733a525 2005-10-27 Ralf Corsepius <ralf.corsepius@rtems.org>
* telnetd/Makefile.am: Only build if LIBSHELL is available.
2005-10-27 04:07:42 +00:00