sensors_start/etc/init/sensors_musl.cfg
cff-gite f8ece5ae8b Add bypass switch permission
Signed-off-by: cff-gite <chenfeifei8@huawei.com>
Change-Id: I31d877b7bd3976f5b78de8764749cf06d5005f1a
2024-07-26 09:56:06 +08:00

20 lines
633 B
INI

{
"services" : [{
"name" : "sensors",
"path" : ["/system/bin/sa_main", "/system/profile/sensors.json"],
"uid" : "sensor",
"gid" : ["sensor", "shell"],
"secon" : "u:r:sensors:s0",
"permission" : [
"ohos.permission.PERMISSION_USED_STATS",
"ohos.permission.GET_SENSITIVE_PERMISSIONS",
"ohos.permission.GET_RUNNING_INFO",
"ohos.permission.GET_BUNDLE_INFO"
],
"permission_acls" : [
"ohos.permission.GET_SENSITIVE_PERMISSIONS"
]
}
]
}