summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--selinux/recovery.te7
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b25c15b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*~
diff --git a/selinux/recovery.te b/selinux/recovery.te
new file mode 100644
index 0000000..531f480
--- /dev/null
+++ b/selinux/recovery.te
@@ -0,0 +1,7 @@
+recovery_only(`
+
+# firmware files
+allow recovery firmware_exynos:dir { create setattr relabelto relabelfrom };
+allow recovery firmware_exynos:file { create write open setattr relabelto relabelfrom };
+allow recovery firmware_mfc:file { create write open setattr relabelto relabelfrom };
+')