diff options
| author | 2016-02-06 02:01:50 -0500 | |
|---|---|---|
| committer | 2016-02-07 17:34:58 -0800 | |
| commit | 49a76d7040b466dd92f198ded4aba3cd3569d48f (patch) | |
| tree | b822965599fb361b9dfc6c62939ea1b194c417e4 /tools/perf/scripts/python/bin | |
| parent | Merge 4.5-rc3 into staging-next (diff) | |
staging/lustre/libcfs: Properly handle debugfs read- and write-only files
It turns out that unlike procfs, debugfs does not really enforce
permissions for root (similar to regular filesystems), so we need
to ensure we are not providing ->write() method to read-only files
and ->read() method for write-only files at registration.
This fixes a couple of crashes on unexpected access.
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
