summaryrefslogtreecommitdiffstats
path: root/scripts/xen-hypercalls.sh
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2015-10-13 03:09:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-18 07:09:03 +0200
commit6db6652abc3d81e155b6c8740065e9a4927825d9 (patch)
tree3bb5b961cf76c274ece5bea370df4f6e1f873f42 /scripts/xen-hypercalls.sh
parentdebugfs: Add read-only/write-only x64 file ops (diff)
downloadlinux-6db6652abc3d81e155b6c8740065e9a4927825d9.tar.xz
linux-6db6652abc3d81e155b6c8740065e9a4927825d9.zip
debugfs: Add read-only/write-only size_t file ops
There aren't any read-only or write-only size_t file ops, but there is a caller of debugfs_create_size_t() that calls it with mode equal to 0400. 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 'scripts/xen-hypercalls.sh')
0 files changed, 0 insertions, 0 deletions