~ubuntu-branches/ubuntu/maverick/checkpolicy/maverick

« back to all changes in this revision

Viewing changes to policy_scan.l

  • Committer: Bazaar Package Importer
  • Author(s): Manoj Srivastava
  • Date: 2009-10-15 23:10:12 UTC
  • mfrom: (1.1.12 upstream) (2.2.3 sid)
  • Revision ID: james.westby@ubuntu.com-20091015231012-hfedduu4ls8l720m
Tags: 2.0.20-1
New upstream point release. Add support for building Xen policies from
Paul Nuzzi. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
169
169
NETIFCON                        { return(NETIFCON);}
170
170
nodecon |                     
171
171
NODECON                         { return(NODECON);}
 
172
pirqcon |
 
173
PIRQCON                         { return(PIRQCON);}
 
174
iomemcon |
 
175
IOMEMCON                        { return(IOMEMCON);}
 
176
ioportcon |
 
177
IOPORTCON                       { return(IOPORTCON);}
 
178
pcidevicecon |
 
179
PCIDEVICECON                    { return(PCIDEVICECON);}
172
180
fs_use_xattr |
173
181
FS_USE_XATTR                    { return(FSUSEXATTR);}
174
182
fs_use_task |
209
217
PERMISSIVE                      { return(PERMISSIVE); }
210
218
"/"({alnum}|[_\.\-/])*          { return(PATH); }
211
219
{letter}({alnum}|[_\-])*([\.]?({alnum}|[_\-]))* { return(IDENTIFIER); }
212
 
{digit}+                        { return(NUMBER); }
 
220
{digit}+|0x{hexval}+            { return(NUMBER); }
213
221
{digit}{1,3}(\.{digit}{1,3}){3}    { return(IPV4_ADDR); }
214
222
{hexval}{0,4}":"{hexval}{0,4}":"({hexval}|[:.])*  { return(IPV6_ADDR); }
215
223
{digit}+(\.({alnum}|[_.])*)?    { return(VERSION_IDENTIFIER); }