<table><tr><td style="">nibags edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-fbrvxprr6kuc4nj/">(Show Details)</a><br />nibags added reviewers: dhaumann, cullmann, Framework: Syntax Highlighting.<br />nibags changed the visibility from "No One" to "Public (No Login Required)".<br />nibags changed the edit policy from "No One" to "All Users".<br />nibags added a dependency: D15089: Add syntax highlighting for SELinux kernel policy language.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11945">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">Depends on D15089<br />
<br />
Remove code incorporated in the `selinux.xml` file (which is accessed by IncludeRules). In addition, this improves the highlight of regular expressions.<br />
<br />
**SELinux CIL Policies**:<br />
* Moves to "selinux.xml" access vectors permissions and filesystem (keywords), the highlighting of IPs and RegExp, etc. In addition, this adds Android permissions and improve IPv6 detection.<br />
* Improves the highlighting of file contexts (now "type" is highlighted with a different color).<br />
* Fix permissions list in "ioctl" kind (permissionx) and "call" statements. Although this is not completely resolved, for example, it is difficult to know if the keyword "call", at the beginning of a block, is a statement or a permission.<br />
* Add "sctp" protocol keyword and policy capabilities keywords (defined in "selinux.xml").<br />
<br />
**SELinux File Context**:<br />
* Move to "selinux.xml" functions, RegExp, comments, quotes of macros, etc.<br />
* Simplify code.<br />
* Improves the detection of file contexts. Now the detection of valid contexts and valid levels/ranges is more accurate.<br />
* Add keywords from the Reference Policy, built-in in M4 and some relevant statements (defined in "selinux.xml").<br />
* Add some file names (in "extensions") of policy configuration files (Ex: "service_contexts" & "property_contexts" are configuration files for Android policies).<br />
<br />
NOTE: I included the changes in this old diff that I duplicated by mistake in D14526 (originally it contained the changes to SELinux that are here).</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11945">https://phabricator.kde.org/D11945</a></div></div><br /><div><strong>To: </strong>nibags, dhaumann, cullmann, Framework: Syntax Highlighting<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, bmortimer, michaelh, genethomas, kevinapavew, ngraham, bruns, demsking, cullmann, vkrause, sars, dhaumann<br /></div>