diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2009-07-09 10:33:38 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 15:05:10 -0400 |
commit | fcf89d05404dafcde581d44dfa89bd8c8def27f9 (patch) | |
tree | aee13469f4b28bcb238d31b5760d9568b70999fc /drivers/firewire | |
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>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions