Re: machine/param.h Leak of non-standard methods to Application Space

2018-10-18 Thread Joel Sherrill
On Thu, Oct 18, 2018 at 12:08 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 17/10/2018 17:04, Joel Sherrill wrote: > > Hi > > > > We are updating the port of a large third party framework and ran > > into an issue where what I would think are BSD kernel methods > > leak

[PATCH] Update the copyright year.

2018-10-18 Thread chrisj
From: Chris Johns --- bsp-howto/index.rst| 2 +- c-user/index.rst | 2 +- common/conf.py | 2 +- cpu-supplement/index.rst | 2 +- develenv/index.rst | 2 +- eclipse/index.rst | 2 +- filesystem/index.rst | 2 +- networking/index.rst |

[PATCH v2] Python2/Python3 support

2018-10-18 Thread chrisj
The patch implements runtime support to select a python to run the RSB. The selection order is: python2 python3 python In a future release we can change this order without needing to change the support structures around the RSB. The patch also handles GDB's selection of python moving away

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

2018-10-18 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/config/gdb-common-1.cfg | 105 +-

SMP build fails looking for omp.h

2018-10-18 Thread Joel Sherrill
Hi Looks like there is a missing configuration check for omp.h: ../../../../../../rtems/c/src/../../testsuites/smptests/smpopenmp01/init.c:34:10: fatal error: omp.h: No such file or directory 34 | #include | ^~~ compilation terminated. --joel

[PATCH] Avoid default RTEMS application configuration

2018-10-18 Thread Sebastian Huber
Use a test body with a proper RTEMS application configuration to avoid a dependency on the default configuration. Do not include directly since this header file is an implementation detail. Update #3551. --- rtems.py | 30 +- 1 file changed, 17 insertions(+), 13

[PATCH 2/2] Support O_NOFOLLOW open() flag

2018-10-18 Thread Sebastian Huber
Close #3546. --- cpukit/libcsupport/src/open.c| 7 +++- testsuites/psxtests/psxfile01/test.c | 67 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c index

[PATCH 1/2] Support O_CLOEXEC open() flag

2018-10-18 Thread Sebastian Huber
Make sure this flag is ignored and does not prevent a successful open. Close #3547. --- testsuites/psxtests/psxfile01/test.c | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/testsuites/psxtests/psxfile01/test.c

[PATCH 4/8] Remove ttyname()

2018-10-18 Thread Sebastian Huber
This function is provided by Newlib since 2000. Update #3409. --- cpukit/Makefile.am | 1 - cpukit/configure.ac | 2 +- cpukit/libcsupport/src/ttyname.c | 121 --- 3 files changed, 1 insertion(+), 123 deletions(-) delete mode

[PATCH 8/8] Remove superfluous configure checks

2018-10-18 Thread Sebastian Huber
The results of these checks are unused, covered by other checks or check obvious things. Update #3409. --- cpukit/configure.ac | 95 + 1 file changed, 1 insertion(+), 94 deletions(-) diff --git a/cpukit/configure.ac b/cpukit/configure.ac index

[PATCH 7/8] Remove checks for flockfile(), etc. declarations

2018-10-18 Thread Sebastian Huber
Declarations provided by Newlib since 2002. Update #3409. --- cpukit/configure.ac | 5 - cpukit/libcsupport/src/flockfile.c| 2 +- cpukit/libcsupport/src/ftrylockfile.c | 2 +- cpukit/libcsupport/src/funlockfile.c | 2 +- 4 files changed, 3 insertions(+), 8

[PATCH 6/8] Remove getcwd()

2018-10-18 Thread Sebastian Huber
This function is provided by Newlib since 2000. Update #3409. --- cpukit/Makefile.am | 1 - cpukit/configure.ac | 4 - cpukit/libcsupport/src/getcwd.c | 296 3 files changed, 301 deletions(-) delete mode 100644

[PATCH v2] Remove superfluous configure checks

2018-10-18 Thread Sebastian Huber
The results of these checks are unused, covered by other checks or check obvious things. Update #3409. --- cpukit/Makefile.am | 49 -- cpukit/configure.ac | 99 + 2 files changed, 23 insertions(+), 125 deletions(-)