Add shared config for Lyric camera HAL.
The config needs to be moved here to support future PDK builds where the LyricCameraHAL directory will be absent. Bug: 280124102 Test: presubmit Change-Id: If967c3db8bb94cadd761ee19b7665db8b7e4b305
This commit is contained in:
parent
47815b3e2a
commit
eea841f1cd
4 changed files with 119 additions and 1 deletions
10
camera/sepolicy/init.camera.set-interrupts-ownership.te
Normal file
10
camera/sepolicy/init.camera.set-interrupts-ownership.te
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