linux-mips
[Top] [All Lists]

[PATCH 0/3] Check for accesses beyond end of PGD

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: [PATCH 0/3] Check for accesses beyond end of PGD
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 28 Apr 2010 12:16:15 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
In 64-bit kernels a user space access might cause us to try to access
PGD elements beyound the end of the PGD, we must check for this and
trap it.

David Daney (3):
  MIPS:  Add uasm_i_dsrl_safe() and uasm_i_dsll_safe() to uasm.
  MIPS: Use uasm_i_ds{r,l}l_safe() instead of uasm_i_ds{r,l}l() in
    tlbex.c
  MIPS: Check for accesses beyond the end of the PGD.

 arch/mips/include/asm/uasm.h |   18 ++++++
 arch/mips/mm/tlbex.c         |  129 ++++++++++++++++++++++++++++++++----------
 2 files changed, 117 insertions(+), 30 deletions(-)


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