linux/fs/debugfs
Stephen Boyd 6db6652abc 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>
2015-10-17 22:09:03 -07:00
..
file.c debugfs: Add read-only/write-only size_t file ops 2015-10-17 22:09:03 -07:00
inode.c debugfs: document that debugfs_remove*() accepts NULL and error values 2015-10-04 11:36:07 +01:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00