diff options
author | Georg Veichtlbauer <georg@vware.at> | 2022-10-15 00:22:01 +0200 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2023-06-13 00:20:25 +0800 |
commit | 7c3abc61c81c3c17716a74e2cbd8af6910ee25b7 (patch) | |
tree | 072acdf70b22d53b00cfbbbb86035d7c62d7059f | |
parent | fc92326b1f01a40c5d011de4308fbe911cbaa6b5 (diff) |
sepolicy_vndr: Remove levelFrom attribute for poweroffalarm_app
levelFrom is used to determine the level (sensitivity + categories)
for MLS/MCS. If set to all, level is determined from both UID and
user ID. This is bad for poweroffalarm, as it needs to be able to
write to /persist/alarm/data which has a context without mls_level:
u:object_r:persist_alarm_file:s0
instead of
u:object_r:persist_alarm_file:s0:c0,c256,c512,c768
Change-Id: I9a8b706cdedc090281e4b5542eb34816b7ff338e
-rw-r--r-- | legacy/vendor/common/seapp_contexts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/vendor/common/seapp_contexts b/legacy/vendor/common/seapp_contexts index bced83e2..bc4a01c9 100644 --- a/legacy/vendor/common/seapp_contexts +++ b/legacy/vendor/common/seapp_contexts @@ -48,7 +48,7 @@ user=system seinfo=platform name=.imshelperservice domain=imshelper_app type=rad user=system seinfo=platform name=com.qualcomm.qti.perfdump domain=perfdump_app type=system_app_data_file #Add new domain for power off alarm app -user=_app seinfo=platform name=com.qualcomm.qti.poweroffalarm domain=poweroffalarm_app type=app_data_file levelFrom=all +user=_app seinfo=platform name=com.qualcomm.qti.poweroffalarm domain=poweroffalarm_app type=app_data_file #add new domain for qtidataservices user=_app seinfo=platform name=.qtidataservices domain=qtidataservices_app type=app_data_file levelFrom=all |