Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/selinux-fc.xml
Show All 36 Lines | 36 | SELinux policy files with definitions of file contexts: | |||
---|---|---|---|---|---|
37 | - Labeling Policy Files: *.fc | 37 | - Labeling Policy Files: *.fc | ||
38 | - Policy Config. Files: file_contexts, file_contexts_*, file_contexts.local, | 38 | - Policy Config. Files: file_contexts, file_contexts_*, file_contexts.local, | ||
39 | file_contexts.homedirs, file_contexts.template, homedir_template | 39 | file_contexts.homedirs, file_contexts.template, homedir_template | ||
40 | - SE for Android Policy Config. Files: service_contexts, property_contexts, | 40 | - SE for Android Policy Config. Files: service_contexts, property_contexts, | ||
41 | hwservice_contexts | 41 | hwservice_contexts | ||
42 | - Policy Build Files: initial_sid_contexts, genfs_contexts, fs_use | 42 | - Policy Build Files: initial_sid_contexts, genfs_contexts, fs_use | ||
43 | 43 | | |||
44 | Change log: | 44 | Change log: | ||
45 | * Version 3 [09-Sep-2018]: | ||||
46 | - Update itemData's style for the new Solarized color schemes. | ||||
45 | * Version 2 [28-Aug-2018]: | 47 | * Version 2 [28-Aug-2018]: | ||
46 | - Some improvements. RegExp and some rules are moved to "selinux.xml". | 48 | - Some improvements. RegExp and some rules are moved to "selinux.xml". | ||
47 | - Add statements keywords that use file contexts. | 49 | - Add statements keywords that use file contexts. | ||
48 | * Version 1 [26-Jan-2018, by Nibaldo González]: | 50 | * Version 1 [26-Jan-2018, by Nibaldo González]: | ||
49 | - Initial version. | 51 | - Initial version. | ||
50 | --> | 52 | --> | ||
51 | 53 | | |||
52 | <language name="SELinux File Contexts" | 54 | <language name="SELinux File Contexts" | ||
53 | version="2" | 55 | version="3" | ||
54 | kateversion="5.0" | 56 | kateversion="5.0" | ||
55 | section="Other" | 57 | section="Other" | ||
56 | extensions="*.fc;file_contexts;file_contexts_*;file_contexts.local;file_contexts.homedirs;file_contexts.template;homedir_template;property_contexts;service_contexts;hwservice_contexts;initial_sid_contexts;genfs_contexts;fs_use" | 58 | extensions="*.fc;file_contexts;file_contexts_*;file_contexts.local;file_contexts.homedirs;file_contexts.template;homedir_template;property_contexts;service_contexts;hwservice_contexts;initial_sid_contexts;genfs_contexts;fs_use" | ||
57 | priority="3" | 59 | priority="3" | ||
58 | mimetype="" | 60 | mimetype="" | ||
59 | author="Nibaldo González (nibgonz@gmail.com)" | 61 | author="Nibaldo González (nibgonz@gmail.com)" | ||
60 | license="MIT"> | 62 | license="MIT"> | ||
61 | 63 | | |||
▲ Show 20 Lines • Show All 205 Lines • ▼ Show 20 Line(s) | 64 | <highlighting> | |||
267 | 269 | | |||
268 | <itemDatas> | 270 | <itemDatas> | ||
269 | <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/> | 271 | <itemData name="Normal Text" defStyleNum="dsNormal" spellChecking="false"/> | ||
270 | <itemData name="Text Quoted" defStyleNum="dsString" spellChecking="false"/> | 272 | <itemData name="Text Quoted" defStyleNum="dsString" spellChecking="false"/> | ||
271 | <itemData name="Path" defStyleNum="dsNormal" spellChecking="false"/> | 273 | <itemData name="Path" defStyleNum="dsNormal" spellChecking="false"/> | ||
272 | <itemData name="Variable" defStyleNum="dsVariable" spellChecking="false"/> | 274 | <itemData name="Variable" defStyleNum="dsVariable" spellChecking="false"/> | ||
273 | <itemData name="File Type" defStyleNum="dsKeyword" spellChecking="false"/> | 275 | <itemData name="File Type" defStyleNum="dsKeyword" spellChecking="false"/> | ||
274 | 276 | | |||
275 | <itemData name="User" defStyleNum="dsOthers" spellChecking="false"/> | 277 | <itemData name="User" defStyleNum="dsPreprocessor" spellChecking="false"/> | ||
276 | <itemData name="Role" defStyleNum="dsDecVal" spellChecking="false"/> | 278 | <itemData name="Role" defStyleNum="dsInformation" spellChecking="false"/> | ||
277 | <itemData name="Type Enforcement" defStyleNum="dsDataType" spellChecking="false"/> | 279 | <itemData name="Type Enforcement" defStyleNum="dsAttribute" spellChecking="false"/> | ||
278 | <itemData name="MLS/MCS Level" defStyleNum="dsVerbatimString" spellChecking="false"/> | 280 | <itemData name="MLS/MCS Level" defStyleNum="dsVerbatimString" spellChecking="false"/> | ||
279 | 281 | | |||
280 | <itemData name="Other Keywords" defStyleNum="dsNormal" italic="1" spellChecking="false"/> | 282 | <itemData name="Other Keywords" defStyleNum="dsNormal" italic="1" spellChecking="false"/> | ||
281 | <itemData name="Function" defStyleNum="dsNormal" bold="1" spellChecking="false"/> | 283 | <itemData name="Function" defStyleNum="dsNormal" bold="1" spellChecking="false"/> | ||
282 | <itemData name="Symbol" defStyleNum="dsOperator" spellChecking="false"/> | 284 | <itemData name="Symbol" defStyleNum="dsOperator" spellChecking="false"/> | ||
283 | <itemData name="Number" defStyleNum="dsComment" spellChecking="false"/> | 285 | <itemData name="Number" defStyleNum="dsComment" italic="0" underline="0" spellChecking="false"/> | ||
284 | <itemData name="Text Quoted Open" defStyleNum="dsString" underline="1" spellChecking="false"/> | 286 | <itemData name="Text Quoted Open" defStyleNum="dsString" underline="1" spellChecking="false"/> | ||
285 | </itemDatas> | 287 | </itemDatas> | ||
286 | 288 | | |||
287 | </highlighting> | 289 | </highlighting> | ||
288 | 290 | | |||
289 | <general> | 291 | <general> | ||
290 | <keywords casesensitive="true" additionalDeliminator=""'`" weakDeliminator="*?+.-"/> | 292 | <keywords casesensitive="true" additionalDeliminator=""'`" weakDeliminator="*?+.-"/> | ||
291 | <comments> | 293 | <comments> | ||
292 | <comment name="singleLine" start="#"/> | 294 | <comment name="singleLine" start="#"/> | ||
293 | </comments> | 295 | </comments> | ||
294 | </general> | 296 | </general> | ||
295 | 297 | | |||
296 | </language> | 298 | </language> | ||
297 | <!-- kate: replace-tabs off; tab-width 3; indent-width 3; remove-trailing-spaces mod; dynamic-word-wrap off; --> | 299 | <!-- kate: replace-tabs off; tab-width 3; indent-width 3; remove-trailing-spaces mod; dynamic-word-wrap off; --> |