]> granicus.if.org Git - strace/commit
mips o32: do not bail out in get_syscall_args if umoven fails
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 18 Aug 2017 14:30:08 +0000 (14:30 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 18 Aug 2017 14:30:08 +0000 (14:30 +0000)
commit25f91fd854b5602249d5c52e84846c769b130f9c
tree6f96be092af4f2ebaaf3b573e450252fcd15b0ce
parentdac32d406fa7d85709bb5eef92ccf3ca4efb4bad
mips o32: do not bail out in get_syscall_args if umoven fails

If the kernel contains commit 84d77d3f06e7e8dea057d10e8ec77ad71f721be3,
both PTRACE_PEEKDATA and process_vm_readv become unavailable when the
process dumpable flag is cleared.  As the first 4 syscall arguments are
still available via registers, do not treat this as get_syscall_args
error.

This condition is triggered and therefore tested by prctl-dumpable test.

* linux/mips/get_syscall_args.c (get_syscall_args) [LINUX_MIPSO32]:
Do not bail out if umoven fails.
linux/mips/get_syscall_args.c