344fc109e9
Add SELinux MAC for the service manager actions list
and find. Add the list and find verbs to the
service_manager class. Add policy requirements for
service_manager to enforce policies to binder_use
macro.
(cherry picked from commit b8511e0d98
)
Change-Id: I980d4a8acf6a0c6e99a3a7905961eb5564b1be15
17 lines
442 B
Text
17 lines
442 B
Text
# bootanimation oneshot service
|
|
type bootanim, domain;
|
|
type bootanim_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(bootanim)
|
|
|
|
binder_use(bootanim)
|
|
binder_call(bootanim, surfaceflinger)
|
|
|
|
allow bootanim gpu_device:chr_file rw_file_perms;
|
|
|
|
# /oem access
|
|
allow bootanim oemfs:dir search;
|
|
|
|
# Audited locally.
|
|
service_manager_local_audit_domain(bootanim)
|
|
auditallow bootanim { service_manager_type -surfaceflinger_service }:service_manager find;
|