[Top] [All Lists]

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

Subject: [PATCH 0/3] Check for accesses beyond end of PGD
From: David Daney <>
Date: Wed, 28 Apr 2010 12:16:15 -0700
Cc: David Daney <>
Original-recipient: rfc822;
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
  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>