Messages in this thread | | | Date | Thu, 24 Jul 2014 16:16:28 +0100 | From | Catalin Marinas <> | Subject | Re: [PATCH v5 3/3] arm64: Add seccomp support |
| |
On Thu, Jul 24, 2014 at 04:00:03PM +0100, Andy Lutomirski wrote: > On Jul 23, 2014 10:40 PM, "AKASHI Takahiro" <takahiro.akashi@linaro.org> wrote: > > when I implemented audit for arm64, the assumptions were > > * If userspace is LE, then the kernel is also LE and if BE, then the kernel is BE. > > * the syscall numbers and how arguments are encoded are the same btw BE and LE. > > So syscall_get_arch() always return the same value. > > If arm64 ever adds support for mixed-endian userspace, this could > become awkward. Hmm.
I really doubt we would ever support mixed endian user space. Too many problems with translating syscalls, futexes (someone looked into this and gave up eventually).
-- Catalin
| |