[Libguestfs] [PATCH] tests: simple test for execstack supermin

Richard W.M. Jones rjones at redhat.com
Mon May 12 19:59:29 UTC 2014


On Mon, May 12, 2014 at 07:00:11PM +0200, Pino Toscano wrote:
> On Friday 09 May 2014 22:19:02 Richard W.M. Jones wrote:
> > So I will have to apply the same fix to the OCaml ARM compiler too.
> 
> Judging from the Debian build logs of pristine supermin 5.1.8, 
> architecture affected were for sure arm, mips, powerpc.

The patch is quite simple.  Here is the ARM & aarch64 patch that I
applied to Fedora:

https://git.fedorahosted.org/cgit/fedora-ocaml.git/commit/?id=64da031fc17ca93efd5beabcf0b7ea49bcd645a0

You might also have to patch the emit code (but x86 & ARM 32 & 64 bit
at least already have this).  Line 863 at:

https://git.fedorahosted.org/cgit/fedora-ocaml.git/tree/asmcomp/amd64/emit.mlp?id=64da031fc17ca93efd5beabcf0b7ea49bcd645a0#n863

Note also Xavier's comment about why he only fixed Linux/ELF/x86
originally:

http://caml.inria.fr/mantis/view.php?id=4564#c4548

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list