summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-16 22:50:47 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-02-16 22:50:47 +0100
commitec87bcd107d94950258a0c6ebb78bb56c09214c8 (patch)
tree16143437d1a47eace16e214f77337fd225b25f14
parent8f0313215eb8643c71a692cc2318a1440d1ab0a9 (diff)
downloaddevice_samsung_i9300-ec87bcd107d94950258a0c6ebb78bb56c09214c8.zip
device_samsung_i9300-ec87bcd107d94950258a0c6ebb78bb56c09214c8.tar.gz
device_samsung_i9300-ec87bcd107d94950258a0c6ebb78bb56c09214c8.tar.bz2
selinux: allow to write the firmware files from the recoveryreplicant-6.0-alpha-0004replicant-6.0-alpha-0003
also add gitignore Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-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 };
+')