linux_dsm_epyc7002/arch/s390/kernel
Martin Schwidefsky 9dce990d2c s390/ptrace: Preserve previous registers for short regset write
Ensure that if userspace supplies insufficient data to
PTRACE_SETREGSET to fill all the registers, the thread's old
registers are preserved.

convert_vx_to_fp() is adapted to handle only a specified number of
registers rather than unconditionally handling all of them: other
callers of this function are adapted appropriately.

Based on an initial patch by Dave Martin.

Cc: stable@vger.kernel.org
Reported-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-01-24 08:33:40 +01:00
..
vdso32
vdso64
.gitignore
als.c
asm-offsets.c
audit.c
audit.h
base.S
cache.c
compat_audit.c
compat_linux.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
compat_linux.h
compat_ptrace.h
compat_signal.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
compat_wrapper.c
cpcmd.c
crash_dump.c
debug.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
diag.c
dis.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dumpstack.c
early.c s390: fix compile error with memmove_early() inline assembly 2016-12-14 16:33:40 +01:00
ebcdic.c
entry.h
entry.S
fpu.c
ftrace.c
head64.S
head_kdump.S
head.S
idle.c
ipl.c
irq.c
jump_label.c
kprobes.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
lgr.c
machine_kexec.c
Makefile
mcount.S
module.c
nmi.c s390/nmi: fix inline assembly constraints 2016-12-14 16:33:41 +01:00
os_info.c
perf_cpum_cf_events.c
perf_cpum_cf.c cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
perf_cpum_sf.c cpu/hotplug: Cleanup state names 2016-12-25 10:47:44 +01:00
perf_event.c
pgm_check.S
process.c
processor.c
ptrace.c s390/ptrace: Preserve previous registers for short regset write 2017-01-24 08:33:40 +01:00
reipl.S
relocate_kernel.S
runtime_instr.c
sclp.c
setup.c s390/setup: reword printk messages 2016-12-14 16:33:40 +01:00
signal.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
smp.c
stacktrace.c
suspend.c
swsusp.S
sys_s390.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
syscalls.S
sysinfo.c
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
topology.c
trace.c
traps.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
uprobes.c
vdso.c
vmlinux.lds.S
vtime.c s390/vtime: correct system time accounting 2016-12-20 15:22:56 +01:00