[PATCH] sb: Add support to search for a suitable vrsion of python.

2018-10-10 Thread chrisj
From: Chris Johns The command python has been removed from upstream python and python2 and python3 is now used. This patch wraps the commands in a shell script that locates a suitable python to run. Updates #3537 --- source-builder/pkg-config | 241 +++--- source

Re: [examples-v2 commit] Add various programs to report default attributes for various POSIX objects

2018-10-10 Thread Chris Johns
> On 9 Oct 2018, at 2:33 pm, Joel Sherrill wrote: > >> On Tue, Oct 9, 2018, 4:19 PM Chris Johns wrote: >> On 8/10/18 8:56 am, Joel Sherrill wrote: >> > diff --git a/posix_api/Makefile b/posix_api/Makefile >> > index b070ea9..8af26dc 100644 >> > --- a/posix_api/Makefile >> > +++ b/posix_api/Make

[PATCH 5/6] telnetd: Create sessions at start

2018-10-10 Thread Sebastian Huber
Update #3543. --- cpukit/include/rtems/pty.h | 11 +- cpukit/telnetd/pty.c| 33 +- cpukit/telnetd/telnetd.c| 476 +++- testsuites/libtests/telnetd01/init.c| 6 +- testsuites/libtests/telnetd01/telnetd0

[PATCH 2/6] telnetd: Rename shell_args to telnetd_session

2018-10-10 Thread Sebastian Huber
Update #3543. --- cpukit/telnetd/telnetd.c | 66 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index fcc89ff5e3..1fcd4c54d9 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/teln

[PATCH 1/6] telnetd: Simplify task spawn function

2018-10-10 Thread Sebastian Huber
Use the minimum task size for the telnet server task since it has to deal only with simple socket operations. Update #3543. --- cpukit/telnetd/telnetd.c | 128 +-- 1 file changed, 36 insertions(+), 92 deletions(-) diff --git a/cpukit/telnetd/telnetd.c

[PATCH 3/6] telnetd: Create server socket at start

2018-10-10 Thread Sebastian Huber
Update #3543. --- cpukit/telnetd/telnetd.c | 162 +-- 1 file changed, 86 insertions(+), 76 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 1fcd4c54d9..0fd3b317a9 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/teln

[PATCH 6/6] telnetd: Add server port to configuration

2018-10-10 Thread Sebastian Huber
Close #3543. --- cpukit/include/rtems/telnetd.h | 9 - cpukit/telnetd/telnetd.c| 13 ++--- testsuites/libtests/telnetd01/telnetd01.scn | 2 +- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/cpukit/include/rtems/telnetd.h b/cpukit/

[PATCH 0/6] Allocate resources at Telnet server start

2018-10-10 Thread Sebastian Huber
This patch set changes the Telnet server implementation to allocate all resources (except the socket returned by accept()) at the service start via rtems_telnetd_start(). You can now also start the Telnet server on non-standard ports. I tested it using libbsd. Sebastian Huber (6): telnetd: Sim

[PATCH 4/6] telnetd: Allocate the server context

2018-10-10 Thread Sebastian Huber
Update #3543. --- cpukit/telnetd/telnetd.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/cpukit/telnetd/telnetd.c b/cpukit/telnetd/telnetd.c index 0fd3b317a9..aadf33deb7 100644 --- a/cpukit/telnetd/telnetd.c +++ b/cpukit/telnetd/telnetd.c @@ -81,9 +81,6 @@ typ

Merged cpukit Makefile breaks covoar

2018-10-10 Thread Joel Sherrill
Hi Just a reminder that coverage testing is now completely dead until the method for getting symbols from the build tree is reworked. As Chris suggested, the reference to the temporary libraries has to change to wildcarded .o sets (possibly multiple patterns per old library). This logic is likely

[PATCH] build: Include header.am in cpukit/Makefile.am

2018-10-10 Thread Sebastian Huber
Include all cpukit/*/header.am files in cpukit/Makefile.am. This gets rid of all subtree Makefile.am and the sudirs hack. --- bootstrap | 57 ++-- cpukit/Makefile.am| 56 +++- cpukit/automake/subdirs.am| 53 cpukit/co