WLC: service: add sepolicy for property vendor.wlcservice.test
avc: denied { read } for comm="binder:882_3" name="u:object_r:default_prop:s0" dev="tmpfs" ino=172 scontext=u:r:hal_wlcservice:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 Test: authentication test mode Bug: 350830879 Flag: EXEMPT bugfix Change-Id: Ie9f8fc5cce8e62b06931b77aa8cd16a3c9516fb5 Signed-off-by: YiKai Peng <kenpeng@google.com>
This commit is contained in:
parent
2b3c202bd2
commit
e155aa7c04
3 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,8 @@ allow hal_wlcservice vendor_wlc_file:file create_file_perms;
|
|||
allow hal_wlcservice hal_wireless_charger_service:service_manager find;
|
||||
allow hal_wlcservice kmsg_device:chr_file { getattr w_file_perms };
|
||||
|
||||
get_prop(hal_wlcservice, vendor_wlcservice_test_prop)
|
||||
|
||||
binder_call(hal_wlcservice, servicemanager)
|
||||
add_service(hal_wlcservice, hal_wlcservice_service)
|
||||
|
||||
|
|
1
wireless_charger/sepolicy/property.te
Normal file
1
wireless_charger/sepolicy/property.te
Normal file
|
@ -0,0 +1 @@
|
|||
vendor_internal_prop(vendor_wlcservice_test_prop)
|
1
wireless_charger/sepolicy/property_contexts
Normal file
1
wireless_charger/sepolicy/property_contexts
Normal file
|
@ -0,0 +1 @@
|
|||
vendor.wlcservice.test.authentication u:object_r:vendor_wlcservice_test_prop:s0 exact bool
|
Loading…
Add table
Add a link
Reference in a new issue