aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Metcalf <[email protected]>2010-10-28 19:47:06 +0000
committerChris Metcalf <[email protected]>2010-11-01 19:31:17 +0000
commit1deb9c5dfb179819ecdbf80a1d121e26c63caab3 (patch)
treec6f6ec6030eb22f094a65c07e63312758d079794 /tools/perf/scripts/python
parentarch/tile: correct double syscall restart for nested signals (diff)
downloadkernel-1deb9c5dfb179819ecdbf80a1d121e26c63caab3.tar.gz
kernel-1deb9c5dfb179819ecdbf80a1d121e26c63caab3.zip
arch/tile: don't allow user code to set the PL via ptrace or signal return
The kernel was allowing any component of the pt_regs to be updated either by signal handlers writing to the stack, or by processes writing via PTRACE_POKEUSR or PTRACE_SETREGS, which meant they could set their PL up from 0 to 1 and get access to kernel code and data (or, in practice, cause a kernel panic). We now always reset the ex1 field, allowing the user to set their ICS bit only. Signed-off-by: Chris Metcalf <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions