Move camera's coredomain sepolicy to product

Because they are installed to product partition and it's Treble
violation to assign them with vendor sepolicy

Bug: 296512192
Test: lunch panther and build
Change-Id: I2d2c2a8027eed2b3e2ee1a78d629d44b99867128
This commit is contained in:
Inseob Kim 2023-09-05 13:13:01 +09:00
parent 8762a73f1b
commit 85f9b1e5bc
17 changed files with 30 additions and 34 deletions

5
camera/sepolicy/vendor/file_contexts vendored Normal file
View file

@ -0,0 +1,5 @@
/vendor/bin/dump/dump_camera u:object_r:dump_camera_exec:s0
/vendor/bin/init\.camera\.set-interrupts-ownership u:object_r:init-camera-set-interrupts-ownership_exec:s0
# Data
/data/vendor/camera(/.*)? u:object_r:vendor_camera_data_file:s0