summaryrefslogtreecommitdiffstats
path: root/drivers/net/pppol2tp.c
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2009-07-09 10:33:38 -0700
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:10 -0400
commitfcf89d05404dafcde581d44dfa89bd8c8def27f9 (patch)
treeaee13469f4b28bcb238d31b5760d9568b70999fc /drivers/net/pppol2tp.c
parentf5ad69fa47e7b204d0032d569812544cd9a351fb (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/net/pppol2tp.c')
0 files changed, 0 insertions, 0 deletions