mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikael Pettersson <mikpelinux@gmail.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Kees Cook <keescook@chromium.org>, Will Drewry <wad@chromium.org>,
	Paul Moore <paul@paul-moore.com>,
	Richard Weinberger <richard@nod.at>,
	"linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Andy Lutomirski <luto@amacapital.net>,
	libseccomp-discuss@lists.sourceforge.net,
	"linux-arm-kernel\@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: ARM audit, seccomp, etc are broken wrt OABI syscalls
Date: Wed, 6 Nov 2013 10:52:11 +0100	[thread overview]
Message-ID: <21114.4427.769890.875410@gargle.gargle.HOWL> (raw)
In-Reply-To: <20131106004058.GU16735@n2100.arm.linux.org.uk>

Russell King - ARM Linux writes:
 > OABI compat was meant to allow a transition from OABI to EABI.  While
 > a lot of effort went in to the kernel side of that, which does allow
 > OABI based userspace to boot with an EABI kernel, and allows OABI built
 > test programs to run under an EABI kernel, actually being able to
 > migrate userland is far from trivial - and something that I've never
 > been able to do.  Hence, virtually all my long-running ARM machines
 > here are stuck with OABI, and I don't see that situation ever changing.

I did a live incremental upgrade from OABI to EABI on my systems years
ago.  What I did was to first patch my OABI glibc to look for .so files
in oabi/ subdirectories.  Then I moved all OABI .so files to oabi/
subdirectories, and deleted all OABI static .a libraries.  After that
it was "simply" a matter of rebuilding everything as EABI, in the right
order.  The main advantage over this compared to a bootstrap-from-scratch
(which I've done 4 times on different architectures) was that I had access
to fully functional utilities and build tools from the start.

I _might_ be able to locate the glibc patch I used; do you want it?

/Mikael

  parent reply	other threads:[~2013-11-06  9:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 22:36 Andy Lutomirski
2013-11-06  0:14 ` Kees Cook
2013-11-06  0:40   ` Russell King - ARM Linux
2013-11-06  3:22     ` Andy Lutomirski
2013-11-07 12:55       ` Henrique de Moraes Holschuh
2013-11-07 17:54         ` Kees Cook
2013-11-07 19:04           ` Henrique de Moraes Holschuh
2013-11-06  9:52     ` Mikael Pettersson [this message]
2013-11-06 22:30   ` Matt Sealey
2013-11-06 22:33     ` Andy Lutomirski
2013-11-06 15:32 ` [libseccomp-discuss] " Eric Paris
2013-11-06 15:51   ` Russell King - ARM Linux
2013-11-06 21:20     ` Will Drewry
2013-11-06 21:26       ` Kees Cook
2013-11-06 21:49         ` Andy Lutomirski
2013-11-06 22:17         ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21114.4427.769890.875410@gargle.gargle.HOWL \
    --to=mikpelinux@gmail.com \
    --cc=keescook@chromium.org \
    --cc=libseccomp-discuss@lists.sourceforge.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=luto@amacapital.net \
    --cc=paul@paul-moore.com \
    --cc=richard@nod.at \
    --cc=wad@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®