mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sm6150-common
synced 2026-01-27 12:07:36 +00:00
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:
3
sepolicy/vendor/property_contexts
vendored
3
sepolicy/vendor/property_contexts
vendored
@@ -12,6 +12,9 @@ ro.boot.fpsensor 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
|
||||
|
||||
# RIL
|
||||
ro.vendor.ril.oem.wifimac u:object_r:vendor_radio_prop:s0
|
||||
|
||||
# Telephony
|
||||
ro.vendor.oem.imei u:object_r:vendor_deviceid_prop:s0
|
||||
ro.vendor.oem.meid u:object_r:vendor_deviceid_prop:s0
|
||||
|
||||
2
sepolicy/vendor/wcnss_service.te
vendored
2
sepolicy/vendor/wcnss_service.te
vendored
@@ -1,2 +1,4 @@
|
||||
allow vendor_wcnss_service vendor_data_file:dir create_dir_perms;
|
||||
allow vendor_wcnss_service vendor_data_file:file create_file_perms;
|
||||
|
||||
set_prop(vendor_wcnss_service, vendor_radio_prop)
|
||||
|
||||
Reference in New Issue
Block a user