diff options
| author | Roland McGrath <roland@redhat.com> | 2004-06-23 19:50:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-06-23 19:50:02 -0700 |
| commit | 91bc6523e3878fadc6825d7a6d68e33018a924aa (patch) | |
| tree | d1fe2998a561bf09b8b74f51eecf106a0a0f9df5 /include | |
| parent | d35fd13a8f5629b5b46ac0f546ac18e6f2831e29 (diff) | |
[PATCH] fix x86-64 ptrace access to 32-bit vsyscall page
When I made get_user_pages support looking up a pte for the "gate" area, I
assumed it would be part of the kernel's fixed mappings. On x86-64 running
a 32-bit task, the 32-bit vsyscall DSO page still has no vma but has its
pte allocated in the user mm in the normal fashion. This patch makes it
use the generic page-table lookup calls rather than the shortcuts.
With this, ptrace on x86-64 can access a 32-bit process's vsyscall page.
The behavior on x86 is unchanged.
Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
