organize confirmationui settings
Bug: 190331547 Bug: 190331370 Test: build ROM and make sure file and sepolicy is still there Change-Id: I4cabf9280ab5e21038bcb72615799b7ed0fb1670
This commit is contained in:
parent
d9876fd266
commit
d77bc5a970
6 changed files with 5 additions and 4 deletions
1
confirmationui/device.te
Normal file
1
confirmationui/device.te
Normal file
|
@ -0,0 +1 @@
|
|||
type tui_device, dev_type;
|
4
confirmationui/file_contexts
Normal file
4
confirmationui/file_contexts
Normal file
|
@ -0,0 +1,4 @@
|
|||
/vendor/bin/securedpud\.slider u:object_r:securedpud_slider_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.confirmationui@1\.0-service\.trusty\.vendor u:object_r:hal_confirmationui_default_exec:s0
|
||||
|
||||
/dev/tui-driver u:object_r:tui_device:s0
|
13
confirmationui/hal_confirmationui.te
Normal file
13
confirmationui/hal_confirmationui.te
Normal file
|
@ -0,0 +1,13 @@
|
|||
allow hal_confirmationui_default tee_device:chr_file rw_file_perms;
|
||||
|
||||
binder_call(hal_confirmationui_default, keystore)
|
||||
|
||||
vndbinder_use(hal_confirmationui_default)
|
||||
binder_call(hal_confirmationui_default, citadeld)
|
||||
allow hal_confirmationui_default citadeld_service:service_manager find;
|
||||
|
||||
allow hal_confirmationui_default input_device:chr_file rw_file_perms;
|
||||
allow hal_confirmationui_default input_device:dir r_dir_perms;
|
||||
|
||||
allow hal_confirmationui_default dmabuf_system_heap_device:chr_file r_file_perms;
|
||||
allow hal_confirmationui_default ion_device:chr_file r_file_perms;
|
9
confirmationui/securedpud.slider.te
Normal file
9
confirmationui/securedpud.slider.te
Normal file
|
@ -0,0 +1,9 @@
|
|||
type securedpud_slider, domain;
|
||||
type securedpud_slider_exec, exec_type, vendor_file_type, file_type;
|
||||
|
||||
init_daemon_domain(securedpud_slider)
|
||||
|
||||
allow securedpud_slider dmabuf_heap_device:chr_file r_file_perms;
|
||||
allow securedpud_slider ion_device:chr_file r_file_perms;
|
||||
allow securedpud_slider tee_device:chr_file rw_file_perms;
|
||||
allow securedpud_slider tui_device:chr_file rw_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue