All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Check for accesses beyond end of PGD
@ 2010-04-28 19:16 David Daney
  2010-04-28 19:16 ` [PATCH 1/3] MIPS: Add uasm_i_dsrl_safe() and uasm_i_dsll_safe() to uasm David Daney
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Daney @ 2010-04-28 19:16 UTC (permalink / raw)
  To: linux-mips, ralf; +Cc: David Daney

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-29  1:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-28 19:16 [PATCH 0/3] Check for accesses beyond end of PGD David Daney
2010-04-28 19:16 ` [PATCH 1/3] MIPS: Add uasm_i_dsrl_safe() and uasm_i_dsll_safe() to uasm David Daney
2010-04-29  0:52   ` Ralf Baechle
2010-04-28 19:16 ` [PATCH 2/3] MIPS: Use uasm_i_ds{r,l}l_safe() instead of uasm_i_ds{r,l}l() in tlbex.c David Daney
2010-04-29  1:13   ` Ralf Baechle
2010-04-28 19:16 ` [PATCH 3/3] MIPS: Check for accesses beyond the end of the PGD David Daney
2010-04-29  1:24   ` Ralf Baechle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.