android_kernel_oneplus_msm8998/arch/arm64/include/asm
Kees Cook 3308a2cca1 arm64/uaccess: Enable hardened usercopy
Enables CONFIG_HARDENED_USERCOPY checks on arm64. As done by KASAN in -next,
renames the low-level functions to __arch_copy_*_user() so a static inline
can do additional work before the copy.

Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit faf5b63e294151d6ac24ca6906d6f221bd3496cd)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
2016-08-27 11:23:38 +08:00
..
xen
acenv.h
acpi.h arm64: kernel: implement ACPI parking protocol 2016-05-11 22:19:17 +08:00
alternative.h arm64: switch to relative exception tables 2016-05-11 23:18:44 +08:00
arch_gicv3.h irqchip/gic-v3: Add missing include for barrier.h 2015-12-10 19:13:26 +01:00
arch_timer.h
arm-cci.h
asm-offsets.h
assembler.h arm64: introduce mov_q macro to move a constant into a 64-bit register 2016-07-29 18:59:49 +02:00
atomic.h arm64 updates for 4.4: 2015-11-04 14:47:13 -08:00
atomic_ll_sc.h arm64: cmpxchg_dbl: fix return value type 2015-11-05 17:29:40 +00:00
atomic_lse.h arm64: lse: deal with clobbered IP registers after branch via PLT 2016-05-12 08:41:18 +08:00
barrier.h arm64: barriers: fix smp_load_acquire to work with const arguments 2015-11-18 18:06:43 +00:00
bitops.h
bitrev.h
boot.h arm64: allow kernel Image to be loaded anywhere in physical memory 2016-05-11 22:52:47 +08:00
brk-imm.h arm64: move brk immediate argument definitions to separate header 2016-05-11 22:52:50 +08:00
bug.h arm64: move brk immediate argument definitions to separate header 2016-05-11 22:52:50 +08:00
cache.h arm64: Increase the max granular size 2015-10-28 19:09:17 +00:00
cacheflush.h Merge branch 'v4.4/topic/mm-kaslr' into linux-linaro-lsk-v4.4 2016-05-12 09:25:41 +08:00
cachetype.h arm64: cachetype: fix definitions of ICACHEF_* flags 2015-10-28 18:32:12 +00:00
cmpxchg.h arm64: cmpxchg: Don't incldue linux/mmdebug.h 2016-05-11 15:57:04 +08:00
compat.h arm64: do not include ptrace.h from compat.h 2015-11-17 13:24:36 +00:00
compiler.h
cpu.h arm64: add ARMv8.2 id_aa64mmfr2 boiler plate 2016-05-11 22:19:22 +08:00
cpu_ops.h
cpufeature.h arm64: kernel: Don't toggle PAN on systems with UAO 2016-05-11 22:19:24 +08:00
cpuidle.h
cputype.h arm64: cpufeature: Change read_cpuid() to use sysreg's mrs_s macro 2016-05-11 22:19:22 +08:00
dcc.h ARM64: TTY: hvc_dcc: Add support for ARM64 dcc 2015-10-04 17:49:27 +01:00
debug-monitors.h arm64: move brk immediate argument definitions to separate header 2016-05-11 22:52:50 +08:00
device.h
dma-mapping.h arm64: simplify dma_get_ops 2015-11-17 12:05:18 +00:00
dmi.h
efi.h
elf.h Merge tag 'v4.4.14' into linux-linaro-lsk-v4.4 2016-06-27 12:18:01 +08:00
esr.h
exception.h
exec.h
fb.h
fixmap.h arm64: mm: add functions to walk tables in fixmap 2016-05-11 22:19:14 +08:00
fpsimd.h
fpsimdmacros.h
ftrace.h arm64: ftrace: fix a stack tracer's output under function graph tracer 2016-05-11 17:01:06 +08:00
futex.h arm64: switch to relative exception tables 2016-05-11 23:18:44 +08:00
hardirq.h arm64: kernel: implement ACPI parking protocol 2016-05-11 22:19:17 +08:00
hugetlb.h arm64: hugetlb: add support for PTE contiguous bit 2016-05-11 17:01:04 +08:00
hw_breakpoint.h arm64: debug: Treat the BRPs/WRPs as unsigned 2015-11-26 18:08:36 +00:00
hwcap.h arm64/HWCAP: Use system wide safe values 2015-10-21 15:35:58 +01:00
hypervisor.h
insn.h
io.h Revert "arm64: ioremap: add ioremap_cache macro" 2015-10-13 16:18:17 +01:00
irq.h arm64: remove irq_count and do_softirq_own_stack() 2016-05-11 17:01:05 +08:00
irq_work.h
irqflags.h
jump_label.h
kasan.h arm64: move kernel image to base of vmalloc area 2016-05-11 22:52:46 +08:00
Kbuild
kernel-pgtable.h arm64: allow kernel Image to be loaded anywhere in physical memory 2016-05-11 22:52:47 +08:00
kgdb.h
kvm_arm.h arm/arm64: KVM: Improve kvm_exit tracepoint 2015-10-22 23:01:47 +02:00
kvm_asm.h arm64: allow kernel Image to be loaded anywhere in physical memory 2016-05-11 22:52:47 +08:00
kvm_coproc.h
kvm_emulate.h arm64: KVM: Get rid of old vcpu_reg() 2015-12-04 16:30:03 +00:00
kvm_host.h arm64: kvm: deal with kernel symbols outside of linear mapping 2016-05-11 22:51:21 +08:00
kvm_mmio.h
kvm_mmu.h
kvm_psci.h
linkage.h
lse.h arm64: lse: deal with clobbered IP registers after branch via PLT 2016-05-12 08:41:18 +08:00
memblock.h
memory.h arm64: mm: treat memstart_addr as a signed quantity 2016-05-12 08:41:36 +08:00
mmu.h arm64: mm: rewrite ASID allocator and MM context-switching code 2015-10-07 11:55:41 +01:00
mmu_context.h arm64: mm: add code to safely replace TTBR1_EL1 2016-05-11 22:19:11 +08:00
module.h arm64: add support for kernel ASLR 2016-05-11 23:18:45 +08:00
neon.h
opcodes.h arm64: opcodes.h: Add arm big-endian config options before including arm header 2016-04-20 15:41:55 +09:00
page.h arm64: Add 16K page size support 2015-10-19 17:55:12 +01:00
pci.h
percpu.h
perf_event.h
pgalloc.h arm64: mm: add __{pud,pgd}_populate 2016-05-11 22:19:14 +08:00
pgtable-hwdef.h Merge tag 'v4.4.12' into linux-linaro-lsk-v4.4 2016-06-02 12:18:55 +08:00
pgtable-types.h
pgtable.h Merge tag 'v4.4.12' into linux-linaro-lsk-v4.4 2016-06-02 12:18:55 +08:00
proc-fns.h
processor.h arm64: kernel: Add support for User Access Override 2016-05-11 22:19:23 +08:00
ptrace.h arm64: Rework valid_user_regs 2016-07-27 09:47:33 -07:00
seccomp.h
shmparam.h arm64: fix COMPAT_SHMLBA definition for large pages 2016-05-11 15:56:34 +08:00
signal32.h
smp.h arm64: kernel: implement ACPI parking protocol 2016-05-11 22:19:17 +08:00
smp_plat.h
sparsemem.h
spinlock.h arm64: spinlock: serialise spin_unlock_wait against concurrent lockers 2016-05-11 15:56:35 +08:00
spinlock_types.h
stackprotector.h
stacktrace.h arm64: ftrace: fix a stack tracer's output under function graph tracer 2016-05-11 17:01:06 +08:00
stat.h
string.h arm64: add KASAN support 2015-10-12 17:46:36 +01:00
suspend.h
sync_bitops.h
syscall.h
sysreg.h arm64: kernel: Add support for User Access Override 2016-05-11 22:19:23 +08:00
system_misc.h
thread_info.h arm64: Remove the get_thread_info() function 2016-05-11 22:19:24 +08:00
timex.h
tlb.h arm64: tlbflush: avoid flushing when fullmm == 1 2015-10-07 11:56:21 +01:00
tlbflush.h arm64: tlb: remove redundant barrier from __flush_tlb_pgtable 2015-10-07 11:56:33 +01:00
topology.h
traps.h
uaccess.h arm64/uaccess: Enable hardened usercopy 2016-08-27 11:23:38 +08:00
unistd.h arm64: compat: wire up new syscalls 2015-10-14 13:51:41 +01:00
unistd32.h arm64: compat: wire up new syscalls 2015-10-14 13:51:41 +01:00
vdso.h
vdso_datapage.h
virt.h
word-at-a-time.h arm64: switch to relative exception tables 2016-05-11 23:18:44 +08:00