From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Kees Cook <keescook@chromium.org>
Cc: Andy Lutomirski <luto@amacapital.net>,
Paul Moore <paul@paul-moore.com>,
Richard Weinberger <richard@nod.at>,
libseccomp-discuss@lists.sourceforge.net,
Will Drewry <wad@chromium.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"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 00:40:58 +0000 [thread overview]
Message-ID: <20131106004058.GU16735@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAGXu5jJreo001uBLV8oAgR_Z2WZK2qtH8YfvriQJVAQ4SgdRzw@mail.gmail.com>
On Tue, Nov 05, 2013 at 04:14:49PM -0800, Kees Cook wrote:
> I would agree: option 1 seems cleanest of the 3. 3 is sort of like a
> built-in automatic check for a mismatched arch, so maybe that works
> better?
>
> Alternatively, CONFIG_SECCOMP_FILTER could depend on
> !CONFIG_OABI_COMPAT. That seems like the least work, given the desire
> to kill OABI in the real world. (Though I would note that at least
> Ubuntu's ARM kernels build with CONFIG_OABI_COMPAT; Chrome OS does
> not.)
OABI compat is really only something you want to deal with if you have
a reason to run OABI programs on the kernel; it is in no way guaranteed
that the OABI programs will run properly (many ALSA programs will not
because of different layouts with ioctls).
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.
As a rule, distros should not be enabling OABI compat. OABI compat
is more something that a developer (like me) who has a reason to enable
it turns it on.
next prev parent reply other threads:[~2013-11-06 0:41 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 [this message]
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
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=20131106004058.GU16735@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=keescook@chromium.org \
--cc=libseccomp-discuss@lists.sourceforge.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--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®