android_kernel_xiaomi_sm8350/arch/s390/kernel
Gerald Schaefer 482b05dd53 [S390] Fixed handling of access register mode faults.
Replaced check_user_space() + __check_access_register with the new
check_space(). The old functions made wrong assumptions about kernel
and user space when the kernel and user address spaces are switched
(kernel in home space, user in primary/secondary space).
Secondly the user process can switch to the accress register mode if
it is running in primary or secondary mode. In addition it can load
an arbitrary value to the access registers. If any other value than
0 for primary space or 1 for secondary space is loaded and memory
is accessed using the base register related to the access register,
the program should be terminated with a SIGSEGV. To achieve that the
DUALD pointer in the DUCT and the PSALD pointer in the PASTE need
to point to an array of 8 invalid access-list entries to get a
ALEN-translation exception if an invalid alet is used.

Signed-off-by: Gerald Schaefer <geraldsc@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2007-03-05 23:35:54 +01:00
..
asm-offsets.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
base.S [S390] Convert memory detection into C code. 2007-02-05 21:18:37 +01:00
binfmt_elf32.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
bitmap.S
compat_audit.c [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
compat_exec_domain.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
compat_linux.c [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
compat_linux.h [S390] noexec protection 2007-02-05 21:18:17 +01:00
compat_ptrace.h
compat_signal.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
compat_wrapper.S [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
cpcmd.c [S390] cpcmd with vmalloc addresses. 2007-02-05 21:16:54 +01:00
crash.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
debug.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
early.c [S390] bss section clearing. 2007-02-21 10:55:29 +01:00
ebcdic.c [S390] Get rid of a lot of sparse warnings. 2007-02-05 21:16:47 +01:00
entry64.S [S390] Whitespace cleanup. 2006-09-28 16:56:37 +02:00
entry.S [S390] Whitespace cleanup. 2006-09-28 16:56:37 +02:00
head31.S [S390] Fixed handling of access register mode faults. 2007-03-05 23:35:54 +01:00
head64.S [S390] Fixed handling of access register mode faults. 2007-03-05 23:35:54 +01:00
head.S [S390] remove salipl memory detection. 2006-12-04 15:39:47 +01:00
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
ipl.c [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
irq.c [S390] Move init_irq_proc to the other irq related functions. 2007-02-05 21:16:44 +01:00
kprobes.c [S390] kprobes breaks BUG_ON 2007-03-05 23:35:38 +01:00
machine_kexec.c [S390] nss: disable kexec. 2007-03-05 23:35:45 +01:00
Makefile [S390] Convert memory detection into C code. 2007-02-05 21:18:37 +01:00
module.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
process.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
ptrace.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
reipl64.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
reipl.S [S390] reipl: move dump_prefix_page out of text section. 2007-03-05 23:35:43 +01:00
relocate_kernel64.S [S390] Reset infrastructure for re-IPL. 2006-12-04 15:40:26 +01:00
relocate_kernel.S [S390] Reset infrastructure for re-IPL. 2006-12-04 15:40:26 +01:00
s390_ext.c [S390] ETR support. 2007-02-05 21:18:19 +01:00
s390_ksyms.c [PATCH] remove bogus arch-specific syscall exports 2006-10-11 11:17:07 -07:00
semaphore.c [S390] Inline assembly cleanup. 2006-09-28 16:56:43 +02:00
setup.c [S390] nss: Free unused memory in kernel image. 2007-02-21 10:55:37 +01:00
signal.c [S390] noexec protection 2007-02-05 21:18:17 +01:00
smp.c [S390] smp: disable preemption in smp_call_function/smp_call_function_on 2007-03-05 23:35:41 +01:00
stacktrace.c [S390] Avoid excessive inlining. 2007-02-05 21:18:53 +01:00
sys_s390.c [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
syscalls.S [PATCH] Common compat_sys_sysinfo 2007-02-11 10:51:32 -08:00
time.c [S390] etr: Add barrier() to etr_sync_cpu_start(). 2007-02-21 10:55:15 +01:00
traps.c [S390] Fix kprobes breakpoint handling. 2007-02-05 21:17:29 +01:00
vmlinux.lds.S [PATCH] disable init/initramfs.c: architectures 2007-02-11 10:51:25 -08:00
vtime.c [S390] ETR support. 2007-02-05 21:18:19 +01:00