Fix fatal syscalls offbyone on ia64

Jan Kratochvil jan.kratochvil at redhat.com
Fri Jun 27 09:01:19 UTC 2008


Hi,

there was committed a typo and strace now displays funny output on ia64:

$ ./strace echo x
unlink("/bin/echo")                     = 1
unlink(0x600000000001c578)              = 1
times(NULL)                             = -1 EPERM (Operation not permitted)

It is a regression by:

2008-05-19  Roland McGrath  <roland at redhat.com>

        * file.c (sys_fallocate): New function.
        * linux/syscall.h: Declare it.
        * linux/syscallent.h: Update entry.
        From Kyle McMartin <kyle at mcmartin.ca>.

        * time.c (sys_timerfd_create): New function.
        (sys_timerfd_settime, sys_timerfd_gettime): New functions.
        * linux/syscall.h: Declare them.
        * linux/syscallent.h: Update entries for those syscalls.
        From Kyle McMartin <kyle at mcmartin.ca>.

http://strace.cvs.sourceforge.net/strace/strace/linux/syscallent.h?r1=1.51&r2=1.52&view=patch


Regards,
Jan
-------------- next part --------------
2008-06-27  Jan Kratochvil  <jan.kratochvil at redhat.com>

	* linux/syscallent.h: Remove a duplicite syscall stub #326.

--- linux/syscallent.h	20 May 2008 04:56:22 -0000	1.52
+++ linux/syscallent.h	27 Jun 2008 08:50:44 -0000
@@ -357,7 +357,6 @@
 	{ 6,	TF,	sys_fallocate,		"fallocate"	}, /* 324 */
 	{ 4,	TD,	sys_timerfd_settime,	"timerfd_settime"}, /* 325 */
 	{ 2,	TD,	sys_timerfd_gettime,	"timerfd_gettime"}, /* 326 */
-	{ 5,	0,	printargs,		"SYS_326"	}, /* 326 */
 	{ 5,	0,	printargs,		"SYS_327"	}, /* 327 */
 	{ 5,	0,	printargs,		"SYS_328"	}, /* 328 */
 	{ 5,	0,	printargs,		"SYS_329"	}, /* 329 */


More information about the Strace-devel mailing list