From: <ssm...@us...> - 2007-02-20 13:43:42
|
Revision: 2239 http://svn.sourceforge.net/selinux/?rev=2239&view=rev Author: ssmalley Date: 2007-02-20 05:43:22 -0800 (Tue, 20 Feb 2007) Log Message: ----------- Author: Caleb Case Email: cc...@tr... Subject: checkpolicy/policy_parse.y:define_class: allow class identifiers to contain dots Date: Tue, 6 Feb 2007 11:31:20 -0500 Class identifiers are now allowed to contain dots. This facilitates the new dot notation for class names used in metapolicy. Modified Paths: -------------- trunk/checkpolicy/policy_parse.y Modified: trunk/checkpolicy/policy_parse.y =================================================================== --- trunk/checkpolicy/policy_parse.y 2007-02-20 13:40:44 UTC (rev 2238) +++ trunk/checkpolicy/policy_parse.y 2007-02-20 13:43:22 UTC (rev 2239) @@ -930,11 +930,6 @@ yyerror("no class name for class definition?"); return -1; } - if (id_has_dot(id)) { - free(id); - yyerror("class identifiers may not contain periods"); - return -1; - } datum = (class_datum_t *) malloc(sizeof(class_datum_t)); if (!datum) { yyerror("out of memory"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |