Allow vendor_init to set setupwizard prop

05-16 17:07:33.099472  root   351   351 E init    : Unable to set property 'setupwizard.feature.provisioning_profile_mode' from uid:0 gid:0 pid:352: SELinux permission check failed
05-16 17:07:33.095723  root   352   352 W libc    : Unable to set property "setupwizard.feature.provisioning_profile_mode" to "true": error code: 0x18

Bug: 339918070
Test: manual
Change-Id: Ie1737d7632e11de9750305df4255da55b4a0c426
This commit is contained in:
jimsun 2024-05-17 09:48:34 +08:00
parent f23f1fc4fa
commit 432fb7298d
6 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,2 @@
# Allow to read setupwizard_feature_prop
get_prop(gmscore_app, setupwizard_feature_prop)

View file

@ -0,0 +1,2 @@
# Allow to read setupwizard_feature_prop
get_prop(priv_app, setupwizard_feature_prop)

View file

@ -0,0 +1,2 @@
# setupwizard
setupwizard.feature.provisioning_profile_mode u:object_r:setupwizard_feature_prop:s0

View file

@ -0,0 +1,2 @@
# setupwizard
system_public_prop(setupwizard_feature_prop)