Re: [PATCH v10 0/6] arm64: add seccomp support

From: Kees Cook
Date: Mon Dec 01 2014 - 14:21:15 EST

On Fri, Nov 28, 2014 at 10:43 AM, Will Deacon <will.deacon@xxxxxxx> wrote:
> On Fri, Nov 28, 2014 at 05:26:33AM +0000, AKASHI Takahiro wrote:
>> This patch series enables secure computing (system call filtering) on arm64,
>> and contains related enhancements and bug fixes.
>> NOTE: This versions contain a workaround against possible BUG_ON() failure
>> at audit_syscall_exit(), but doesn't contain an extra optimization, as I
>> submitted for arm, of excluding syscall enter/exit tracing against invalid
>> system calls due to an issue that I reported in:
>> The code was tested on ARMv8 fast model with 64-bit/32-bit userspace using:
>> * libseccomp v2.1.1 with modifications for arm64, especially its "live"
>> tests: No.20, 21 and 24.
>> * modified version of Kees' seccomp test for 'changing/skipping a syscall'
>> and seccomp() system call
>> * in-house tests for 'changing/skipping a system call' by tracing with
>> ptrace(SETREGSET, NT_SYSTEM_CALL) (that is, not via seccomp filter)'
>> with and without audit tracing.
>> Changes v9 -> v10:
>> * modified system_call_get() for big-endian build [1/6]
>> * modified the way to check for syscall(-1) on syscall entry [2/6]
> Applied, thanks.

Yay! Thanks for all the revisions on this. I'll start preparing some
patches to use the generic seccomp.h file now...


Kees Cook
Chrome OS Security
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at