<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 6, 2019 at 8:49 AM <<a href="mailto:dufault@hda.com">dufault@hda.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>On May 6, 2019, at 01:02 , Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a>> wrote:</div><br class="gmail-m_8208098701302875108Apple-interchange-newline"><div><div>On 05/05/2019 03:00, Chris Johns wrote:<br><blockquote type="cite">On 5/5/19 12:21 am, Joel Sherrill wrote:<br><blockquote type="cite">Sorry for missing that it actually was referenced<br><br>Rcmd can and should work. Rcmdsh will not ever and should be removed from libbsd.<br><br>Does rcmd need testing? It clearly had no test since it wouldn't have linked.<br></blockquote><br>Yes that would be great. Testing libbsd is a complicated. <br></blockquote><br>If it is used by applications it should be tested, otherwise we should remove it from the build to make it a little faster and reduce the maintenance costs of libbsd.<br></div></div></blockquote><div><br></div>It is used.  The use may be removed (this is a port from vxWorks) but as part of a baseline it is used.</div></div></blockquote><div><br></div><div>Just to be specific again. rcmd() can be made to work. rcmdsh() uses fork() and exec() so will never work. </div><div><br></div><div>Lou's patch added conditionals to rcmd() to get around missing netgroup methods and avoid invoking rcmdsh() on one path.</div><div><br></div><div>An update to this patch (or a follow up) needs to remove rcmdsh* from the rtems-libbsd source </div><div><br></div><div>I suppose Lou also needs to add a test that verifies rcmd() works.</div><div><br></div><div>--joel</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><div><br></div><br><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span class="gmail-m_8208098701302875108Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="overflow-wrap: break-word;"><span class="gmail-m_8208098701302875108Apple-style-span" style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;border-spacing:0px"><div style="overflow-wrap: break-word;"><font class="gmail-m_8208098701302875108Apple-style-span" size="3"><span class="gmail-m_8208098701302875108Apple-style-span" style="font-size:12px">Peter<br>-----------------<br>Peter Dufault<br>HD Associates, Inc.      Software and System Engineering</span></font></div><div style="overflow-wrap: break-word;"><font class="gmail-m_8208098701302875108Apple-style-span" size="3"><span class="gmail-m_8208098701302875108Apple-style-span" style="font-size:12px"><br></span></font></div>This email is delivered through the public internet using protocols subject to interception and tampering.</span></div></span></div></div></div></div></div></div></div></div></div>
</div>
<br></div></blockquote></div></div>