Sepolicy: set the property for dataadpl to start on bootup
set the property for dataadpl to start on bootup Change-Id: I04bd132c50330839d26b177bf2ef2774664a2885
This commit is contained in:
parent
d5df8025f1
commit
9723220937
2 changed files with 18 additions and 1 deletions
16
qva/vendor/common/adpl.te
vendored
16
qva/vendor/common/adpl.te
vendored
|
@ -29,3 +29,19 @@ type adpl, domain;
|
|||
type adpl_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(adpl)
|
||||
net_domain(adpl)
|
||||
|
||||
allow adpl { rmnet_device mhi_device ipa_dev }:chr_file rw_file_perms;
|
||||
|
||||
allow adpl self:{
|
||||
socket
|
||||
udp_socket
|
||||
qipcrtr_socket
|
||||
} create_socket_perms_no_ioctl;
|
||||
|
||||
set_prop(adpl, vendor_dataadpl_prop)
|
||||
|
||||
#diag
|
||||
userdebug_or_eng(`
|
||||
diag_use(adpl)
|
||||
allow adpl sysfs_data:file r_file_perms;
|
||||
')
|
||||
|
|
1
qva/vendor/common/init_shell.te
vendored
1
qva/vendor/common/init_shell.te
vendored
|
@ -28,6 +28,7 @@
|
|||
allow qti_init_shell sysfs_npu:file rw_file_perms;
|
||||
set_prop(qti_init_shell, vendor_mdm_helper_prop)
|
||||
set_prop(qti_init_shell, vendor_mmi_prop)
|
||||
set_prop(qti_init_shell, vendor_dataadpl_prop)
|
||||
|
||||
userdebug_or_eng(`
|
||||
# Needed for starting console in userdebug mode
|
||||
|
|
Loading…
Reference in a new issue