Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2018 19:48:36 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r339368 - head/lib/libc/net
Message-ID:  <201810151948.w9FJmaER054878@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810151948.w9FJmaER054878>