On Fri, May 16, 2008 at 12:19:43AM +0200, vincent-perrier wrote:
> I use non-patched kernels for the host and for the
> guest, is there hope that in the future, simple
> users that do not patch their hosts (or guest)
> kernels will get the ska4?
Yup, the hope is that the skas4 interfaces are accep
Hello,
I use non-patched kernels for the host and for the
guest, is there hope that in the future, simple
users that do not patch their hosts (or guest)
kernels will get the ska4?
Regards
Vincent Perrier
-
This SF.net email i
Tidy the existing stub code so that the skas4 code can be dropped in.
diff --git a/arch/um/os-Linux/skas/mem.c b/arch/um/os-Linux/skas/mem.c
index 484e68f..5f09a9b 100644
--- a/arch/um/os-Linux/skas/mem.c
+++ b/arch/um/os-Linux/skas/mem.c
@@ -40,35 +40,69 @@ static unsigned long syscall_regs[MAX_R
This is the new_mm, switch_mm, and /proc//mm implementation for
32- and 64-bit x86 and UML, plus 32-bit support on 64-bit x86.
diff --git a/arch/um/include/skas_ptrace.h b/arch/um/include/skas_ptrace.h
index cd2327d..38ec9fd 100644
--- a/arch/um/include/skas_ptrace.h
+++ b/arch/um/include/skas_ptr
This patch implements sys_vcpu, which allows a process to enter a new
mode in which a signal or system call will cause a return to the
original context.
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h
index 3c34122..0a91cb1 100644
--- a/arch/um/include/kern_util.h
+++ b/arch
UML already had a new_mm(). This is renamed to make_new_mm().
diff --git a/arch/um/include/skas/skas.h b/arch/um/include/skas/skas.h
index d6cbb4f..061a362 100644
--- a/arch/um/include/skas/skas.h
+++ b/arch/um/include/skas/skas.h
@@ -17,7 +17,7 @@ extern int skas_needs_stub;
extern int user_thr
Macroize stub system call execution loop
Extract the system call execution loop in the stubs into a macro
A later patch will need this loop, so this makes it available.
diff --git a/arch/um/sys-i386/stub.S b/arch/um/sys-i386/stub.S
index 7699e89..a63397f 100644
--- a/arch/um/sys-i386/stub.S
+
This patch implements sys_vcpu support in UML.
diff --git a/arch/um/include/kern_util.h b/arch/um/include/kern_util.h
index 0a91cb1..3421c47 100644
--- a/arch/um/include/kern_util.h
+++ b/arch/um/include/kern_util.h
@@ -22,7 +22,7 @@ extern void free_stack(unsigned long stack, int order);
exter
Tidy arch/um/os-Linux/start_up.c in preparation for host SKAS4 testing.
There are now explicit variables for disabling any particular host
capability.
init_registers is moved out of the skas3 testing because it needs to
happen every time, and the skas3 checks will become optional.
diff -
UML guest SKAS4 support.
diff --git a/arch/um/include/as-layout.h b/arch/um/include/as-layout.h
index cac542d..929d053 100644
--- a/arch/um/include/as-layout.h
+++ b/arch/um/include/as-layout.h
@@ -23,16 +23,15 @@
*/
#ifdef __ASSEMBLY__
-#define _AC(X, Y) (Y)
+#define _C(Y) (Y)
#else
-
copy_siginfo_to_user correctly strips off the high bits of si->si_code
before copying it to userspace.
Unfortunately, ptrace32_siginfo calls copy_siginfo_to_user to put the
siginfo into a temporary userspace buffer and counts on the high bits
still being present so that it may initialize the u
Add CPU trap number and error code to siginfo_t in the SIGSEGV case for x86.
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c
index 5e7771a..a2a4c1c 100644
--- a/arch/x86/ia32/ia32_signal.c
+++ b/arch/x86/ia32/ia32_signal.c
@@ -68,6 +68,8 @@ int copy_siginfo_to_user32(compat_
There were a number of repetitions of the calculation of an stub
address in a process address space. This introduces STUB_ADDR to
eliminate the common code.
diff --git a/arch/um/include/skas/skas.h b/arch/um/include/skas/skas.h
index 061a362..331f343 100644
--- a/arch/um/include/skas/skas.h
+++ b
This patch allows UML to get page fault information for its processes
using PTRACE_GETSIGINFO by reading the fault address, trap number, and
error code from the siginfo_t.
The nastiness in arch/um/include/siginfo_segv.h is defining the new
siginfo_t structure in place of the old one, which req
14 matches
Mail list logo