Here you can find what's needed to compile the skas patch. This applies and compiles cleanly against 2.6.2-v1 (see instructions there for applying that). 00-2.6.2-v1-host-SKAS.patch.bz2 contains all the patches here. Changes from last skas patch (i.e. the one in -v8): - now, C-06-Remove-old-skas-support.patch (which replaces C-01-Compile_no_proc_mm.patch) removes all the SKAS code from the kernel (the only remaining one is the code for ptrace, inside UML's arch tree). This patch is meant for inclusion in mainline. - F-01 is unchanged; instead, I put inside E-01 the changes to the prototype of do_mmap2 (which come from the stock Uml patch). - E-02 has been dropped at author request, since it was buggy. -- E-Skas These patches makes UML support the SKAS mode for nested UML. The two patches are in order. F-i386 This patch, which requires the E-Skas one, makes the host kernel able to support the SKAS mode for guests. ---C-MainChanges C-06-Remove-old-skas-support.patch ---E-Skas E-01-Add_proc_mm_support.patch Adds /proc/mm support to UML to run nested UML's (actually from Jeff Dike, only some bits changed). This is needed also to apply the host-skas patch (i.e. F-01). See also E-02. E-02-Proc_mm_speedup.patch This is a speedup from Ingo Molnar on the host kernel side. Just apply this if you applied E-01. It is the MM_COPY_SEGMENTS removal (it becomes a no-op). Applied the ret = count fix. ---F-i386 F-01-i386_skas_support.patch This adds the support for SKAS mode to the host kernel. CREDITS This code comes from these people: - Ingo Molnar; he ported to 2.6 the skas patch, and his port is what I use. - the UML-devel mailing list for testing and help - and finally me (Paolo Giarrusso, alias Blaisorblade blaisorblade_spam (at) yahoo (dot) it). However, blame me for every bug you find, and thanks them for their work.