summaryrefslogtreecommitdiffstats
path: root/selinux
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 /selinux
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>
Diffstat (limited to 'selinux')
-rw-r--r--selinux/recovery.te7
1 files changed, 7 insertions, 0 deletions
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 };
+')