From: <jwc...@us...> - 2008-05-05 15:12:30
|
Revision: 2878 http://selinux.svn.sourceforge.net/selinux/?rev=2878&view=rev Author: jwcarter Date: 2008-05-05 08:12:17 -0700 (Mon, 05 May 2008) Log Message: ----------- Fixes a regression in the policy compilier from when ipv4 parsing was added. This patch expresses the fact that a valid version number can look like an IPv4 address. Modified Paths: -------------- trunk/checkpolicy/policy_parse.y Modified: trunk/checkpolicy/policy_parse.y =================================================================== --- trunk/checkpolicy/policy_parse.y 2008-05-05 14:45:13 UTC (rev 2877) +++ trunk/checkpolicy/policy_parse.y 2008-05-05 15:12:17 UTC (rev 2878) @@ -723,6 +723,7 @@ ; version_identifier : VERSION_IDENTIFIER { if (insert_id(yytext,0)) return -1; } + | ipv4_addr_def /* version can look like ipv4 address */ ; avrules_block : avrule_decls avrule_user_defs ; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |