https://github.com/torvalds/linux
Revision d786a4a6599740eaa4b8d1e1d466853f02db11d4 authored by David S. Miller on 10 April 2008, 02:39:25 UTC, committed by David S. Miller on 10 April 2008, 02:39:25 UTC
1) ptrace should pass 'current' to task_user_regset_view()

2) When fetching general registers using a 64-bit view, and
   the target is 32-bit, we have to convert.

3) Skip the whole register window get/set code block if
   the user isn't asking to access anything in there.

   Otherwise we have problems if the user doesn't have
   an address space setup.  Fetching ptrace register is
   still valid at such a time, and ptrace does not try
   to access the register window area of the regset.

Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent ad4f957
History
Tip revision: d786a4a6599740eaa4b8d1e1d466853f02db11d4 authored by David S. Miller on 10 April 2008, 02:39:25 UTC
[SPARC]: Fix several regset and ptrace bugs.
Tip revision: d786a4a
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 644 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.4 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 94.9 KB
Makefile -rw-r--r-- 52.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top