svn commit: r339368 - head/lib/libc/net

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Oct 15 19:48:37 UTC 2018


Author: trasz
Date: Mon Oct 15 19:48:36 2018
New Revision: 339368
URL: https://svnweb.freebsd.org/changeset/base/339368

Log:
  Prevent flex(1) from generating calls to isatty(3) - and, in turn,
  TIOCGETA ioctls - when parsing nsswitch.conf(5).
  
  Reviewed by:	imp, markj
  Approved by:	re (gjb)
  MFC after:	2 weeks
  Sponsored by:	DARPA, AFRL
  Differential Revision:	https://reviews.freebsd.org/D17564

Modified:
  head/lib/libc/net/nslexer.l

Modified: head/lib/libc/net/nslexer.l
==============================================================================
--- head/lib/libc/net/nslexer.l	Mon Oct 15 18:56:54 2018	(r339367)
+++ head/lib/libc/net/nslexer.l	Mon Oct 15 19:48:36 2018	(r339368)
@@ -50,6 +50,7 @@ static char *rcsid = 
 
 %}
 
+%option never-interactive
 %option noinput
 %option nounput
 %option yylineno


More information about the svn-src-head mailing list