Merge pull request #231 from eremitein/adb_selinux

Adb selinux
This commit is contained in:
Pierre-Hugues HUSSON 2021-02-15 19:00:33 +01:00 committed by GitHub
commit 57bec6f2ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -8,3 +8,6 @@ allow init userdata_block_device:lnk_file relabelto;
allow vendor_init vendor_init:capability { sys_module }; allow vendor_init vendor_init:capability { sys_module };
allow init system_file:lnk_file create_file_perms; allow init system_file:lnk_file create_file_perms;
#fix adb in some cases
allow init adbd_exec:lnk_file read;

View File

@ -24,6 +24,8 @@ allow system_app default_hisi_hwservice:hwservice_manager { find };
type hal_tp_default, domain; type hal_tp_default, domain;
allow system_app hal_tp_default:binder { call }; allow system_app hal_tp_default:binder { call };
#cam2api
allow system_app vendor_default_prop:property_service { set };
set_prop(system_app, default_prop); set_prop(system_app, default_prop);
set_prop(system_app, exported3_default_prop); set_prop(system_app, exported3_default_prop);