Subject: Re: Selinux checkpolicy parse error From: Christopher Warner To: Stephen Smalley Cc: selinux@tycho.nsa.gov, cwarner@kernelcode.com In-Reply-To: <1112108330.21058.82.camel@jasmine> References: <1112098232.21770.70.camel@jasmine> <1112115616.4339.103.camel@moss-spartans.epoch.ncsc.mil> <1112108330.21058.82.camel@jasmine> Content-Type: text/plain Date: Wed, 30 Mar 2005 12:32:42 -0500 Message-Id: <1112203962.21076.129.camel@jasmine> Mime-Version: 1.0 Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov > It seems that flex is the problem. Somewhere in the flex series of > patches for redhat/fedora lies a fix for this problem (this in version > 2.5.4). Going through the spec file doesn't necessarily give any direct > info, changelogs are sparse. I'll try to find the the right combo of > patch and update here with whatever works.. Thanks again for the help. > > Christopher Warner It seems that the lex.yy.c that is generated by other versions of flex (non-patched, I'd assume) cause the parsing errors. What happens is that when lex.yy.c is generated by a different version of flex ie: 2.5.31/2.5.4 vanilla or whatever. It causes the bug above (grin). I'd delve into this deeper but i'm 2 days into this and want to move on. lex.yy.c isn't significantly different but it is different enough to cause the respective error. Hope this helps someone. Christopher Warner -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.