From: Reinette Chatre Date: Thu, 9 Jul 2009 17:33:38 +0000 (-0700) Subject: iwlwifi: fix permissions on debugfs files X-Git-Tag: v2.6.32-rc1~703^2~544^2~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcf89d05404dafcde581d44dfa89bd8c8def27f9;p=pandora-kernel.git iwlwifi: fix permissions on debugfs files debugfs files are created with 644 permissions which gives everybody read access. This presents a security issue if a user opens the file and holds it open at the time the driver removes the file. At this point invalid memory will be accessed. Fix this by only allowing root to read debugfs files. Signed-off-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed