From d3450d02c7c1b9c4f304b943a5b79c475909b328 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Mon, 15 Oct 2018 19:48:36 +0000 Subject: [PATCH] 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 --- lib/libc/net/nslexer.l | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/net/nslexer.l b/lib/libc/net/nslexer.l index 17cfef8af7a2..946aace3a8a8 100644 --- a/lib/libc/net/nslexer.l +++ b/lib/libc/net/nslexer.l @@ -50,6 +50,7 @@ static char *rcsid = %} +%option never-interactive %option noinput %option nounput %option yylineno