android_kernel_oneplus_msm8998/arch/arm/kernel
Andy Lutomirski 351181cfa0 BACKPORT: seccomp: Add a seccomp_data parameter secure_computing()
Currently, if arch code wants to supply seccomp_data directly to
seccomp (which is generally much faster than having seccomp do it
using the syscall_get_xyz() API), it has to use the two-phase
seccomp hooks. Add it to the easy hooks, too.

Cc: linux-arch@vger.kernel.org
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit 2f275de5d1ed7269913ef9b4c64a13952c0a38e8)

Bug: 119769499
Change-Id: I96876ecd8d1743c289ecef6d2deb65361d1f5baa
[ghackmann@google.com: drop changes to parisc, tile, and um, which
 didn't implement seccomp support in this kernel version]
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2018-11-27 21:11:08 +00:00
..
.gitignore
arch_timer.c
armksyms.c ARM: 8479/2: add implementation for arm-smccc 2017-12-02 06:53:24 +00:00
asm-offsets.c Revert "ARM: Blacklist GCC 4.8.0 to GCC 4.8.2 - PR58854" 2016-02-16 13:54:16 -08:00
atags.h
atags_compat.c
atags_parse.c
atags_proc.c
bios32.c ARM/PCI: Move align_resource function pointer to pci_host_bridge structure 2015-11-25 13:23:38 -06:00
calls.S ARM: wire up mlock2 syscall 2015-11-18 11:20:24 +00:00
cpuidle.c ARM: cpuidle: Document the code 2015-03-25 09:53:43 +01:00
crash_dump.c
debug.S ARM: unify MMU/!MMU addruart calls 2015-05-20 23:09:51 +02:00
devtree.c ARM: 8616/1: dt: Respect property size when parsing CPUs 2016-10-07 15:23:40 +02:00
dma-isa.c
dma.c
early_printk.c
elf.c
entry-armv.S ARM: remove user cmpxchg syscall 2015-10-03 16:36:45 +01:00
entry-common.S BACKPORT: arm/syscalls: Optimize address limit check 2018-09-21 14:51:55 -07:00
entry-ftrace.S ARM: replace BSYM() with badr assembly macro 2015-05-08 17:33:50 +01:00
entry-header.S ARM: avoid faulting on qemu 2017-12-16 10:33:50 +01:00
entry-v7m.S ARM: 8340/1: ARMv7-M: Enlarge vector table up to 256 entries 2015-05-08 10:42:21 +01:00
fiq.c
fiqasm.S
ftrace.c ARM: 8668/1: ftrace: Fix dynamic ftrace with DEBUG_RODATA and !FRAME_POINTER 2018-03-24 10:58:41 +01:00
head-common.S
head-nommu.S ARM: 8383/1: nommu: avoid deprecated source register on mov 2015-06-12 21:18:48 +01:00
head.S Merge branch 'uaccess' into fixes 2015-09-11 19:18:28 +01:00
hibernate.c ARM: move reboot code to arch/arm/kernel/reboot.c 2015-04-02 09:50:45 +01:00
hw_breakpoint.c ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs 2017-01-26 08:23:49 +01:00
hyp-stub.S
insn.c
io.c
irq.c ARM: uniphier: add outer cache support 2015-10-27 09:20:50 +09:00
isa.c
iwmmxt.S
jump_label.c jump_label: Rename JUMP_LABEL_{EN,DIS}ABLE to JUMP_LABEL_{JMP,NOP} 2015-08-03 11:34:12 +02:00
kgdb.c ARM: kgdb: ignore breakpoint instructions from user mode 2016-02-16 13:52:25 -08:00
machine_kexec.c ARM: 8338/1: kexec: Relax SMP validation to improve DT compatibility 2015-04-02 09:59:43 +01:00
Makefile ARM: 8481/2: drivers: psci: replace psci firmware calls 2017-12-02 06:53:26 +00:00
module-plts.c ARM: 8364/1: fix BE32 module loading 2015-06-02 09:58:17 +01:00
module.c ARM: 8220/1: allow modules outside of bl range 2015-05-08 10:42:34 +01:00
module.lds ARM: 8220/1: allow modules outside of bl range 2015-05-08 10:42:34 +01:00
opcodes.c
patch.c ARM: probes: move all probe code to dedicate directory 2015-01-09 09:36:50 +00:00
perf_callchain.c
perf_event_v6.c arm: perf: factor arm_pmu core out to drivers 2015-07-31 15:01:14 +01:00
perf_event_v7.c arm: perf: factor arm_pmu core out to drivers 2015-07-31 15:01:14 +01:00
perf_event_xscale.c arm: perf: factor arm_pmu core out to drivers 2015-07-31 15:01:14 +01:00
perf_regs.c perf: Move task_pt_regs sampling into arch code 2015-01-09 11:12:28 +01:00
pj4-cp0.c ARM: 8452/3: PJ4: make coprocessor access sequences buildable in Thumb2 mode 2017-05-14 13:32:54 +02:00
process.c BACKPORT: exit_thread: accept a task parameter to be exited 2018-02-05 08:58:29 -08:00
psci_smp.c ARM: Remove __ref on hotplug cpu die path 2015-10-22 09:55:03 -07:00
ptrace.c BACKPORT: seccomp: Add a seccomp_data parameter secure_computing() 2018-11-27 21:11:08 +00:00
reboot.c ARM: add option to flush console before reboot 2016-02-16 13:54:02 -08:00
reboot.h ARM: move reboot code to arch/arm/kernel/reboot.c 2015-04-02 09:50:45 +01:00
relocate_kernel.S
return_address.c ARM: 8328/1: remove empty preprocessor #else branch 2015-03-28 16:54:53 +00:00
setup.c BACKPORT: ARM: 8583/1: mm: fix location of _etext 2016-09-06 15:51:59 +00:00
signal.c BACKPORT: arm/syscalls: Optimize address limit check 2018-09-21 14:51:55 -07:00
sigreturn_codes.S
sleep.S ARM: fix new BSYM() usage introduced via for-arm-soc branch 2015-06-12 21:19:35 +01:00
smccc-call.S ARM: 8479/2: add implementation for arm-smccc 2017-12-02 06:53:24 +00:00
smp.c ARM: 8439/1: Fix backtrace generation when IPI is masked 2015-10-03 16:40:51 +01:00
smp_scu.c
smp_tlb.c ARM: 8613/1: Fix the uaccess crash on PB11MPCore 2017-01-26 08:23:49 +01:00
smp_twd.c ARM: clean up TWD after previous patch 2015-10-09 16:22:53 +01:00
stacktrace.c
suspend.c ARM: 8248/1: pm: remove outdated comment 2015-01-21 15:58:57 +00:00
swp_emulate.c ARM: 8475/1: SWP emulation: Restore original *data when failed 2015-12-15 11:51:42 +00:00
sys_arm.c
sys_oabi-compat.c arm: oabi compat: add missing access checks 2016-08-16 09:30:48 +02:00
tcm.c ARM: 8388/1: tcm: Don't crash when TCM banks are protected by TrustZone 2015-06-06 10:37:28 +01:00
thumbee.c
time.c clocksource: cosmetic: Drop OF 'dependency' from symbols 2015-10-01 02:18:39 +02:00
topology.c arm: Fix #if/#ifdef typo in topology.c 2016-09-09 15:55:43 -07:00
traps.c ARM: 8771/1: kprobes: Prohibit kprobes on do_undefinstr 2018-05-26 08:48:56 +02:00
unwind.c
v7m.c
vdso.c This is the 4.4.134 stable release 2018-05-30 13:25:24 +02:00
vmlinux.lds.S UPSTREAM: arch, ftrace: for KASAN put hard/soft IRQ entries into separate sections 2017-12-14 08:26:37 -08:00
xscale-cp0.c