Marcus Meissner
82f2d29446
- update to 2.1.12 * Fix errors found by coverity * implement default type policy syntax * Free allocated memory when clean up / exit. - changes in checkpolicy-rhat.patch: * original hunk was merged upstream * space should be allowed for file trans names OBS-URL: https://build.opensuse.org/request/show/162365 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/checkpolicy?expand=0&rev=22
12 lines
472 B
Diff
12 lines
472 B
Diff
--- checkpolicy/policy_scan.l
|
|
+++ checkpolicy/policy_scan.l
|
|
@@ -240,7 +240,7 @@ HIGH { return(HIGH); }
|
|
low |
|
|
LOW { return(LOW); }
|
|
"/"({alnum}|[_\.\-/])* { return(PATH); }
|
|
-\"({alnum}|[_\.\-\+\~])+\" { return(FILENAME); }
|
|
+\"({alnum}|[_\.\-\+\~ ])+\" { return(FILENAME); }
|
|
{letter}({alnum}|[_\-])*([\.]?({alnum}|[_\-]))* { return(IDENTIFIER); }
|
|
{alnum}*{letter}{alnum}* { return(FILESYSTEM); }
|
|
{digit}+|0x{hexval}+ { return(NUMBER); }
|