Please find attached a SKAS3 patch against Linux 2.6.24-rc7, based on Jeff Dike's 2007-12-08 patch for 2.6.23. Quoteth Jeff: > 2.6.24 is going to be even more interesting, given the x86 merge. Indeed it is. This patch is not perfect and I need some help. Host i386 and x86_64 build with CONFIG_PROC_MM (I tested i386 and it works, but for x86_64 I just made sure it compiles defconfig). Guest i386 builds correctly and runs fine, but I cannot figure this out when building guest x86_64: CC arch/um/kernel/ptrace.o In file included from arch/um/include/skas_ptrace.h:12, from arch/um/kernel/ptrace.c:13: arch/um/include/sysdep/skas_ptrace.h:9: error: redefinition of ‘struct ptrace_faultinfo’ arch/um/include/sysdep/skas_ptrace.h:14: error: redefinition of ‘struct ptrace_ldt’ make[1]: *** [arch/um/kernel/ptrace.o] Error 1 make: *** [arch/um/kernel] Error 2 sysdep-i386/skas_ptrace.h and sysdep-x86_64/skas_ptrace.h are nearly identical, so I can't figure out why ptrace_faultinfo and ptrace_ldt are being defined in the first place. RF arch/um/sys-i386/ldt.c | 2 arch/x86/Kconfig | 20 ++ arch/x86/ia32/ptrace32.c | 68 +++++++ arch/x86/ia32/sys_ia32.c | 16 + arch/x86/kernel/ldt_32.c | 58 +++--- arch/x86/kernel/ldt_64.c | 55 +++-- arch/x86/kernel/ptrace_32.c | 61 ++++++ arch/x86/kernel/ptrace_64.c | 70 +++++++ arch/x86/kernel/sys_i386_32.c | 27 ++ arch/x86/kernel/sys_x86_64.c | 15 + arch/x86/mm/Makefile_64 | 1 arch/x86/mm/proc_mm_64.c | 85 ++++++++ include/asm-um/compat.h | 9 include/asm-um/proc_mm_32.h | 1 include/asm-um/proc_mm_64.h | 1 include/asm-um/ptrace-x86_64.h | 11 + include/asm-x86/desc_32.h | 3 include/asm-x86/desc_64.h | 3 include/asm-x86/mmu_context_32.h | 19 + include/asm-x86/mmu_context_64.h | 20 +- include/asm-x86/proc_mm_32.h | 18 + include/asm-x86/proc_mm_64.h | 58 ++++++ include/asm-x86/ptrace-abi.h | 6 include/asm-x86/ptrace.h | 65 ++++++ include/linux/mm.h | 19 + include/linux/proc_mm.h | 110 +++++++++++ mm/Makefile | 5 mm/fremap.c | 5 mm/mmap.c | 17 - mm/mprotect.c | 20 +- mm/proc_mm-mod.c | 50 +++++ mm/proc_mm.c | 299 +++++++++++++++++++++++++++++++ 32 files changed, 1133 insertions(+), 84 deletions(-)