summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* telnetd.c: Remove RTEMS_NETWORKING checkVijay Kumar Banerjee2021-05-201-10/+1
| | | | Set the priority manually to make telnetd compatible with the
* Revert "cpukit: Remove telnetd"Vijay Kumar Banerjee2021-04-138-0/+1960
| | | | This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
* cpukit: Remove telnetdVijay Kumar Banerjee2021-04-078-1960/+0
| | | | Update #3850
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* telnetd: Add server port to configurationSebastian Huber2018-10-111-3/+10
| | | | Close #3543.
* telnetd: Create sessions at startSebastian Huber2018-10-112-234/+275
| | | | Update #3543.
* telnetd: Allocate the server contextSebastian Huber2018-10-101-7/+8
| | | | Update #3543.
* telnetd: Create server socket at startSebastian Huber2018-10-101-76/+86
| | | | Update #3543.
* telnetd: Rename shell_args to telnetd_sessionSebastian Huber2018-10-101-33/+33
| | | | Update #3543.
* telnetd: Simplify task spawn functionSebastian Huber2018-10-101-92/+36
| | | | | | | Use the minimum task size for the telnet server task since it has to deal only with simple socket operations. Update #3543.
* telnetd: Remove keep stdio featureSebastian Huber2018-10-101-72/+40
| | | | | | | | | | | | | | The Telnet service started via rtems_telnetd_start() had a keep stdio feature. This just created a task and executed the command function in a loop. For this kind of service we do not library support. This can be done by an application task on its own. Remove this feature and provide only the real Telnet server functionality. Use syslog() for error and status messages. Add test program for the Telnet server. Close #3542.
* build: Merge telnetd/Makefile.amSebastian Huber2018-10-101-13/+0
|
* build: Remove specialized CPPFLAGSSebastian Huber2018-10-091-1/+0
|
* telnetd: Ignore setsockopt() return statusSebastian Huber2018-10-092-2/+2
| | | | Update #3529.
* Use rtems_task_exit()Sebastian Huber2018-10-021-4/+4
| | | | | Update #3530. Update #3533.
* telnetd: Remove CEXP convenience routinesSebastian Huber2018-10-011-25/+0
| | | | Close #3535.
* telnetd: Remove CONFIGURE_MAXIMUM_PTYSSebastian Huber2018-10-011-48/+63
| | | | | | | | Add a rtems_telnetd_config_table::client_maximum member to the Telnet configuration. Close #3526. Close #3528.
* telnetd: Regroup includesSebastian Huber2018-10-011-7/+5
|
* telnetd: Remove dead codeSebastian Huber2018-10-011-7/+0
|
* telnetd: Remove superfluous global variableSebastian Huber2018-10-011-9/+7
| | | | Update #3528.
* telnetd: Convert pty driver to new Termios APISebastian Huber2018-10-012-405/+127
| | | | Update #3526.
* cpukit/telnetd/pty.c: Fix format overflow warning on sprintf()Joel Sherrill2018-08-291-5/+6
| | | | | | | | 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.
* telnetd: Use syslog() instead of printk()Sebastian Huber2018-05-021-2/+8
| | | | Update #3419.
* telnetd: Always build telnet daemonSebastian Huber2018-05-023-31/+71
| | | | | | Add support for libbsd initialization. Update #3419.
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-1/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* Remove make preinstallChris Johns2018-01-255-264/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* telnetd: Include <rtems/passwd.h>Sebastian Huber2017-12-131-1/+1
| | | | | | Prepare for header file move to common include directory. Update #3254.
* telnetd: Fix warningsSebastian Huber2016-04-255-11/+14
|
* telnetd.c: Fix no prototype warningJoel Sherrill2016-03-241-4/+5
|
* telnetd: Use socklen_tSebastian Huber2014-09-181-10/+0
|
* Regenerate all preinstall.am files.Joel Sherrill2014-08-281-6/+6
| | | | | Apparently, at some point automake output changed and these were not updated.
* Change all references of rtems.com to rtems.org.Chris Johns2014-03-213-3/+3
|
* Include missing <string.h>Sebastian Huber2013-07-231-1/+1
|
* telnetd: Map CRLF to CRSebastian Huber2012-09-281-4/+3
| | | | | | 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.
* telnetd: Inform client that we will echoSebastian Huber2012-09-281-12/+15
| | | | The standard line editor rtems_shell_line_editor() produces an echo.
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-118-20/+0
| | | | | | | | | | | | 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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* Remove all .cvsignore files.Joel Sherrill2012-02-011-2/+0
|
* 2011-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-12-101-1/+1
| | | | | PR 1985/cpukit * telnetd/Makefile.am: Remove icmds.c.
* 2011-12-09 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2011-12-091-64/+0
| | | | | | PR 1985/cpukit * telnetd/icmds.c: Removed. All functionality is in shell. Obsolete and unreferenced.
* 2010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-07-041-1/+0
| | | | | | | | | | | | | | | | * 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-03-27 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2010-03-273-4/+17
| | | | | * libgnat/ada_intrsupp.c, telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: Add include of config.h
* 2009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-12-171-1/+1
| | | | | * telnetd/telnetd.c: Honor configuration setting for telnet daemon stack size.
* 2009-12-10 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-12-101-4/+4
| | | | | * telnetd/pty.c: Reflect changes to rtems_termios_callbacks->write.
* Whitespace removal.Ralf Corsepius2009-12-025-40/+40
|
* 2009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2009-11-131-9/+9
| | | | * telnetd/telnetd.c (telnetd_dflt_spawn): Adjust prototype.
* 2009-06-18 Chris Johns <chrisj@rtems.org>Chris Johns2009-06-171-20/+40
| | | | | * telnetd/des.c: Split the des_f struct into smaller parts so targets that cannot address large structs can be supported.
* 2009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-061-2/+0
| | | | | * libmisc/uuid/gen_uuid.c, libnetworking/lib/syslog.c, telnetd/telnetd.c: Fixed warnings.
* 2009-05-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-05-041-1/+1
| | | | * telnetd/telnetd.h: Spacing.