aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/scd.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/scd.te')
-rw-r--r--sepolicy/scd.te8
1 files changed, 8 insertions, 0 deletions
diff --git a/sepolicy/scd.te b/sepolicy/scd.te
new file mode 100644
index 0000000..6207541
--- /dev/null
+++ b/sepolicy/scd.te
@@ -0,0 +1,8 @@
+init_daemon_domain(scd)
+
+allow scd scd_data_file:dir create_dir_perms;
+allow scd scd_data_file:file create_file_perms;
+allow scd sysfs_rtc:dir search;
+allow scd sysfs_rtc:file r_file_perms;
+allow scd camera_socket:dir rw_dir_perms;
+allow scd camera_socket:sock_file create_file_perms;