diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-10-13 04:09:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-18 08:09:03 +0300 |
commit | 82b7d4fb4e0bcb8fe0d49edea21f595664f83c2f (patch) | |
tree | cebd4d096eac9f6227049cde0ef2444cebe09409 /mm/bootmem.c | |
parent | b97f679954b7771183f3c0a6a47b17e185e64a8a (diff) | |
download | linux-82b7d4fb4e0bcb8fe0d49edea21f595664f83c2f.tar.xz |
debugfs: Add read-only/write-only x64 file ops
There aren't any read-only or write-only x64 file ops, but there
is a caller of debugfs_create_x64() that calls it with mode equal
to S_IRUGO. This leads to the possibility of userspace modifying
the file, so let's use the newly created debugfs_create_mode()
helper here to fix this.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions