platform_system_sepolicy/inputflinger.te
Tim Kilbourn 2133c2a167 Update selinux for inputflinger
Allow CAP_BLOCK_SUSPEND
Allow reading /dev/input/*

Change-Id: I869a4921e024702300aa9ecba9cdf84ae2b6edac
2015-03-24 15:31:47 -07:00

15 lines
422 B
Text

# inputflinger
type inputflinger, domain;
type inputflinger_exec, exec_type, file_type;
init_daemon_domain(inputflinger)
binder_use(inputflinger)
binder_service(inputflinger)
binder_call(inputflinger, system_server)
wakelock_use(inputflinger)
allow inputflinger inputflinger_service:service_manager { add find };
allow inputflinger input_device:dir r_dir_perms;
allow inputflinger input_device:chr_file rw_file_perms;