linux-kernelorg-stable/arch/s390/include/asm
Sven Schnelle bae1cd368c s390/entry: add support for syscall stack randomization
This adds support for adding a random offset to the stack while handling
syscalls. The patch uses get_tod_clock_fast() as this is considered good
enough and has much less performance penalty compared to using
get_random_int(). The patch also adds randomization in pgm_check_handler()
as the sigreturn/rt_sigreturn system calls might be called from there.

Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Link: https://lore.kernel.org/r/20210429091451.1062594-1-svens@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-04-30 17:20:39 +02:00
..
fpu s390: convert to generic entry 2021-01-19 12:29:26 +01:00
trace
vdso s390/vdso: fix tod_steering_delta type 2021-03-25 21:57:25 +01:00
Kbuild local64.h: make <asm/local64.h> mandatory 2020-12-29 15:36:49 -08:00
airq.h
alternative-asm.h
alternative.h s390/alternatives: add alternative_input() / alternative_io() 2021-02-09 15:57:06 +01:00
ap.h s390/ap: remove unneeded semicolon 2021-02-09 15:57:04 +01:00
appldata.h
archrandom.h s390/crypto: add arch_get_random_long() support 2020-12-10 21:02:08 +01:00
asm-const.h
asm-prototypes.h
atomic.h s390/atomic,cmpxchg: switch to use atomic-instrumented.h 2021-04-12 12:46:43 +02:00
atomic_ops.h s390/atomic,cmpxchg: make constraints work with old compilers 2021-04-15 17:47:42 +02:00
barrier.h
bitops.h s390/bitops: make bitops only work on longs 2021-04-12 12:46:42 +02:00
boot_data.h
bug.h
bugs.h
cache.h
ccwdev.h s390/cio: remove duplicate struct ccw1 declaration 2021-04-05 11:30:57 +02:00
ccwgroup.h
checksum.h
chpid.h
chsc.h
cio.h for-5.11/drivers-2020-12-14 2020-12-16 13:09:32 -08:00
clocksource.h
clp.h
cmb.h
cmpxchg.h s390/atomic,cmpxchg: always inline __xchg/__cmpxchg 2021-04-18 21:32:02 +02:00
compat.h
cpacf.h
cpcmd.h
cpu.h
cpu_mcf.h s390/cpumf: move counter set size calculation to common place 2021-04-30 17:17:00 +02:00
cpu_mf-insn.h
cpu_mf.h
cpufeature.h
cputime.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
crw.h
css_chars.h
ctl_reg.h
current.h
debug.h
delay.h s390/delay: remove udelay_simple() 2020-12-16 14:55:49 +01:00
diag.h
dis.h
dma.h
dwarf.h
eadm.h
ebcdic.h
elf.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
entry-common.h s390/entry: add support for syscall stack randomization 2021-04-30 17:20:39 +02:00
exec.h
extable.h
extmem.h
facility.h Fix "ordering" comment typos 2021-01-29 10:12:33 -06:00
fcx.h
ftrace.h
futex.h
gmap.h
hardirq.h softirq: Move __ARCH_HAS_DO_SOFTIRQ to Kconfig 2021-02-10 23:34:16 +01:00
hugetlb.h
hw_irq.h
idals.h
idle.h s390/time,idle: get rid of unsigned long long 2021-03-08 10:46:27 +01:00
io.h
ipl.h
irq.h
irq_work.h s390/smp: implement arch_irq_work_raise() 2021-02-24 00:31:22 +01:00
irqflags.h
isc.h
itcw.h
jump_label.h
kasan.h
kdebug.h
kexec.h
kprobes.h
kvm_host.h KVM: Raise the maximum number of user memslots 2021-02-09 08:17:08 -05:00
kvm_para.h
linkage.h
livepatch.h
lowcore.h s390: add stack for machine check handler 2021-02-13 17:17:53 +01:00
mem_detect.h
mem_encrypt.h
mmu.h
mmu_context.h asm-generic: mmu-context cleanup 2020-12-15 23:58:04 -08:00
mmzone.h
module.h
nmi.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
nospec-branch.h
nospec-insn.h
numa.h
os_info.h
page-states.h
page.h
pci.h s390/pci: rename zpci_configure_device() 2021-04-30 17:17:00 +02:00
pci_clp.h
pci_debug.h
pci_dma.h
pci_insn.h
pci_io.h
percpu.h
perf_event.h
pgalloc.h s390/mm: fix phys vs virt confusion in pgtable allocation routines 2021-02-24 00:31:22 +01:00
pgtable.h s390/mm: fix invalid __pa() usage in pfn_pXd() macros 2021-02-24 00:31:22 +01:00
pkey.h
pnet.h
preempt.h s390: remove asmlinkage 2021-01-19 12:29:26 +01:00
processor.h s390: pass struct pt_regs instead of registers to syscalls 2021-01-19 12:29:27 +01:00
ptdump.h
ptrace.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
purgatory.h
qdio.h s390/qdio: let driver manage the QAOB 2021-03-22 11:36:05 +01:00
runtime_instr.h
schid.h
sclp.h
scsw.h s390: Simplify the calculation of variables 2021-02-09 15:57:04 +01:00
seccomp.h
sections.h
serial.h
set_memory.h
setup.h
shmparam.h
signal.h
sigp.h
smp.h
sparsemem.h
spinlock.h s390/spinlock: use R constraint in inline assembly 2021-04-12 12:46:43 +02:00
spinlock_types.h s390/spinlock: remove align attribute from arch_spinlock_t 2021-03-28 20:23:54 +02:00
stacktrace.h s390/unwind: add machine check handler stack 2021-04-05 11:30:07 +02:00
stp.h
string.h
switch_to.h
syscall.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
syscall_wrapper.h s390: pass struct pt_regs instead of registers to syscalls 2021-01-19 12:29:27 +01:00
sysinfo.h
termios.h
thread_info.h s390/thread_info.h: fix task_struct declaration warning 2021-02-09 15:57:04 +01:00
timex.h s390/time,idle: get rid of unsigned long long 2021-03-08 10:46:27 +01:00
tlb.h s390/tlb: make cleared_pXs flags consistent with generic code 2021-01-19 12:29:25 +01:00
tlbflush.h
topology.h
uaccess.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
unistd.h
unwind.h
uprobes.h
user.h
uv.h s390: uv: Fix sysfs max number of VCPUs reporting 2021-01-27 13:00:04 +01:00
vdso.h s390/vdso: implement generic vdso time namespace support 2021-02-09 15:57:05 +01:00
vga.h
vmalloc.h
vmlinux.lds.h
vtime.h s390: convert to generic entry 2021-01-19 12:29:26 +01:00
vtimer.h
vx-insn.h
xor.h