<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/kernel/ptrace.c, branch linux-2.6.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2006-06-30T17:25:36Z</updated>
<entry>
<title>Remove obsolete #include &lt;linux/config.h&gt;</title>
<updated>2006-06-30T17:25:36Z</updated>
<author>
<name>Jörn Engel</name>
</author>
<published>2006-06-30T17:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6ab3d5624e172c553004ecc862bfeac16d9d68b7'/>
<id>urn:sha1:6ab3d5624e172c553004ecc862bfeac16d9d68b7</id>
<content type='text'>
Signed-off-by: Jörn Engel &lt;joern@wohnheim.fh-wedel.de&gt;
Signed-off-by: Adrian Bunk &lt;bunk@stusta.de&gt;
</content>
</entry>
<entry>
<title>[ARM] 3665/1: crunch: add ptrace support</title>
<updated>2006-06-28T16:55:00Z</updated>
<author>
<name>Lennert Buytenhek</name>
</author>
<published>2006-06-27T21:56:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5429b060df6d556f396b78364ad017686015bc34'/>
<id>urn:sha1:5429b060df6d556f396b78364ad017686015bc34</id>
<content type='text'>
Patch from Lennert Buytenhek

This patch makes it possible to get/set a task's Crunch state via
the ptrace(2) system call.

Signed-off-by: Lennert Buytenhek &lt;buytenh@wantstofly.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] Fix "thead" typo</title>
<updated>2006-03-15T14:57:13Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2006-03-15T14:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17320a9644a45ccac51ce4ff4333276844abf72d'/>
<id>urn:sha1:17320a9644a45ccac51ce4ff4333276844abf72d</id>
<content type='text'>
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] iwmmxt thread state alignment</title>
<updated>2006-03-12T22:36:06Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2006-03-12T22:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cdaabbd74b15296acf09215355a7f3b07b92b83e'/>
<id>urn:sha1:cdaabbd74b15296acf09215355a7f3b07b92b83e</id>
<content type='text'>
This patch removes the reliance of iwmmxt on hand coded alignments.
Since thread_info is always 8K aligned, specifying that fpstate is
8-byte aligned achieves the same effect without needing to resort
to hand coded alignments.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] 3262/4: allow ptraced syscalls to be overriden</title>
<updated>2006-01-14T19:30:04Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2006-01-14T19:30:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f'/>
<id>urn:sha1:3f471126ee53feb5e9b210ea2f525ed3bb9b7a7f</id>
<content type='text'>
Patch from Nicolas Pitre

This is needed by strace to properly handle the tracing of some system
calls. It could be useful for other applications as well.

Based on an earlier patch from Daniel Jacobowitz.

Signed-off-by: Nicolas Pitre &lt;nico@cam.org&gt;
Signed-off-by: Daniel Jacobowitz &lt;dan@debian.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] arm: task_pt_regs()</title>
<updated>2006-01-12T17:08:55Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-01-12T09:05:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=815d5ec86eb8d5f57e5e4aa147bd1fb6338c58ac'/>
<id>urn:sha1:815d5ec86eb8d5f57e5e4aa147bd1fb6338c58ac</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] arm: task_thread_info()</title>
<updated>2006-01-12T17:08:55Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-01-12T09:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7c1b32fd354c34c4dceb1736a485bc5d91f7c43'/>
<id>urn:sha1:e7c1b32fd354c34c4dceb1736a485bc5d91f7c43</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[ARM] 3200/1: Singlestep over ARM BX and BLX instructions using ptrace fix</title>
<updated>2005-12-10T11:59:15Z</updated>
<author>
<name>Nikola Valerjev</name>
</author>
<published>2005-12-10T11:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22f975f4ffa707ea24507f6899bb9f5a1ff034bc'/>
<id>urn:sha1:22f975f4ffa707ea24507f6899bb9f5a1ff034bc</id>
<content type='text'>
Patch from Nikola Valerjev

Single stepping an application using ptrace() fails over ARM instructions BX and BLX.

Steps to reproduce:

Compile and link the following files

main.c
-----
void foo();
int main() {
    foo();
    return 0;
}

foo.s
-----
	.text
	.globl foo
foo:
	BX LR

Using ptrace() functionality, run to main(), and start singlestepping.
Singlestep over \"BX LR\" instruction won\'t transfer the control back
to main, but run the code to completion.

This problems seems to be in the function get_branch_address() in
arch/arm/kernel/ptrace.c. The function doesn\'t seem to recognize BX
and BLX instructions as branches. BX and BLX instructions can be used
to convert from ARM to Thumb mode if the target address has the low
bit set. However, they are also perfectly legal in the ARM only mode.
Although other things in the kernel seem to indicate that only ARM
mode is accepted (and not Thumb), many compilers will generate BX
and BLX instructions even when generating ARM only code.

Signed-off-by: Nikola Valerjev &lt;nikola@ghs.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] consolidate sys_ptrace()</title>
<updated>2005-11-07T15:53:42Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2005-11-07T08:59:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=481bed454247538e9f57d4ea37b153ccba24ba7b'/>
<id>urn:sha1:481bed454247538e9f57d4ea37b153ccba24ba7b</id>
<content type='text'>
The sys_ptrace boilerplate code (everything outside the big switch
statement for the arch-specific requests) is shared by most architectures.
This patch moves it to kernel/ptrace.c and leaves the arch-specific code as
arch_ptrace.

Some architectures have a too different ptrace so we have to exclude them.
They continue to keep their implementations.  For sh64 I had to add a
sh64_ptrace wrapper because it does some initialization on the first call.
For um I removed an ifdefed SUBARCH_PTRACE_SPECIAL block, but
SUBARCH_PTRACE_SPECIAL isn't defined anywhere in the tree.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Paul Mackerras &lt;paulus@samba.org&gt;
Acked-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Acked-By: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Acked-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] unify sys_ptrace prototype</title>
<updated>2005-10-31T01:37:20Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2005-10-30T23:02:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfb7dac3af623a68262536437af008ed6aba4d88'/>
<id>urn:sha1:dfb7dac3af623a68262536437af008ed6aba4d88</id>
<content type='text'>
Make sure we always return, as all syscalls should.  Also move the common
prototype to &lt;linux/syscalls.h&gt;

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Miklos Szeredi &lt;miklos@szeredi.hu&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
