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

(cherrypicked from commit 2133c2a167)

Change-Id: I869a4921e024702300aa9ecba9cdf84ae2b6edac
2015-04-01 11:29:29 -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;