patches/strace/4.5.17/170-arm-syscalls.patch
author Daniel Price <daniel.price@gmail.com>
Tue Nov 20 16:59:17 2012 -0800 (2012-11-20)
branch1.17
changeset 3129 b8e00eab8f81
permissions -rw-r--r--
scripts: fail on ':' in paths

Signed-off-by: Daniel Price <daniel.price@gmail.com>
[yann.morin.1998@free.fr: split original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <163f86b5216fc08c672a.1353459722@nipigon.dssd.com>
Patchwork-Id: 200536
(transplanted from 15cd5dc25929d0ccd0e1f187fe721a1ca0d48919)
     1 Original patch from gentoo: ../../dev/crosstool-NG/ct-ng.trunk/patches/strace/4.5.17/170-arm-syscalls.patch
     2 -= BEGIN original header =-
     3 Author: Michael Abbott <michael.abbott@diamond.ac.uk>
     4 Date:   Wed Oct 22 08:53:42 2008 +0100
     5 
     6     Syscall patch for ARM
     7     Patch mailed to strace mailing list by Anderson Lizardo, work by
     8     Bruna Moreira, dated 2008-01-25.  Patch cleaned up against 4.5.17 release.
     9 
    10 diff --git a/linux/arm/errnoent1.h b/linux/arm/errnoent1.h
    11 new file mode 100644
    12 index 0000000..a894827
    13 -= END original header =-
    14 diff -durN b/linux/arm/errnoent1.h b/linux/arm/errnoent1.h
    15 --- b/linux/arm/errnoent1.h	1970-01-01 01:00:00.000000000 +0100
    16 +++ b/linux/arm/errnoent1.h	2008-10-24 21:30:13.000000000 +0200
    17 @@ -0,0 +1,2 @@
    18 +/* Our second set comes from the i386 files.  */
    19 +#include "../errnoent.h"
    20 diff -durN b/linux/arm/ioctlent1.h b/linux/arm/ioctlent1.h
    21 --- b/linux/arm/ioctlent1.h	1970-01-01 01:00:00.000000000 +0100
    22 +++ b/linux/arm/ioctlent1.h	2008-10-24 21:30:13.000000000 +0200
    23 @@ -0,0 +1,2 @@
    24 +/* Our second set comes from the i386 files.  */
    25 +#include "../ioctlent.h"
    26 diff -durN b/linux/arm/signalent1.h b/linux/arm/signalent1.h
    27 --- b/linux/arm/signalent1.h	1970-01-01 01:00:00.000000000 +0100
    28 +++ b/linux/arm/signalent1.h	2008-10-24 21:30:13.000000000 +0200
    29 @@ -0,0 +1,2 @@
    30 +/* Our second set comes from the i386 files.  */
    31 +#include "../signalent.h"
    32 diff -durN b/linux/arm/syscallent1.h b/linux/arm/syscallent1.h
    33 --- b/linux/arm/syscallent1.h	1970-01-01 01:00:00.000000000 +0100
    34 +++ b/linux/arm/syscallent1.h	2008-10-24 21:30:13.000000000 +0200
    35 @@ -0,0 +1,7 @@
    36 +/* ARM specific syscalls */
    37 +	{ 5,	0,	printargs,		"SYS_0"			}, /* 0 */
    38 +	{ 5,	0,	printargs,		"breakpoint"		}, /* 1 */
    39 +	{ 5,	0,	printargs,		"cacheflush"		}, /* 2 */
    40 +	{ 5,	0,	printargs,		"usr26"			}, /* 3 */
    41 +	{ 5,	0,	printargs,		"usr32"			}, /* 4 */
    42 +	{ 5,	0,	printargs,		"set_tls"		}, /* 5 */