summaryrefslogtreecommitdiff
path: root/arch/x86/um/shared/sysdep/faultinfo_32.h
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-03-18 23:31:27 +0300
committerRichard Weinberger <richard@nod.at>2015-04-13 22:00:53 +0300
commitd0b5e15f0c0fdd759dd3dd48dc2dc2e7199e0da0 (patch)
tree7b833b85c0e2eabf6b38d8b94875b430554afae7 /arch/x86/um/shared/sysdep/faultinfo_32.h
parentaaeac66b1a02d399ec8ee63e8d617c1d601ea353 (diff)
downloadlinux-d0b5e15f0c0fdd759dd3dd48dc2dc2e7199e0da0.tar.xz
um: Remove SKAS3/4 support
Before we had SKAS0 UML had two modes of operation TT (tracing thread) and SKAS3/4 (separated kernel address space). TT was known to be insecure and got removed a long time ago. SKAS3/4 required a few (3 or 4) patches on the host side which never went mainline. The last host patch is 10 years old. With SKAS0 mode (separated kernel address space using 0 host patches), default since 2005, SKAS3/4 is obsolete and can be removed. Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/shared/sysdep/faultinfo_32.h')
-rw-r--r--arch/x86/um/shared/sysdep/faultinfo_32.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/um/shared/sysdep/faultinfo_32.h b/arch/x86/um/shared/sysdep/faultinfo_32.h
index a26086b8a800..b6f2437ec29c 100644
--- a/arch/x86/um/shared/sysdep/faultinfo_32.h
+++ b/arch/x86/um/shared/sysdep/faultinfo_32.h
@@ -27,9 +27,6 @@ struct faultinfo {
/* This is Page Fault */
#define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
-/* SKAS3 has no trap_no on i386, but get_skas_faultinfo() sets it to 0. */
-#define SEGV_MAYBE_FIXABLE(fi) ((fi)->trap_no == 0 && ptrace_faultinfo)
-
#define PTRACE_FULL_FAULTINFO 0
#endif