aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2015-10-12 18:09:12 -0700
committerGreg Kroah-Hartman <[email protected]>2015-10-17 22:09:03 -0700
commit6713e8fb541656d00249dca6627395b461c39ece (patch)
treedeb11dca54f169a638e03dfa9c95b5de9bf32a6d /net/unix/af_unix.c
parent6db6652abc3d81e155b6c8740065e9a4927825d9 (diff)
debugfs: Add read-only/write-only bool file ops
There aren't any read-only or write-only bool file ops, but there is a caller of debugfs_create_bool() 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 <[email protected]> Reviewed-by: Viresh Kumar <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions