<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/kernel/calls.S, 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>2007-01-10T19:05:18Z</updated>
<entry>
<title>[PATCH] ARM: Add sys_*at syscalls</title>
<updated>2007-01-10T19:05:18Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2006-12-13T14:12:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a40b99aa9d8e4354b6d99a928e7141ab18c1842'/>
<id>urn:sha1:4a40b99aa9d8e4354b6d99a928e7141ab18c1842</id>
<content type='text'>
Later glibc requires the *at syscalls.  Add them.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
</content>
</entry>
<entry>
<title>[ARM] 3338/1: old ABI compat: sys_socketcall</title>
<updated>2006-02-16T22:36:13Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2006-02-16T22:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6c0fa49b18b09ba9e69c0999f89bc38fad95d8a6'/>
<id>urn:sha1:6c0fa49b18b09ba9e69c0999f89bc38fad95d8a6</id>
<content type='text'>
Patch from Nicolas Pitre

Commit 99595d0237926b5aba1fe4c844a011a1ba1ee1f8 forgot to intercept
sys_socketcall as well.

Signed-off-by: Nicolas Pitre &lt;nico@cam.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] 3308/1: old ABI compat: struct sockaddr_un</title>
<updated>2006-02-08T21:19:36Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2006-02-08T21:19:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99595d0237926b5aba1fe4c844a011a1ba1ee1f8'/>
<id>urn:sha1:99595d0237926b5aba1fe4c844a011a1ba1ee1f8</id>
<content type='text'>
Patch from Nicolas Pitre

struct sockaddr_un loses its padding with EABI.  Since the size of the
structure is used as a validation test in unix_mkname(), we need to
change the length argument to 110 whenever it is 112.

Signed-off-by: Nicolas Pitre &lt;nico@cam.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] safer handling of syscall table padding</title>
<updated>2006-01-19T12:57:01Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-01-19T12:57:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fa1b4f91d6374663cfb3c6fbe3d78fd03954a862'/>
<id>urn:sha1:fa1b4f91d6374663cfb3c6fbe3d78fd03954a862</id>
<content type='text'>
ARM entry-common.S needs to know syscall table size; in itself that would
not be a problem, but there's an additional constraint - some of the
instructions using it want a constant that would be a multiple of 4.
So we have to pad syscall table with sys_ni_syscall and that's where
the trouble begins.  .rept pseudo-op wants a constant expression for
number of repetitions and subtraction of two labels (before and after
syscall table) doesn't always get simplified to constant early enough
for .rept.  If labels end up in different frags, we lose.  And while
the frag size is large enough (slightly below 4Kb), the syscall table
is about 1/3 of that.  We used to get away with that, but the recent
changes had been enough to trigger the breakage.

Proper fix is simple: have a macro (CALL(x)) to populate the table
instead of using explicit .long x and the first time we include calls.S
have it defined to .equ NR_syscalls,NR_syscalls+1.  Then we can find
the proper amount of padding on the first inclusion simply by looking
at NR_syscalls at that time.  And that will be constant, no matter what.

Moreover, the same trick kills the need of having an estimate of padded
NR_syscalls - it will be calculated for free at the same time.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] 3110/5: old ABI compat: multi-ABI syscall entry support</title>
<updated>2006-01-14T16:36:12Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2006-01-14T16:36:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd35afc22b76766e827c9e67ebc4b7bf6e31ecab'/>
<id>urn:sha1:dd35afc22b76766e827c9e67ebc4b7bf6e31ecab</id>
<content type='text'>
Patch from Nicolas Pitre

This patch adds the required code to support both user space ABIs at
the same time. A second syscall table is created to include legacy ABI
syscalls that need an ABI compat wrapper.

Signed-off-by: Nicolas Pitre &lt;nico@cam.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] 3108/2: old ABI compat: statfs64 and fstatfs64</title>
<updated>2006-01-14T16:35:03Z</updated>
<author>
<name>Nicolas Pitre</name>
</author>
<published>2006-01-14T16:35:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=713c481519f19df9e6d90f257e7da0336b057592'/>
<id>urn:sha1:713c481519f19df9e6d90f257e7da0336b057592</id>
<content type='text'>
Patch from Nicolas Pitre

struct statfs64 has extra padding with EABI growing its size from 84 to
88. This struct is now __attribute__((packed,aligned(4))) with a small
assembly wrapper to force the sz argument to 84 if it is 88 to avoid
copying the extra padding over user space memory unexpecting it.

Signed-off-by: Nicolas Pitre &lt;nico@cam.org&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] Fix sys_sendto and sys_recvfrom 6-arg syscalls</title>
<updated>2005-12-17T15:25:42Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2005-12-17T15:25:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=567bd98017d9c9f2ac1c148ddc78c062e8abd398'/>
<id>urn:sha1:567bd98017d9c9f2ac1c148ddc78c062e8abd398</id>
<content type='text'>
Rather than providing more wrappers for 6-arg syscalls, arrange for
them to be supported as standard.  This just means that we always
store the 6th argument on the stack, rather than in the wrappers.

This means we eliminate the wrappers for:
* sys_futex
* sys_arm_fadvise64_64
* sys_mbind
* sys_ipc

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] 2896/1: Add sys_ipc_wrapper to pass 'fifth' argument on stack</title>
<updated>2005-09-13T21:55:00Z</updated>
<author>
<name>George G. Davis</name>
</author>
<published>2005-09-13T21:55:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34f521fd5552fff2a5f892f4c3dbc75e309ad63b'/>
<id>urn:sha1:34f521fd5552fff2a5f892f4c3dbc75e309ad63b</id>
<content type='text'>
Patch from George G. Davis

As pointed out be Matthew Klahn &lt;MKLAHN@motorola.com&gt;, some sys_ipc()
call options require six args, e.g. SEMTIMEDOP. This patch adds an ARM sys_ipc_wrapper to save the sys_ipc() 'fifth' arg on the stack.

Signed-off-by: George G. Davis &lt;gdavis@mvista.com&gt;
 arch/arm/kernel/calls.S        |    2 +-
 arch/arm/kernel/entry-common.S |    5 +++++
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] sys_mbind needs wrapping</title>
<updated>2005-09-09T17:35:12Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2005-09-09T17:35:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b9eb8c06177f07657ad35440b56cbf68e1d253b'/>
<id>urn:sha1:9b9eb8c06177f07657ad35440b56cbf68e1d253b</id>
<content type='text'>
sys_mbind is a 6-arg syscall, hence needs wrapping to save the
sixth argument.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] Add memory type based allocation syscalls</title>
<updated>2005-09-09T10:12:51Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2005-09-09T10:12:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c2c389307c03a35672c80725ccf7968656d87ef'/>
<id>urn:sha1:9c2c389307c03a35672c80725ccf7968656d87ef</id>
<content type='text'>
Add syscall numbers and syscall table entries for mbind,
set_mempolicy and get_mempolicy.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
</feed>
