Bug 157870 - please stabilise paxctl-0.4 on remaining arches
Bug#: 157870 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mips@gentoo.org Reported By: kevquinn@gentoo.org
Component: Core system
URL: 
Summary: please stabilise paxctl-0.4 on remaining arches
Keywords:  STABLEREQ
Status Whiteboard: 
Opened: 2006-12-11 16:18 0000
Description:   Opened: 2006-12-11 16:18 0000
Affected arches on CC.

paxctl-0.4 adds the '-C' option.  This new functionality adds a PT_PAX_FLAGS
header where one did not exist before (useful for pre-built binaries).  It's
the last piece of functionality need before the old EI flags (which strictly
speaking contravene the ELF specification) can be phased out.

This method is more invasive than the others.  Typically, ELF files do not have
any spare room in their Program Header table, and also typically the header is
included in the PT_LOAD sections (i.e. the header is included as part of the
process image).  The -C option deals with this by extending the process image
downwards by one page, reducing the base load address by one page and adjusting
offsets in the ELF file so that the code etc in the process image remains at
its original location.

You can check this if you have a binary not built with the Gentoo toolchain
(which always adds a PT_PAX_FLAGS header).  I've tested it on amd64 with
dev-java/sun-jdk, and the results seem to be fine there.  For other arches, I
don't know of any packages that are not built by Gentoo and are provided only
in binary form.

If you need me to provide detailed instructions on how to check that the new
functionality works (i.e. beyond that it just emerges ok), just say and I'll
write something up.

------- Comment #1 From solar 2006-12-11 16:32:47 0000 -------
Stable on amd64.
sparc, hppa and mips remain.
hppa and mips have never had any version in stable.

------- Comment #2 From Mike Doty 2006-12-11 22:32:57 0000 -------
*** Bug 157869 has been marked as a duplicate of this bug. ***

------- Comment #3 From Ferris McCormick 2006-12-12 04:40:53 0000 -------
Seems good on sparc.  Sparc stable.

------- Comment #4 From Jeroen Roovers 2006-12-12 06:58:52 0000 -------
Stable for HPPA.

------- Comment #5 From solar 2007-03-11 20:11:32 0000 -------
Kumba.. poke..

------- Comment #6 From Jakub Moc (RETIRED) 2008-02-12 22:39:02 0000 -------
Closing wrt http://www.gentoo.org/news/20080210-mips-experimental-arch.xml