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 s390/time: steer clocksource on STP sync events 2016-10-28 10:09:02 +02:00
vdso64 s390/time: steer clocksource on STP sync events 2016-10-28 10:09:02 +02:00
.gitignore
als.c s390/als: print missing facilities on facility mismatch 2016-07-31 05:27:59 -04:00
asm-offsets.c s390: move sys_call_table and last_break from thread_info to thread_struct 2016-11-15 16:48:20 +01:00
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 s390/crashdump: use list_first_entry_or_null 2016-09-20 14:26:04 +02:00
debug.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
diag.c - ARM: GICv3 ITS emulation and various fixes. Removal of the old 2016-08-02 16:11:27 -04:00
dis.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
dumpstack.c s390/dumpstack: use pr_cont within show_stack and die 2016-10-24 10:26:14 +02:00
early.c s390: fix compile error with memmove_early() inline assembly 2016-12-14 16:33:40 +01:00
ebcdic.c
entry.h s390/als: convert architecture level set code to C 2016-07-31 05:27:58 -04:00
entry.S s390: remove unused labels from entry.S 2016-12-12 12:04:26 +01:00
fpu.c s390/fpu: improve kernel_fpu_[begin|end] 2016-08-29 11:05:01 +02:00
ftrace.c ftrace: Add return address pointer to ftrace_ret_stack 2016-08-24 12:15:14 +02:00
head64.S s390/thread_info: get rid of THREAD_ORDER define 2016-11-23 16:02:21 +01:00
head_kdump.S
head.S s390/thread_info: get rid of THREAD_ORDER define 2016-11-23 16:02:21 +01:00
idle.c
ipl.c s390: fix initrd corruptions with gcov/kcov instrumented kernels 2016-12-12 12:11:20 +01:00
irq.c s390/thread_info: get rid of THREAD_ORDER define 2016-11-23 16:02:21 +01:00
jump_label.c
kprobes.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
lgr.c s390: kernel: make lgr explicitly non-modular 2016-10-31 17:55:42 +01:00
machine_kexec.c
Makefile s390: cleanup arch/s390/kernel Makefile 2016-12-12 12:11:26 +01:00
mcount.S s390: move exports to definitions 2016-08-07 23:47:20 -04:00
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 s390/dumpstack: restore reliable indicator for call traces 2016-10-17 14:44:30 +02:00
pgm_check.S
process.c s390: move cputime accounting fields from thread_info to thread_struct 2016-11-11 16:37:43 +01:00
processor.c locking/core: Introduce cpu_relax_yield() 2016-11-16 10:15:09 +01:00
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 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2016-12-13 16:33:33 -08:00
stacktrace.c s390/dumpstack: restore reliable indicator for call traces 2016-10-17 14:44:30 +02:00
suspend.c
swsusp.S s390/thread_info: get rid of THREAD_ORDER define 2016-11-23 16:02:21 +01:00
sys_s390.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
syscalls.S
sysinfo.c s390/sysinfo: show partition extended name and UUID if available 2016-12-07 12:29:47 +01:00
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
topology.c s390/numa: establish cpu to node mapping early 2016-12-07 07:23:25 +01:00
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 mm: kmemleak: scan .data.ro_after_init 2016-11-11 08:12:37 -08:00
vtime.c s390/vtime: correct system time accounting 2016-12-20 15:22:56 +01:00