Skip to content
Snippets Groups Projects
Commit e83b9f03 authored by William Roberts's avatar William Roberts Committed by William C Roberts
Browse files

appdomain: neverallow direct input_device access


Applications should not access /dev/input/* for events, but
rather use events handled via the activity mechanism.

Change-Id: I0182b6be1b7c69d96e4366ba59f14cee67be4beb
Signed-off-by: default avatarWilliam Roberts <william.c.roberts@intel.com>
parent 362d6ff1
No related branches found
No related tags found
No related merge requests found
...@@ -405,3 +405,9 @@ neverallow appdomain { ...@@ -405,3 +405,9 @@ neverallow appdomain {
system_file system_file
tmpfs tmpfs
}:lnk_file no_w_file_perms; }:lnk_file no_w_file_perms;
# Applications should use the activity model for receiving events
neverallow {
appdomain
-shell # bugreport
} input_device:chr_file ~getattr;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment