diff options
author | bibo,mao <bibo.mao@intel.com> | 2007-01-30 04:02:19 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2007-02-05 23:04:21 +0100 |
commit | 87f76d3aafe5b5e0a1d6d857088a0263b35afa6b (patch) | |
tree | 80a547e0c0a0cfe2eb1764b7a2b6410cbe5463f8 /mm | |
parent | [IA64] use snprintf() on features field of /proc/cpuinfo (diff) | |
download | linux-87f76d3aafe5b5e0a1d6d857088a0263b35afa6b.tar.xz linux-87f76d3aafe5b5e0a1d6d857088a0263b35afa6b.zip |
[IA64] find thread for user rbs address
I encountered one problem when running ptrace test case the situation
is this: traced process's syscall parameter needs to be accessed, but
for sys_clone system call with clone_flag (CLONE_VFORK | CLONE_VM |
SIGCHLD) parameter. This syscall's parameter accessing result is wrong.
The reason is that vforked child process mm point is the same, but
tgid is different. Without this patch find_thread_for_addr will return
vforked process if vforked process is also stopped, but not the thread
which calls vfork syscall.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions