diff options
| author | Reinette Chatre <[email protected]> | 2009-07-09 10:33:38 -0700 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2009-07-24 15:05:10 -0400 |
| commit | fcf89d05404dafcde581d44dfa89bd8c8def27f9 (patch) | |
| tree | aee13469f4b28bcb238d31b5760d9568b70999fc /include/linux/console_struct.h | |
| 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 <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'include/linux/console_struct.h')
0 files changed, 0 insertions, 0 deletions