From owner-freebsd-current@FreeBSD.ORG Sat Dec 3 23:47:20 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83BEA16A41F; Sat, 3 Dec 2005 23:47:20 +0000 (GMT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [70.88.158.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFB2643D6B; Sat, 3 Dec 2005 23:47:19 +0000 (GMT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (winter@sasami.jurai.net [70.88.158.93]) by sasami.jurai.net (8.13.1/8.13.1) with ESMTP id jB3NlCsc045245; Sat, 3 Dec 2005 18:47:18 -0500 (EST) (envelope-from mdodd@FreeBSD.ORG) Date: Sat, 3 Dec 2005 18:47:12 -0500 (EST) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: Bill Paul In-Reply-To: <20051203201944.D8DBF16A420@hub.freebsd.org> Message-ID: <20051203184409.O52622@sasami.jurai.net> References: <20051203201944.D8DBF16A420@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (sasami.jurai.net [70.88.158.93]); Sat, 03 Dec 2005 18:47:18 -0500 (EST) Cc: freebsd-current@FreeBSD.ORG, Robert Watson Subject: Re: Brief Report: IBM/Lenovo z60t notebook with FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 23:47:20 -0000 On Sat, 3 Dec 2005, Bill Paul wrote: >> >> [5211.reg.security] >> "D:ARAI(A;;GA;;;BA)(A;;GA;;;SY)(A;CI;GA;;;IO) > > I'm not sure how to fix the lex/yacc parser to avoid this. Suggestions > welcome. For now, I just edit the .inf file too. I'm not sure if this patch causes any collateral damage, but it appears to work for my trivial tests. Index: inf-token.l =================================================================== RCS file: /home/cvs/src/usr.sbin/ndiscvt/inf-token.l,v retrieving revision 1.3 diff -u -u -r1.3 inf-token.l --- inf-token.l 11 Jan 2004 21:10:35 -0000 1.3 +++ inf-token.l 3 Dec 2005 23:43:54 -0000 @@ -116,7 +116,7 @@ yylval.str = strdup(yytext+1); return SECTION; } -[a-zA-Z0-9%&\{\}\-\.\/_\\\*]+ { +[a-zA-Z0-9%&\{\}\-\.\/_\\\*\"\:\;\(\)]+ { yylval.str = strdup(yytext); return WORD; }