[PATCH] strace-x86_64: assign correct system call numbers to tee and sync_file_range

Dmitry V. Levin ldv at altlinux.org
Wed Sep 3 00:47:47 UTC 2008


On Tue, Sep 02, 2008 at 07:29:30PM +0900, Fernando Luis V?zquez Cao wrote:
> tee and sync_file_range had the syscall numbers interchanged on x86_64
> which resulted in incorrect output and filtering behavior.
> 
> Signed-off-by: Fernando Luis Vazquez Cao <fernando at oss.ntt.co.jp>
> ---
> 
> diff -urNp strace-4.5.18/linux/x86_64/syscallent.h strace-4.5.18-fixes/linux/x86_64/syscallent.h
> --- strace-4.5.18/linux/x86_64/syscallent.h	2008-07-18 10:22:26.000000000 +0900
> +++ strace-4.5.18-fixes/linux/x86_64/syscallent.h	2008-09-02 19:12:47.000000000 +0900
> @@ -274,8 +274,8 @@
>  	{ 2,	0,	printargs,		"set_robust_list" }, /* 273 */
>  	{ 3,	0,	printargs,		"get_robust_list" }, /* 274 */
>  	{ 6,	TD,	printargs,		"splice"	}, /* 275 */
> -	{ 4,	TD,	printargs,		"sync_file_range" }, /* 276 */
> -	{ 4,	TD,	printargs,		"tee"		}, /* 277 */
> +	{ 4,	TD,	printargs,		"tee"		}, /* 276 */
> +	{ 4,	TD,	printargs,		"sync_file_range" }, /* 277 */
>  	{ 4,	TD,	printargs,		"vmsplice"	}, /* 278 */
>  	{ 6,	0,	sys_move_pages,		"move_pages"	}, /* 279 */
>  	{ 4,	TD|TF,	sys_utimensat,		"utimensat"	}, /* 280 */

Thanks, applied.


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


More information about the Strace-devel mailing list