diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2018-01-04 16:35:10 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2018-01-18 14:39:50 +0800 |
commit | 70e4d199358377f559c5232e1785d76c97b96ff6 (patch) | |
tree | 17d505f84eced49a6c5be3c3789d9691afb75f47 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2fef505e1e41571954f608516745dc1874b5c657 (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: I87d01215a65e75bf33659ed03797ffda5393d5a4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions