<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 16, 2018 at 12:49 PM, Li Wang <span dir="ltr"><<a href="mailto:liwang@redhat.com" target="_blank">liwang@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="gmail-">On Wed, Aug 15, 2018 at 6:50 PM, Cyril Hrubis <span dir="ltr"><<a href="mailto:chrubis@suse.cz" target="_blank">chrubis@suse.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi!<br>
I'm looking into these patches now, so if I get it right we should:<br></blockquote><div><br></div></span><div><div style="font-size:small">Thanks for taking care of this.</div></div><span class="gmail-"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
* Add EXTPROC into lapi<br>
* Get the termios value, or it with the requested flags, then apply<br>
  tcsetattr()<br>
* Exit the test with TCONF if we get EINVAL from tcsetattr()<br>
<br>
Would that work for both of you?<br></blockquote></span></div><div style="font-size:small"></div><div style="font-size:small"><br></div><div style="font-size:small">I think that's right.</div><div style="font-size:small"><br></div><div style="font-size:small">But maybe we have to handle the <span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">ICANON nonuniform behavior too.</span></div><div style="font-size:small"><br></div><div style="font-size:small">As YangXiao mentioned that, reading pts will be blocked on rhel6 forever if we don't give</div><div style="font-size:small">newline('\n') to ptmx, but this issue not exist on rhel7.</div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div></font></span></div></div></blockquote><div><br></div><div class="gmail_default" style="font-size:small">To avoid the block issue we can just add newline('\n') in the test forwardly, I have confirmed that</div><div class="gmail_default" style="font-size:small">won't have any impact on the bug's reproducible in bad(< kernel-4.15) kernel.</div></div><div class="gmail_default" style="font-size:small"></div><div class="gmail_default" style="font-size:small">I will resend a new patch to fix all these issues above.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div>
</div></div>