linux-mips
[Top] [All Lists]

emulate_load_store_insn

To: linux-mips@oss.sgi.com
Subject: emulate_load_store_insn
From: Carsten Langgaard <carstenl@mips.com>
Date: Fri, 8 Jun 2001 18:51:01 -0700 (PDT)
Reply-to: Carsten Langgaard <carstenl@mips.com>
Sender: owner-linux-mips@oss.sgi.com
Can anyone please explain the whole deal with the emulate_load_store_insn 
function in arch/mips/kernel/unaligned.c.
Isn't there a potential hole there, where a user application makes an illegal 
memory access to an unaligned address and then the kernel tries to emulate that 
and crashes.
It also look like the MF_FIXADE flag is set by default, why is that ? Shouldn't 
one suppose to make a syscall setting this MF_FIXADE flag ?

/Carsten


<Prev in Thread] Current Thread [Next in Thread>