aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2016-09-10 20:31:04 +0000
committerAl Viro <[email protected]>2016-09-15 23:51:55 +0000
commit7798bf2140ebcc36eafec6a4194fffd8d585d471 (patch)
treef3babde13b19f0f95ba1f27d5af1569404722444 /scripts/gcc-plugins/cyc_complexity_plugin.c
parentalpha: get rid of tail-zeroing in __copy_user() (diff)
downloadkernel-7798bf2140ebcc36eafec6a4194fffd8d585d471.tar.gz
kernel-7798bf2140ebcc36eafec6a4194fffd8d585d471.zip
arc: don't leak bits of kernel stack into coredump
On faulting sigreturn we do get SIGSEGV, all right, but anything we'd put into pt_regs could end up in the coredump. And since __copy_from_user() never zeroed on arc, we'd better bugger off on its failure without copying random uninitialized bits of kernel stack into pt_regs... Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions