diff options
author | kaichieh <kaichieh@google.com> | 2017-08-31 22:07:19 +0800 |
---|---|---|
committer | kaichieh <kaichieh@google.com> | 2017-09-01 18:13:29 +0800 |
commit | eef4cd7d08db22a93503936b58f3ed372a383dad (patch) | |
tree | 873497b7539c7369afded97426c79c4de9a3cdd2 /init/sigchld_handler.cpp | |
parent | 815f74a759c56f6bbd75818a6ae6d7f7d4672e3a (diff) |
Add odm sepolicy support to selinux.cpp
init: support loading odm sepolicy
Currently init merges two sepolicy cil files:
- /system/etc/selinux/plat_sepolicy.cil
- /vendor/etc/selinux/nonplat_sepolicy.cil
This change replaces nonplat_sepolicy.cil with the following two files:
- /vendor/etc/selinux/declaration/nonplat_declaration.cil
- /vendor/etc/selinux/vender_sepolicy.cil
And support merging another default (but optional):
- /odm/etc/selinux/odm_sepolicy.cil.
Bug: 64240127
Test: boot sailfish normally without odm.cil
Test: boot another device having odm.cil
Change-Id: I0b7f8c656c73ddb0fd46f2af3c625d7c81566f2f
Diffstat (limited to 'init/sigchld_handler.cpp')
0 files changed, 0 insertions, 0 deletions