linux_dsm_epyc7002/arch/arm64
Dave Martin bb4322f743 arm64: signal: factor out signal frame record allocation
This patch factors out the allocator for signal frame optional
records into a separate function, to ensure consistency and
facilitate later expansion.

No overrun checking is currently done, because the allocation is in
user memory and anyway the kernel never tries to allocate enough
space in the signal frame yet for an overrun to occur.  This
behaviour will be refined in future patches.

The approach taken in this patch to allocation of the terminator
record is not very clean: this will also be replaced in subsequent
patches.

For future extension, a comment is added in sigcontext.h
documenting the current static allocations in __reserved[].  This
will be important for determining under what circumstances
userspace may or may not see an expanded signal frame.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-06-20 12:42:59 +01:00
..
boot arm64: dts: hikey: Fix WiFi support 2017-05-23 14:18:10 +02:00
configs arm64: defconfig: enable options needed for QCom DB410c board 2017-05-19 00:01:37 -07:00
crypto Revert "crypto: arm64/sha - Add constant operand modifier to ASM_EXPORT" 2017-04-24 16:09:50 +08:00
include arm64: signal: factor out signal frame record allocation 2017-06-20 12:42:59 +01:00
kernel arm64: signal: factor out signal frame record allocation 2017-06-20 12:42:59 +01:00
kvm arm64: KVM: Do not use stack-protector to compile EL2 code 2017-05-15 11:31:16 +02:00
lib arm64: switch to RAW_COPY_USER 2017-03-28 18:23:24 -04:00
mm arm64/dma-mapping: Remove extraneous null-pointer checks 2017-06-15 11:40:22 +01:00
net bpf, arm64: fix faulty emission of map access in tail calls 2017-05-11 12:41:31 -04:00
xen xen/privcmd: Add IOCTL_PRIVCMD_DM_OP 2017-02-14 15:13:43 -05:00
Kconfig arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT 2017-06-20 12:42:58 +01:00
Kconfig.debug arm64: relocation testing module 2017-04-04 17:03:32 +01:00
Kconfig.platforms mvebu arm64 for 4.12 2017-05-10 15:36:43 +02:00
Makefile arm64: ftrace: add support for far branches to dynamic ftrace 2017-06-07 11:52:02 +01:00