Merge "SEPolicy for InputFlinger Service." am: c2f8f67bbf
am: c6fbb6700f
am: e3410f451f
Change-Id: I1d8ee12e44ebcc9be0f5083060a9ec12a2218239
This commit is contained in:
commit
d1d31ce718
3 changed files with 3 additions and 2 deletions
|
@ -89,6 +89,7 @@ allow surfaceflinger permission_service:service_manager find;
|
||||||
allow surfaceflinger power_service:service_manager find;
|
allow surfaceflinger power_service:service_manager find;
|
||||||
allow surfaceflinger vr_manager_service:service_manager find;
|
allow surfaceflinger vr_manager_service:service_manager find;
|
||||||
allow surfaceflinger window_service:service_manager find;
|
allow surfaceflinger window_service:service_manager find;
|
||||||
|
allow surfaceflinger inputflinger_service:service_manager find;
|
||||||
|
|
||||||
|
|
||||||
# allow self to set SCHED_FIFO
|
# allow self to set SCHED_FIFO
|
||||||
|
@ -98,6 +99,7 @@ r_dir_file(surfaceflinger, cgroup)
|
||||||
r_dir_file(surfaceflinger, system_file)
|
r_dir_file(surfaceflinger, system_file)
|
||||||
allow surfaceflinger tmpfs:dir r_dir_perms;
|
allow surfaceflinger tmpfs:dir r_dir_perms;
|
||||||
allow surfaceflinger system_server:fd use;
|
allow surfaceflinger system_server:fd use;
|
||||||
|
allow surfaceflinger system_server:unix_stream_socket { read write };
|
||||||
allow surfaceflinger ion_device:chr_file r_file_perms;
|
allow surfaceflinger ion_device:chr_file r_file_perms;
|
||||||
|
|
||||||
# pdx IPC
|
# pdx IPC
|
||||||
|
|
|
@ -9,7 +9,6 @@ binder_call(inputflinger, system_server)
|
||||||
|
|
||||||
wakelock_use(inputflinger)
|
wakelock_use(inputflinger)
|
||||||
|
|
||||||
add_service(inputflinger, inputflinger_service)
|
|
||||||
allow inputflinger input_device:dir r_dir_perms;
|
allow inputflinger input_device:dir r_dir_perms;
|
||||||
allow inputflinger input_device:chr_file rw_file_perms;
|
allow inputflinger input_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,6 @@ type gatekeeper_service, app_api_service, service_manager_type;
|
||||||
type gpu_service, service_manager_type;
|
type gpu_service, service_manager_type;
|
||||||
type idmap_service, service_manager_type;
|
type idmap_service, service_manager_type;
|
||||||
type iorapd_service, service_manager_type;
|
type iorapd_service, service_manager_type;
|
||||||
type inputflinger_service, service_manager_type;
|
|
||||||
type incident_service, service_manager_type;
|
type incident_service, service_manager_type;
|
||||||
type installd_service, service_manager_type;
|
type installd_service, service_manager_type;
|
||||||
type keystore_service, service_manager_type;
|
type keystore_service, service_manager_type;
|
||||||
|
@ -174,4 +173,5 @@ type wifi_service, app_api_service, system_server_service, service_manager_type;
|
||||||
type wificond_service, service_manager_type;
|
type wificond_service, service_manager_type;
|
||||||
type wifiaware_service, app_api_service, system_server_service, service_manager_type;
|
type wifiaware_service, app_api_service, system_server_service, service_manager_type;
|
||||||
type window_service, system_api_service, system_server_service, service_manager_type;
|
type window_service, system_api_service, system_server_service, service_manager_type;
|
||||||
|
type inputflinger_service, system_api_service, system_server_service, service_manager_type;
|
||||||
type wpantund_service, system_api_service, service_manager_type;
|
type wpantund_service, system_api_service, service_manager_type;
|
||||||
|
|
Loading…
Reference in a new issue