diff options
author | Elliott Hughes <enh@google.com> | 2014-04-05 11:56:17 -0700 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-04-09 12:33:12 +0000 |
commit | b563325f0a5497b6134f24bea03a86b21272960f (patch) | |
tree | 79dac8a8cd9d52b5111bdad033c39bf8be94d607 /syscall.c | |
parent | 391c0d8cc5d78b20025355025ba43f0c9897126d (diff) | |
download | strace-b563325f0a5497b6134f24bea03a86b21272960f.tar.gz strace-b563325f0a5497b6134f24bea03a86b21272960f.tar.bz2 strace-b563325f0a5497b6134f24bea03a86b21272960f.tar.xz |
x86-64: fix clone(2) argument order for x86 processes
Without this patch, strace claims that parent_tidptr == tls, which is
clearly wrong. It is expected that parent_tidptr == child_tidptr.
* process.c [X86_64] (ARG_CTID, ARG_TLS): Take current
personality into account.
Signed-off-by: Elliott Hughes <enh@google.com>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'syscall.c')
0 files changed, 0 insertions, 0 deletions