[PATCH v5 3/3] arm64: Add seccomp support
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2014-07-24 15:16:50
Also in:
lkml
From: catalin.marinas@arm.com (Catalin Marinas)
Date: 2014-07-24 15:16:50
Also in:
lkml
On Thu, Jul 24, 2014 at 04:00:03PM +0100, Andy Lutomirski wrote:
On Jul 23, 2014 10:40 PM, "AKASHI Takahiro" [off-list ref] wrote:quoted
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