aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorFabian Frederick <[email protected]>2020-05-12 18:19:21 +0000
committerJan Kara <[email protected]>2020-05-13 15:16:57 +0000
commit5e23663b49e1e8ee6b805356259e3062edac5e2b (patch)
tree8ef30910ee1066193afa821953930f1e79e1b6fb /arch/powerpc/lib/code-patching.c
parentfsnotify: Remove proc_fs.h include (diff)
downloadkernel-5e23663b49e1e8ee6b805356259e3062edac5e2b.tar.gz
kernel-5e23663b49e1e8ee6b805356259e3062edac5e2b.zip
fanotify: don't write with size under sizeof(response)
fanotify_write() only aligned copy_from_user size to sizeof(response) for higher values. This patch avoids all values below as suggested by Amir Goldstein and set to response size unconditionally. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Fabian Frederick <[email protected]> Reviewed-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions