Vendor domains must not use Binder
On PRODUCT_FULL_TREBLE devices, non-vendor domains (except vendor apps) are not permitted to use Binder. This commit thus: * groups non-vendor domains using the new "coredomain" attribute, * adds neverallow rules restricting Binder use to coredomain and appdomain only, and * temporarily exempts the domains which are currently violating this rule from this restriction. These domains are grouped using the new "binder_in_vendor_violators" attribute. The attribute is needed because the types corresponding to violators are not exposed to the public policy where the neverallow rules are. Test: mmm system/sepolicy Test: Device boots, no new denials Test: In Chrome, navigate to ip6.me, play a YouTube video Test: YouTube: play a video Test: Netflix: play a movie Test: Google Camera: take a photo, take an HDR+ photo, record video with sound, record slow motion video with sound. Confirm videos play back fine and with sound. Bug: 35870313 Change-Id: I0cd1a80b60bcbde358ce0f7a47b90f4435a45c95
Showing
- private/drmserver.te 2 additions, 2 deletionsprivate/drmserver.te
- private/dumpstate.te 2 additions, 2 deletionsprivate/dumpstate.te
- private/ephemeral_app.te 2 additions, 0 deletionsprivate/ephemeral_app.te
- private/fingerprintd.te 2 additions, 2 deletionsprivate/fingerprintd.te
- private/fsck.te 2 additions, 2 deletionsprivate/fsck.te
- private/fsck_untrusted.te 1 addition, 0 deletionsprivate/fsck_untrusted.te
- private/gatekeeperd.te 2 additions, 2 deletionsprivate/gatekeeperd.te
- private/hal_allocator_default.te 1 addition, 1 deletionprivate/hal_allocator_default.te
- private/healthd.te 2 additions, 2 deletionsprivate/healthd.te
- private/hwservicemanager.te 2 additions, 2 deletionsprivate/hwservicemanager.te
- private/idmap.te 1 addition, 0 deletionsprivate/idmap.te
- private/incident.te 2 additions, 0 deletionsprivate/incident.te
- private/incidentd.te 2 additions, 0 deletionsprivate/incidentd.te
- private/init.te 2 additions, 2 deletionsprivate/init.te
- private/inputflinger.te 2 additions, 2 deletionsprivate/inputflinger.te
- private/install_recovery.te 2 additions, 2 deletionsprivate/install_recovery.te
- private/installd.te 2 additions, 2 deletionsprivate/installd.te
- private/isolated_app.te 2 additions, 0 deletionsprivate/isolated_app.te
- private/kernel.te 2 additions, 2 deletionsprivate/kernel.te
- private/keystore.te 2 additions, 2 deletionsprivate/keystore.te
Please register or sign in to comment