From 8e3ff70444ac919d0b70eaa1fbe97a3ef5bdb9ef Mon Sep 17 00:00:00 2001 From: JP Abgrall Date: Sun, 11 Sep 2011 16:12:27 -0700 Subject: [PATCH] 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 --- rootdir/init.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootdir/init.rc b/rootdir/init.rc index e189d0be6..7b151f27f 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