On Thu, May 05, 2005 at 06:03:53PM +0100, Ian Rogers wrote:
> I've attached the test/example I'm working on to create and manipulate
> address spaces uses skas - as I want to allow an emulator to. There are
> a few missing functions (that can be pretty much cloned from mem_user.c)
> and I've not
On Wed, May 04, 2005 at 08:06:22AM -0700, Anthony Brock wrote:
> Okay, I've now recompiled the host kernel to include debugging information. I
> now get the following:
>
> myserver:~#
> Program received signal SIGSEGV, Segmentation fault.
> chan_interrupt (chans=0x4013a3cc, task=0x4013a3fc, tty=
From: Bodo Stroesser <[EMAIL PROTECTED]>
s390 tt-mode needs to save not only syscall number, but an
further register also.
Signed-off-by: Bodo Stroesser <[EMAIL PROTECTED]>
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.12-rc3-mm/arch/um/kernel/tt/syscall_user.c
==
I accidentally included include/asm-um/elf.h as a real file in a previous
patch. This patch eliminates it.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.12-rc3-mm/include/asm-um/elf.h
===
--- linux-2.6.12-rc3-mm.orig
From: Bodo Stroesser <[EMAIL PROTECTED]>
tt-mode closes switch_pipes in exit_thread_tt and kills
processes in switch_to_tt, if the exit_state is
EXIT_DEAD or EXIT_ZOMBIE.
In very rare cases the exiting process can be scheduled out
after having set exit_state and closed switch_pipes (from
release_
From: Bodo Stroesser <[EMAIL PROTECTED]>
tt/mem.c still uses hardcoded TOP for i386 instead of
CONFIG_TOP_ADDR provided by subarch's Kconfig_,
which would be right.
Signed-off-by: Bodo Stroesser <[EMAIL PROTECTED]>
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.11/arch/um/kern
So, there I was, looking at my own code, wondering what the magic setjmp
return values did. This patch turns the constants that are used to make
requests of the initial thread into meaningful symbols.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.11/arch/um/kernel/skas/process.c
Command line handling cleanups - a couple of things made static and an
unused declaration removed from header.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.12-rc3-mm/arch/um/include/user_util.h
===
--- linux-2.6.12-
This fixes some x86_64 bugs -
maybe_map returns -1 on error instead of 0, which is interpretted as
physical address 0
removed an include of ipc.h, which isn't needed
fixed the calculation of signal frame location
the signal delivery code is now immune to the stack expansion check
From: Bodo Stroesser <[EMAIL PROTECTED]>
Only x86 and x86_64 use arch_align_stack(), all other subarches
have:
#define arch_align_stack(x) (x)
So, if this definition is found, UML's own arch_align_stack()
should be skipped.
Signed-off-by: Bodo Stroesser <[EMAIL PROTECTED]>
Index: linux-2.6.11-mm
This eliminates some stuff from arch/um/kernel/Makefile which refers to a
file which has long since been deleted.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.12-rc3-mm/arch/um/kernel/Makefile
===
--- linux-2.6.12-r
Eliminate the non-inline version of switch_mm, which can't be used,
considering the inline version in asm/mmu_context.h
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.11-mm/arch/um/kernel/process_kern.c
===
--- linux-
Remove the __deprecated from verify_area_skas and verify_area_tt. Since
verify_area is itself marked __deprecated, and it is the only caller of
these, then they don't need to be marked. Marking them only makes the
build noisier.
Signed-off-by: Jeff Dike <[EMAIL PROTECTED]>
Index: linux-2.6.11/a
From: Bodo Stroesser <[EMAIL PROTECTED]>
s390 needs to change some parts of arch/um/kernel/ptrace.c.
Thus, the code regarding PEEKUSER and POKEUSER are shifted
to arch/um/sys-/ptrace.c.
Also s390 debug registers need to be updated, when
singlestepping is switched on / off. Thus, setting/resetting
Blaisorblade wrote:
I understand the purpose of the patch; however, without any mention about the
effects (which would be IMHO bad) we no more copy LDT segments on fork/clone,
which is bad.
No. The patch shifts code only, but AFAICS it doesn't alter the bahavior of
UML/i386.
If it does, that wou
15 matches
Mail list logo