aboutsummaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-09-11 16:12:27 -0700
committerJP Abgrall <jpa@google.com>2011-09-11 16:12:27 -0700
commit8e3ff70444ac919d0b70eaa1fbe97a3ef5bdb9ef (patch)
tree02d922047c4bf146713913e18a5bc892849dfd57 /rootdir/init.rc
parent1ac40f4ef18799e252115d9c9ad17396ffb68f3d (diff)
downloadsystem_core-8e3ff70444ac919d0b70eaa1fbe97a3ef5bdb9ef.tar.gz
system_core-8e3ff70444ac919d0b70eaa1fbe97a3ef5bdb9ef.tar.bz2
system_core-8e3ff70444ac919d0b70eaa1fbe97a3ef5bdb9ef.zip
init.rc: allow all users to open the qtaguid misc dev
The netfilter xt_qtaguid module uses a misc dev so that processes that use the module can be tracked. Every process that does socket tagging must open that dev. Change-Id: I6af3e0f0180637b14455dd9607724523f142c402
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index e189d0be..7b151f27 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -84,6 +84,10 @@ loglevel 3
# 5.0 %
write /dev/cpuctl/bg_non_interactive/cpu.shares 52
+# Allow everybody to read the xt_qtaguid resource tracking misc dev.
+# This is needed by any process that uses socket tagging.
+ chmod 0644 /dev/xt_qtaguid
+
on fs
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint