hal_memtrack: Add sepolicy for memtrack service. am: 0a924a6e1a
am: bd85244dbc
Change-Id: Ic51c427a7812c39b7965eb8e6dfdcadb8f3499ab
This commit is contained in:
commit
3aca62504d
4 changed files with 10 additions and 0 deletions
|
@ -223,6 +223,7 @@
|
|||
/system/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_exec:s0
|
||||
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
|
||||
/system/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_exec:s0
|
||||
/system/bin/hw/android\.hardware\.memtrack@1\.0-service u:object_r:hal_memtrack_exec:s0
|
||||
/system/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_exec:s0
|
||||
/system/bin/hw/android\.hardware\.power@1\.0-service u:object_r:hal_power_exec:s0
|
||||
/system/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_exec:s0
|
||||
|
|
2
private/hal_memtrack.te
Normal file
2
private/hal_memtrack.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# may be started by init
|
||||
init_daemon_domain(hal_memtrack)
|
6
public/hal_memtrack.te
Normal file
6
public/hal_memtrack.te
Normal file
|
@ -0,0 +1,6 @@
|
|||
# memtrack subsystem
|
||||
type hal_memtrack, domain;
|
||||
type hal_memtrack_exec, exec_type, file_type;
|
||||
|
||||
# hwbinder access
|
||||
hwbinder_use(hal_memtrack);
|
|
@ -149,6 +149,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt };
|
|||
binder_use(system_server)
|
||||
binder_call(system_server, hal_boot)
|
||||
binder_call(system_server, hal_light)
|
||||
binder_call(system_server, hal_memtrack)
|
||||
binder_call(system_server, hal_power)
|
||||
binder_call(system_server, hal_vibrator)
|
||||
binder_call(system_server, hal_vr)
|
||||
|
|
Loading…
Reference in a new issue