summaryrefslogtreecommitdiffstats
path: root/rootdir/ueventd.rc
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@google.com>2016-01-26 23:44:56 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-01-26 23:44:56 +0000
commitfa432b0e2f87e9a029ac0094e5bceaaff258368a (patch)
tree94560a6ddd9688aaa2d40f6302bf729b64bbdb0a /rootdir/ueventd.rc
parentb5eb67ff237f6b0a68fe78a93e8e5d6b75a05a32 (diff)
parent1f0dd2210b4a09fd6272289058a1a306da8ed34d (diff)
downloadsystem_core-fa432b0e2f87e9a029ac0094e5bceaaff258368a.tar.gz
system_core-fa432b0e2f87e9a029ac0094e5bceaaff258368a.tar.bz2
system_core-fa432b0e2f87e9a029ac0094e5bceaaff258368a.zip
Merge "ueventd.rc: Document the different rule formats for /dev and /sys nodes"
Diffstat (limited to 'rootdir/ueventd.rc')
-rw-r--r--rootdir/ueventd.rc7
1 files changed, 7 insertions, 0 deletions
diff --git a/rootdir/ueventd.rc b/rootdir/ueventd.rc
index b735dc38a..6ef491c59 100644
--- a/rootdir/ueventd.rc
+++ b/rootdir/ueventd.rc
@@ -1,6 +1,13 @@
subsystem adf
devname uevent_devname
+# ueventd can only set permissions on device nodes and their associated
+# sysfs attributes, not on arbitrary paths.
+#
+# format for /dev rules: devname mode uid gid
+# format for /sys rules: nodename attr mode uid gid
+# shortcut: "mtd@NN" expands to "/dev/mtd/mtdNN"
+
/dev/null 0666 root root
/dev/zero 0666 root root
/dev/full 0666 root root