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:
parent
8762a73f1b
commit
85f9b1e5bc
17 changed files with 30 additions and 34 deletions
10
camera/sepolicy/vendor/init.camera.set-interrupts-ownership.te
vendored
Normal file
10
camera/sepolicy/vendor/init.camera.set-interrupts-ownership.te
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
type init-camera-set-interrupts-ownership, domain;
|
||||
type init-camera-set-interrupts-ownership_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(init-camera-set-interrupts-ownership)
|
||||
|
||||
allow init-camera-set-interrupts-ownership vendor_toolbox_exec:file rx_file_perms;
|
||||
allow init-camera-set-interrupts-ownership proc_interrupts:file r_file_perms;
|
||||
allow init-camera-set-interrupts-ownership proc_irq:dir r_dir_perms;
|
||||
allow init-camera-set-interrupts-ownership proc_irq:file { r_file_perms setattr };
|
||||
allow init-camera-set-interrupts-ownership self:capability { chown setuid setgid };
|
Loading…
Add table
Add a link
Reference in a new issue