[Top] [All Lists]

Insertion of die_if_kernel in unaligned.c

Subject: Insertion of die_if_kernel in unaligned.c
From: Carsten Langgaard <>
Date: Thu, 03 May 2001 12:39:20 +0200
In the latest version of arch/mips/kernel/unaligned.c, there has been
inserted some calls to the die_if_kernel, which check if we are running
in kernel mode and if so dies.
I'm not so sure this is the right thing to do, the floating point
emulator will in some cases generate an address error (e.g. if emulating
a swc1 to an unaligned address). The result is that an user application
can crash the kernel.


_    _ ____  ___   Carsten Langgaard
|\  /|||___)(___   MIPS Denmark        Direct: +45 4486 5527
| \/ |||    ____)  Lautrupvang 4B      Switch: +45 4486 5555
  TECHNOLOGIES     2750 Ballerup       Fax...: +45 4486 5556

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