summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Vander Stoep <jeffv@google.com>2016-02-01 21:33:32 +0000
committerAndroid Partner Code Review <android-gerrit-partner@google.com>2016-02-01 21:33:32 +0000
commit2da0a535f4bef9b16f12b92bf9dfc8df5838989b (patch)
tree51994298fc03e41cf76c4e0175ade3e9f0dfd693
parentd542b57e78b06f9d39c30d6dac447b8342e1cfee (diff)
parenta89e96913c7e40e3c7fa87ba954c1e5e74d957a8 (diff)
downloadhikey-2da0a535f4bef9b16f12b92bf9dfc8df5838989b.tar.gz
Merge "init: allow access to /config for USB setup" into m-betta-dev
-rw-r--r--sepolicy/init.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te
new file mode 100644
index 00000000..cd0bcac4
--- /dev/null
+++ b/sepolicy/init.te
@@ -0,0 +1,4 @@
+# init.hikey.usb.rc writes to /config/* to set up USB
+allow init configfs:dir create_file_perms;
+allow init configfs:file write;
+allow init configfs:lnk_file create;