sepolicy_vndr: add sepolicy for power off alarm
Change-Id: Id58c4819ccb51e42158c4af39cf9245f206f9fb9
This commit is contained in:
parent
431046546e
commit
baea66a53f
9
basic/non_plat/power_off_alarm.te
Normal file
9
basic/non_plat/power_off_alarm.te
Normal file
@ -0,0 +1,9 @@
|
||||
type power_off_alarm, domain, mlstrustedsubject;
|
||||
app_domain(power_off_alarm)
|
||||
allow power_off_alarm app_api_service:service_manager find;
|
||||
allow power_off_alarm system_app_data_file:dir create_dir_perms;
|
||||
allow power_off_alarm system_app_data_file:{ file lnk_file } create_file_perms;
|
||||
|
||||
# Purpose : support power-off alarm
|
||||
allow power_off_alarm alarm_device:chr_file rw_file_perms;
|
||||
allow power_off_alarm rtc_device:chr_file rw_file_perms;
|
1
basic/non_plat/seapp_contexts
Normal file
1
basic/non_plat/seapp_contexts
Normal file
@ -0,0 +1 @@
|
||||
user=system isPrivApp=true seinfo=platform name=com.qualcomm.qti.poweroffalarm type=system_app_data_file domain=power_off_alarm levelFrom=user
|
@ -144,11 +144,6 @@ allowxperm system_server proc_perfmgr:file ioctl {
|
||||
# Purpose : MTK wifi hal interface permission
|
||||
binder_call(system_server, mtk_hal_wifi)
|
||||
|
||||
# Date : W19.15
|
||||
# Operation : alarm device permission
|
||||
# Purpose : support power-off alarm
|
||||
allow system_server alarm_device:chr_file rw_file_perms;
|
||||
|
||||
# Date : WK19.7
|
||||
# Operation: Q migration
|
||||
# Purpose : Allow system_server to use ioctl/ioctlcmd
|
||||
|
Loading…
x
Reference in New Issue
Block a user