Re: [PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-03 Thread Chris Johns
On 4/5/19 2:30 pm, Joel Sherrill wrote: On Fri, May 3, 2019, 8:18 PM Chris Johns > wrote: On 4/5/19 9:16 am, Joel Sherrill wrote: > On Fri, May 3, 2019, 6:04 PM Chris Johns mailto:chr...@rtems.org> > >> wrote

Re: [PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-03 Thread Joel Sherrill
On Fri, May 3, 2019, 8:18 PM Chris Johns wrote: > On 4/5/19 9:16 am, Joel Sherrill wrote: > > On Fri, May 3, 2019, 6:04 PM Chris Johns > > wrote: > > > > On 4/5/19 7:44 am, Lou Woods wrote: > > > From: Lou Woods > > > > > > rcmdsh() and innetgr() are

[PATCH] psxhdrs: Add POSIX API Signature Compliance Tests for nl_types.h

2019-05-03 Thread Jacob Shin
--- bootstrap | 326 -- testsuites/psxtests/Makefile.am | 3 + .../psxtests/psxhdrs/nl_types/catclose.c | 49 +++ .../psxtests/psxhdrs/nl_types/catgets.c | 53 +++ .../psxtests/psxhdrs/nl_types/catopen.c | 51 +

Re: [PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-03 Thread Chris Johns
On 4/5/19 9:16 am, Joel Sherrill wrote: On Fri, May 3, 2019, 6:04 PM Chris Johns > wrote: On 4/5/19 7:44 am, Lou Woods wrote: > From: Lou Woods > > rcmdsh() and innetgr() are referenced by rcmd, but aren’t available > in libbsd and are unresolvab

Re: [PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-03 Thread Joel Sherrill
On Fri, May 3, 2019, 6:04 PM Chris Johns wrote: > On 4/5/19 7:44 am, Lou Woods wrote: > > From: Lou Woods > > > > rcmdsh() and innetgr() are referenced by rcmd, but aren’t available > > in libbsd and are unresolvable external symbols when libbsd.a is > > processed by the RTL. > > Why does this n

Re: [PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-03 Thread Chris Johns
On 4/5/19 7:44 am, Lou Woods wrote: From: Lou Woods rcmdsh() and innetgr() are referenced by rcmd, but aren’t available in libbsd and are unresolvable external symbols when libbsd.a is processed by the RTL. Why does this not show up when we statically link? I wonder if this is related to sep

[PATCH 2/2] rcmd.c: Removed references to unsupported functions

2019-05-03 Thread Lou Woods
From: Lou Woods rcmdsh() and innetgr() are referenced by rcmd, but aren’t available in libbsd and are unresolvable external symbols when libbsd.a is processed by the RTL. innetgr() is part of netgroup and could be ported in at some point in the future. rcmdsh() uses fork() and exec() so uses of

[PATCH 1/2] namespace.h: Reversed additional hidden names.

2019-05-03 Thread Lou Woods
From: Lou Woods These hidden names were unresolved external symbols in libbsd when loaded by the RTL. The symbols _nanosleep, _accept, _select, and _listen are used by rcmd.c and needed to be mapped to the correct name. These symbols were removed from un-namespace.h as well. --- freebsd/lib/lib