aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2015-10-12 18:09:10 -0700
committerGreg Kroah-Hartman <[email protected]>2015-10-17 22:09:03 -0700
commit82b7d4fb4e0bcb8fe0d49edea21f595664f83c2f (patch)
treecebd4d096eac9f6227049cde0ef2444cebe09409 /net/unix/af_unix.c
parentb97f679954b7771183f3c0a6a47b17e185e64a8a (diff)
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 <[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