Files
oxmc a951846e33 sepolicy: rely on built-in vendor_configs_file instead of a custom type
The custom pawletcache_vendor_config_file type/label tripped Treble's
coredomain-can't-read-/vendor neverallow, since a hand-rolled
vendor_file_type subtype isn't in that rule's exception list. Dropping the
override lets /vendor/etc/pawletcache fall under AOSP's default
vendor_configs_file labeling, which every domain already has blanket read
access to.
2026-08-15 16:10:26 -07:00

10 lines
558 B
Plaintext

/data/misc/pawletcache(/.*)? u:object_r:pawletcache_policy_file:s0
# OEM/vendor-baked default policy — see vendor-config/README.md. No custom
# type/label needed: this falls under AOSP's default /vendor/etc(/.*)? ->
# vendor_configs_file file_contexts pattern, and every domain already has
# blanket read access to vendor_configs_file (system/sepolicy/private/
# domain.te). A custom vendor_file_type subtype here would trip the
# coredomain-can't-read-/vendor neverallow, since it isn't in that rule's
# exception list the way vendor_configs_file is.