diff options
author | kaichieh <kaichieh@google.com> | 2017-08-31 22:11:16 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2017-11-29 18:17:19 +0800 |
commit | fffa6d238a31ac5e7b30a6e1d852c8c2cc22af1d (patch) | |
tree | dda083c8338c2724050540dff4d921372857feee /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e72b6f0d3113c84df6d9113609942ef5d9b4e34e (diff) |
Add odm sepolicy support to SELinuxMMAC.java
Currently there are two mac permission files:
- /system/etc/selinux/plat_mac_permissions.xml
- /vendor/etc/selinux/nonplat_mac_permissions.xml
The change renames nonplat_mac_permissions.xml to vendor_mac_permissions.xml.
It also adds odm_mac_permissions.xml but allows it to be optional:
- /system/etc/selinux/plat_mac_permissions.xml
- /vendor/etc/selinux/vendor_mac_permissions.xml
- /odm/etc/selinux/odm_mac_permissions.xml (optional)
Also cleans up comments to reflect the change.
Bug: 64240127
Test: boot sailfish normally without odm
Test: boot another device having odm
Change-Id: I9c8cb6feb9ee51d6fe83e324bc05aebaa10b4a24
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions