<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/kernel/elf.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-01-18T14:12:11Z</updated>
<entry>
<title>ARM: 5883/1: Revert "disable NX support for OABI-supporting kernels"</title>
<updated>2010-01-18T14:12:11Z</updated>
<author>
<name>Rabin Vincent</name>
</author>
<published>2010-01-18T14:04:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7b22962776109b5bfe3a3efa4f42622318c547d'/>
<id>urn:sha1:a7b22962776109b5bfe3a3efa4f42622318c547d</id>
<content type='text'>
This reverts commit 14f0aa359365e8a93a77b71e3b840274b9b4dcb1.

That commit was needed earlier because system call restarting for
OABI (compat) required an executable stack and thus had problems
with NX.  Since ab72b00734ae4d0b ("ARM: Fix signal restart issues
with NX and OABI compat") has reworked the code to not require an
executable stack anymore, we can re-enable NX support for kernels
with OABI (compat) support.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] disable NX support for OABI-supporting kernels</title>
<updated>2009-05-23T10:36:20Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2009-05-23T10:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=14f0aa359365e8a93a77b71e3b840274b9b4dcb1'/>
<id>urn:sha1:14f0aa359365e8a93a77b71e3b840274b9b4dcb1</id>
<content type='text'>
Our signal syscall restart handling for these kernels still uses
the userspace stack to build code for restarting the syscall.
Unfortunately, fixing this is non-trivial, and so for the time
being, we resolve the problem by disabling NX support.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] 5404/1: Fix condition in arm_elf_read_implies_exec() to set READ_IMPLIES_EXEC</title>
<updated>2009-02-19T14:45:27Z</updated>
<author>
<name>Makito SHIOKAWA</name>
</author>
<published>2009-02-19T14:34:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9da616fb9946c8d65387052e5a538b8f54ddb292'/>
<id>urn:sha1:9da616fb9946c8d65387052e5a538b8f54ddb292</id>
<content type='text'>
READ_IMPLIES_EXEC must be set when:
o binary _is_ an executable stack (i.e. not EXSTACK_DISABLE_X)
o processor architecture is _under_ ARMv6 (XN bit is supported from ARMv6)

Signed-off-by: Makito SHIOKAWA &lt;lkhmkt@gmail.com&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] fix VFP+softfloat binaries</title>
<updated>2008-11-04T15:02:09Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2008-11-02T09:16:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d2ed5cb80a241518dd71f467c884bfabbe15f68c'/>
<id>urn:sha1:d2ed5cb80a241518dd71f467c884bfabbe15f68c</id>
<content type='text'>
2.6.28-rc tightened up the ELF architecture checks on ARM.  For
non-EABI it only allows VFP if the hardware supports it.  However,
the kernel fails to also inspect the soft-float flag, so it
incorrectly rejects binaries using soft-VFP.

The fix is simple: also check that EF_ARM_SOFT_FLOAT isn't set
before rejecting VFP binaries on non-VFP hardware.

Acked-by: Mikael Pettersson &lt;mikpe@it.uu.se&gt;
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[ARM] Improve non-executable support</title>
<updated>2008-10-01T15:41:10Z</updated>
<author>
<name>Russell King</name>
</author>
<published>2008-09-07T16:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ec53663d2698076468b3e1edc4e1b418bd54de3'/>
<id>urn:sha1:8ec53663d2698076468b3e1edc4e1b418bd54de3</id>
<content type='text'>
Add support for detecting non-executable stack binaries, and adjust
permissions to prevent execution from data and stack areas.  Also,
ensure that READ_IMPLIES_EXEC is enabled for older CPUs where that
is true, and for any executable-stack binary.

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