2013-12-11 21:17:53 +01:00
|
|
|
# bootanimation oneshot service
|
2015-12-02 22:29:20 +01:00
|
|
|
type bootanim, domain;
|
2018-09-27 19:21:37 +02:00
|
|
|
type bootanim_exec, system_file_type, exec_type, file_type;
|
2013-12-11 21:17:53 +01:00
|
|
|
|
2017-09-26 21:58:29 +02:00
|
|
|
hal_client_domain(bootanim, hal_configstore)
|
2017-03-22 17:16:49 +01:00
|
|
|
hal_client_domain(bootanim, hal_graphics_allocator)
|
|
|
|
hal_client_domain(bootanim, hal_graphics_composer)
|
|
|
|
|
2013-12-11 21:17:53 +01:00
|
|
|
binder_use(bootanim)
|
|
|
|
binder_call(bootanim, surfaceflinger)
|
2016-06-29 23:14:34 +02:00
|
|
|
binder_call(bootanim, audioserver)
|
2013-12-11 21:17:53 +01:00
|
|
|
|
2017-02-15 13:38:33 +01:00
|
|
|
hwbinder_use(bootanim)
|
|
|
|
|
2013-12-11 21:17:53 +01:00
|
|
|
allow bootanim gpu_device:chr_file rw_file_perms;
|
2014-07-15 08:31:31 +02:00
|
|
|
|
|
|
|
# /oem access
|
|
|
|
allow bootanim oemfs:dir search;
|
2014-09-22 22:03:52 +02:00
|
|
|
allow bootanim oemfs:file r_file_perms;
|
2014-07-26 00:19:47 +02:00
|
|
|
|
2014-09-29 15:18:19 +02:00
|
|
|
allow bootanim audio_device:dir r_dir_perms;
|
|
|
|
allow bootanim audio_device:chr_file rw_file_perms;
|
2014-10-06 20:56:31 +02:00
|
|
|
|
2016-06-29 23:14:34 +02:00
|
|
|
allow bootanim audioserver_service:service_manager find;
|
2014-12-12 01:01:27 +01:00
|
|
|
allow bootanim surfaceflinger_service:service_manager find;
|
2020-05-20 14:29:05 +02:00
|
|
|
allow bootanim surfaceflinger:unix_stream_socket { read write };
|
2015-12-02 22:29:20 +01:00
|
|
|
|
|
|
|
# Allow access to ion memory allocation device
|
|
|
|
allow bootanim ion_device:chr_file rw_file_perms;
|
2021-02-16 06:57:42 +01:00
|
|
|
|
|
|
|
# Allow access to DMA-BUF system heap
|
|
|
|
allow bootanim dmabuf_system_heap_device:chr_file r_file_perms;
|
|
|
|
|
2016-11-14 03:22:31 +01:00
|
|
|
allow bootanim hal_graphics_allocator:fd use;
|
2015-12-02 22:29:20 +01:00
|
|
|
|
2016-10-18 04:58:22 +02:00
|
|
|
# Fences
|
|
|
|
allow bootanim hal_graphics_composer:fd use;
|
|
|
|
|
2015-12-02 22:29:20 +01:00
|
|
|
# Read access to pseudo filesystems.
|
2016-03-31 23:11:50 +02:00
|
|
|
allow bootanim proc_meminfo:file r_file_perms;
|
2015-12-02 22:29:20 +01:00
|
|
|
|
|
|
|
# System file accesses.
|
|
|
|
allow bootanim system_file:dir r_dir_perms;
|