linux-uconsole/arch/arm64/kernel
AKASHI Takahiro 210957c2bb arm64: add seccomp support
Note: This patch is from v6 of Takahiro's proposed
"arm64: add seccomp support" patchset (leecam@google.com)

secure_computing() is called first in syscall_trace_enter() so that a system
call will be aborted quickly without doing succeeding syscall tracing,
contrary to other cases, if seccomp rules deny that system call.

On compat task, syscall numbers for system calls allowed in seccomp mode 1
are different from those on normal tasks, and so _NR_seccomp_xxx_32's need
to be redefined.

Signed-off-by: AKASHI Takahiro <takahiro.akashi <at> linaro.org>

Conflicts:
	arch/arm64/Kconfig
	arch/arm64/kernel/entry.S

Change-Id: I5ec44507d7e536df7ec9d62d30a418c26ef15100
2014-10-07 15:37:32 -07:00
..
vdso arm64: vdso: remove broken, redundant sequence counting for timezones 2013-01-10 10:43:43 +00:00
.gitignore arm64: Build infrastructure 2012-09-17 13:42:21 +01:00
arm64ksyms.c arm64: kernel: compiling issue, need 'EXPORT_SYMBOL(clear_page)' 2013-05-24 17:31:03 +01:00
asm-offsets.c
cputable.c arm64: CPU support 2012-09-17 13:41:59 +01:00
debug-monitors.c arm64: debug: consolidate software breakpoint handlers 2014-09-12 13:32:28 -07:00
early_printk.c arm64: Fix duplicate definition of early_console 2013-05-13 11:44:53 +01:00
entry-fpsimd.S arm64: add support for kernel mode NEON in interrupt context 2014-08-28 10:22:27 -07:00
entry.S arm64: add seccomp support 2014-10-07 15:37:32 -07:00
fpsimd.c arm64: fix bug for reloading FPSIMD state after cpu power off 2014-09-03 07:41:11 -07:00
head.S arm64: head: match all affinity levels in the pen of the secondaries 2013-03-20 18:09:42 +00:00
hw_breakpoint.c arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h 2014-09-17 18:21:04 -07:00
hyp-stub.S arm64: add hypervisor stub 2012-12-05 11:26:49 +00:00
io.c arm64: Device specific operations 2012-09-17 13:42:04 +01:00
irq.c arm64: Use irqchip_init() for interrupt controller initialisation 2013-03-26 16:02:23 +00:00
kuser32.S arm64: Add __NR_* definitions for compat syscalls 2014-09-17 17:59:28 -07:00
Makefile arm64: emulate the swp/swpb instruction 2014-09-12 17:29:47 -07:00
module.c arm64: Loadable modules 2012-09-17 13:42:19 +01:00
opcodes.c arm64: copy conditional instruction tests from arm 2014-09-12 13:32:56 -07:00
perf_event.c perf: arm64: Record the user-mode PC in the call chain. 2013-06-20 10:16:39 +01:00
process.c arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h 2014-09-17 18:21:04 -07:00
psci.c arm64: psci: add support for PSCI invocations from the kernel 2013-01-29 16:56:37 +00:00
ptrace.c arm64: add seccomp support 2014-10-07 15:37:32 -07:00
setup.c arm64: restrict effects of ARMV7_COMPAT_CPUINFO to ARMv7 tasks 2014-09-12 17:30:11 -07:00
signal.c arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h 2014-09-17 18:21:04 -07:00
signal32.c arm64: add SIGSYS siginfo for compat task 2014-10-07 15:31:24 -07:00
smp.c Main features: 2013-04-30 10:10:48 -07:00
smp_psci.c arm64: psci: Use the MPIDR values from cpu_logical_map for cpu ids. 2013-03-26 11:58:10 +00:00
smp_spin_table.c arm64: SMP: rework the SMP code to be enabling method agnostic 2013-01-29 16:56:37 +00:00
stacktrace.c arm64: Exception handling 2012-09-17 10:24:46 +01:00
swp_emulate.c arm64: fix SWP instruction emulation 2014-09-12 17:29:56 -07:00
sys.c arm64: switch to generic sigaltstack 2013-02-14 09:17:29 -05:00
sys32.S unify compat fanotify_mark(2), switch to COMPAT_SYSCALL_DEFINE 2013-05-09 13:46:38 -04:00
sys_compat.c arm64: Add __NR_* definitions for compat syscalls 2014-09-17 17:59:28 -07:00
time.c ARM: convert arm/arm64 arch timer to use CLKSRC_OF init 2013-04-11 15:11:15 -05:00
traps.c arm64: kernel: check mode for get_user in undefinstr 2014-09-12 17:29:43 -07:00
vdso.c arm64: vdso: remove broken, redundant sequence counting for timezones 2013-01-10 10:43:43 +00:00
vmlinux.lds.S arm64: Build infrastructure 2012-09-17 13:42:21 +01:00