aboutsummaryrefslogtreecommitdiffstats
path: root/selinux/orientationd.te
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-04-04 16:23:21 +0200
committerRoberto Gibellini <gibellini.roberto@gmail.com>2016-04-05 14:32:20 -0700
commitdb70d22263602fb90fffdfa277eff287c3fee757 (patch)
treea1aca3140c3d7e44959e7567bf9a7304ad116838 /selinux/orientationd.te
parentf29e5e4bf0661a744456580ec17033170eee4aa5 (diff)
downloaddevice_samsung_kona-common-db70d22263602fb90fffdfa277eff287c3fee757.zip
device_samsung_kona-common-db70d22263602fb90fffdfa277eff287c3fee757.tar.gz
device_samsung_kona-common-db70d22263602fb90fffdfa277eff287c3fee757.tar.bz2
kona : MM sepolicy
Change-Id: Ib7816ea15871cc75d8cd68a5d0cbcf5e6fe66c18
Diffstat (limited to 'selinux/orientationd.te')
-rw-r--r--selinux/orientationd.te7
1 files changed, 7 insertions, 0 deletions
diff --git a/selinux/orientationd.te b/selinux/orientationd.te
new file mode 100644
index 0000000..21caaa4
--- /dev/null
+++ b/selinux/orientationd.te
@@ -0,0 +1,7 @@
+type orientationd, domain;
+type orientationd_exec, exec_type, file_type;
+init_daemon_domain(orientationd)
+domain_trans(init, rootfs, orientationd)
+
+allow orientationd input_device:chr_file { write read ioctl open };
+allow orientationd input_device:dir { search read open };