D10136: AppArmor: new keywords, improvements & fixes

Nibaldo González noreply at phabricator.kde.org
Sat Jan 27 11:12:52 UTC 2018


nibags created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
nibags requested review of this revision.

REVISION SUMMARY
  Update the syntax highlighting of AppArmor, after the release of AppArmor 2.12.0. In summary, in this update new keywords are added and the code is revised and improved.
  
  Changes:
  
  - Added missing keywords in flags and network and mount rules. Keywords 'read' and 'write' are placed in the 'base_accesses' list.
  - Added keywords for default abstractions & variables, included in the provided AppArmor policy. The purpose of these is to provide autocomplete suggestions when writing Include rules and variables.
  - Fixes: Comments not allowed within rules and in variable assignment lines. The keywords are sensitive. 'Owner' qualifier is not associated with the file rule.
  - General improvements in the highlighting of Include rules, variables, rlimit rules, file permissions and globbing. The code of the profile names, the transition rules and the end of rules context is simplified.
  
  Regards!

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  apparmor-v4 (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D10136

AFFECTED FILES
  autotests/folding/usr.bin.apparmor-profile-test.fold
  autotests/html/usr.bin.apparmor-profile-test.html
  autotests/input/usr.bin.apparmor-profile-test
  autotests/reference/usr.bin.apparmor-profile-test.ref
  data/syntax/apparmor.xml

To: nibags
Cc: #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180127/a6c8cc35/attachment.html>


More information about the Kde-frameworks-devel mailing list