diff options
author | Bowgo Tsai <bowgotsai@google.com> | 2019-08-28 17:56:51 +0800 |
---|---|---|
committer | Bowgo Tsai <bowgotsai@google.com> | 2019-09-20 18:20:21 +0800 |
commit | f016f256b5c86ddf74705c3d4614c52abe6a5ca6 (patch) | |
tree | 69d3983d3f2ccd48f64cd501848009c1c4e00125 /libutils/String16.cpp | |
parent | c00229c34a86ea06054a56566d6b89528f4cf3c8 (diff) |
Separate system_ext_sepolicy.cil out of system sepolicy
Currently system sepolicy can be extended via:
- BOARD_PLAT_PUBLIC_SEPOLICY_DIR
- BOARD_PLAT_PRIVATE_SEPOLICY_DIR
To support having a single shared core system sepolicy, those
customization should be moved to the newly added system_ext partition.
System-ext-specific sepolicy files will be installed into
/system_ext/etc/selinux/*. system_ext_sepolicy.cil is merged into
precompiled_sepolicy at build-time. In case precompiled_sepolicy can't
be used (e.g. system-only-ota), the init will merge this file with
the rest of the sepolicy at runtime.
Bug: 137712473
Test: boot aosp_crosshatch with system_ext_sepolicy.cil
Test: boot aosp_crosshatch without system_ext_sepolicy.cil
Change-Id: Ib37622271b559d65462de99ff424be831004508a
Diffstat (limited to 'libutils/String16.cpp')
0 files changed, 0 insertions, 0 deletions