commit | fcf89d05404dafcde581d44dfa89bd8c8def27f9 | [log] [tgz] |
---|---|---|
author | Reinette Chatre <reinette.chatre@intel.com> | Thu Jul 09 10:33:38 2009 -0700 |
committer | John W. Linville <linville@tuxdriver.com> | Fri Jul 24 15:05:10 2009 -0400 |
tree | aee13469f4b28bcb238d31b5760d9568b70999fc | |
parent | f5ad69fa47e7b204d0032d569812544cd9a351fb [diff] |
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 <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>