lkml.org 
[lkml]   [2002]   [Dec]   [20]   [last100]   RSS-feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Complete thread (EXPERIMENTAL)
/
DateFri, 20 Dec 2002 10:24:31 +0000
FromChristoph Hellwig <>
SubjectRe: PTRACE_GET_THREAD_AREA
Digg This
On Fri, Dec 20, 2002 at 12:32:41AM -0800, Roland McGrath wrote:
This patch vs 2.5.51 (should apply fine to 2.5.52) adds two new ptrace requests for i386, PTRACE_GET_THREAD_AREA and PTRACE_SET_THREAD_AREA. These let another process using ptrace do the equivalent of performing get_thread_area and set_thread_area system calls for another thread.

I don't think ptrace is the right interface for this. Just changed the get_thread_area/set_thread_area to take a new first pid_t argument.
Of course you might have to check privilegues if the first argument is non-null (i.e. not yourself).

\
ISP Services
Valid XHTML 1.0!\ /
Valid CSS! Last update: 2005-03-22 12:31    [W:0.311 / U:0.010 seconds]
©2003-2005 Jasper Spaans