diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2014-04-22 16:40:36 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-14 01:39:54 +0200 |
commit | f2d0801f00b7aff0ac6b3666cbcdab499267418a (patch) | |
tree | e8dc06a5b5db6daaca8dd466d86432d905370fd9 /arch/mips/mm/tlb-funcs.S | |
parent | MIPS: Wire up renameat2 syscall. (diff) | |
download | linux-f2d0801f00b7aff0ac6b3666cbcdab499267418a.tar.xz linux-f2d0801f00b7aff0ac6b3666cbcdab499267418a.zip |
MIPS: Add new AUDIT_ARCH token for the N32 ABI on MIPS64
A MIPS64 kernel may support ELF files for all 3 MIPS ABIs
(O32, N32, N64). Furthermore, the AUDIT_ARCH_MIPS{,EL}64 token
does not provide enough information about the ABI for the 64-bit
process. As a result of which, userland needs to use complex
seccomp filters to decide whether a syscall belongs to the o32 or n32
or n64 ABI. Therefore, a new arch token for MIPS64/n32 is added so it
can be used by seccomp to explicitely set syscall filters for this ABI.
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Eric Paris <eparis@redhat.com>
Acked-by: Paul Moore <pmoore@redhat.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: linux-mips@linux-mips.org
Link: http://sourceforge.net/p/libseccomp/mailman/message/32239040/
Patchwork: https://patchwork.linux-mips.org/patch/6818/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mm/tlb-funcs.S')
0 files changed, 0 insertions, 0 deletions