[PATCH 2/3] tests: add dup.test

Dmitry V. Levin ldv at altlinux.org
Fri Mar 4 14:59:19 UTC 2016


On Fri, Mar 04, 2016 at 05:10:47PM +0800, Fei Jie wrote:
[...]
> +#if defined __NR_dup && defined __NR_dup2

Newer architectures have __NR_dup3 instead of __NR_dup2.
I recommend testing decoding of dup, dup2, and dup3 syscalls separately
for better coverage.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160304/f26ee173/attachment.bin>


More information about the Strace-devel mailing list