sm6150-common: sepolicy: Label ro.vendor.ril.oem.wifimac property

[1] - E init    : Unable to set property 'ro.ril.oem.wifimac' from uid:1000 gid:1000 pid:1362: SELinux permission check failed
[2] - W libc    : Unable to set property "ro.ril.oem.wifimac" to "48:87:59:3f:ad:53": error code: 0x18
[3] - W /system/bin/init: type=1107 audit(0.0:61): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=ro.ril.oem.wifimac pid=1362 uid=1000 gid=1000 scontext=u:r:vendor_wcnss_service:s0 tcontext=u:object_r:radio_prop:s0 tclass=property_service permissive=0'

Change-Id: I1acac81964074aeb66e2f17970407ebe9744855f
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: therealmharc <therealmharc@gmail.com>
This commit is contained in:
chrisl7
2024-02-23 14:10:21 +05:30
committed by therealmharc
parent 84d24851b3
commit da6c785129
2 changed files with 5 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ ro.boot.fpsensor u:object_r:vendor_fp_prop:s0
ro.hardware.fp u:object_r:vendor_fp_prop:s0 ro.hardware.fp u:object_r:vendor_fp_prop:s0
vendor.fps_hal. u:object_r:vendor_fp_prop:s0 vendor.fps_hal. u:object_r:vendor_fp_prop:s0
# RIL
ro.vendor.ril.oem.wifimac u:object_r:vendor_radio_prop:s0
# Telephony # Telephony
ro.vendor.oem.imei u:object_r:vendor_deviceid_prop:s0 ro.vendor.oem.imei u:object_r:vendor_deviceid_prop:s0
ro.vendor.oem.meid u:object_r:vendor_deviceid_prop:s0 ro.vendor.oem.meid u:object_r:vendor_deviceid_prop:s0

View File

@@ -1,2 +1,4 @@
allow vendor_wcnss_service vendor_data_file:dir create_dir_perms; allow vendor_wcnss_service vendor_data_file:dir create_dir_perms;
allow vendor_wcnss_service vendor_data_file:file create_file_perms; allow vendor_wcnss_service vendor_data_file:file create_file_perms;
set_prop(vendor_wcnss_service, vendor_radio_prop)