On Thu, Jul 24, 2014 at 04:00:03PM +0100, Andy Lutomirski wrote: > On Jul 23, 2014 10:40 PM, "AKASHI Takahiro" <takahiro.aka...@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/