linux/arch/sh/include/asm
Al Viro 5fdb54270f sh: sanitize the flags on sigreturn
[ Upstream commit 573b22ccb7 ]

We fetch %SR value from sigframe; it might have been modified by signal
handler, so we can't trust it with any bits that are not modifiable in
user mode.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: Rich Felker <dalias@libc.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-30 12:49:19 +02:00
..
adc.h
addrspace.h
alignment.h
asm-offsets.h
atomic-grb.h
atomic-irq.h
atomic-llsc.h
atomic.h
barrier.h
bitops-cas.h
bitops-grb.h
bitops-llsc.h
bitops-op32.h provide arch_test_bit_acquire for architectures that define test_bit 2022-08-27 09:49:54 -07:00
bitops.h include: move find.h from asm_generic to linux 2022-01-15 08:47:31 -08:00
bl_bit_32.h
bl_bit.h
bug.h
bugs.h
cache_insns_32.h
cache_insns.h
cache.h
cacheflush.h Add linux/cacheflush.h 2021-11-17 10:36:15 -05:00
checksum_32.h
checksum.h
clock.h
cmpxchg-cas.h
cmpxchg-grb.h
cmpxchg-irq.h
cmpxchg-llsc.h
cmpxchg-xchg.h
cmpxchg.h
device.h
dma-register.h
dma.h PCI: Move isa_dma_bridge_buggy out of asm/dma.h 2022-07-22 17:24:47 -05:00
dmabrg.h
dwarf.h
elf.h
entry-macros.S
extable.h
fb.h
fixmap.h
flat.h
fpu.h
freq.h
ftrace.h
futex-cas.h
futex-irq.h
futex-llsc.h
futex.h
gpio.h
hardirq.h
hd64461.h
heartbeat.h
hugetlb.h mm: change huge_ptep_clear_flush() to return the original pte 2022-05-13 16:48:55 -07:00
hw_breakpoint.h perf/hw_breakpoint: Optimize constant number of breakpoint slots 2022-08-30 10:56:22 +02:00
hw_irq.h
i2c-sh7760.h
io_generic.h
io_noioport.h
io_trapped.h
io.h sh: convert nommu io{re,un}map() to static inline functions 2022-07-03 15:42:32 -07:00
irq.h sh: Cleanup about SPARSE_IRQ 2021-10-27 16:50:52 -04:00
irqflags.h
Kbuild
kdebug.h
kexec.h
kgdb.h
kprobes.h
linkage.h
machvec.h
mmiowb.h
mmu_context_32.h
mmu_context.h
mmu.h
mmzone.h
module.h
page.h
pci.h PCI: Remove pci_get_legacy_ide_irq() and asm-generic/pci.h 2022-07-22 17:23:45 -05:00
perf_event.h
pgalloc.h
pgtable_32.h arch: Add pmd_pfn() where it is missing 2022-03-21 12:59:02 -04:00
pgtable-2level.h
pgtable-3level.h sh: pgtable-3level: Fix cast to pointer from integer of different size 2021-10-27 16:56:34 -04:00
pgtable.h sh/mm: enable ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:41 -07:00
platform_early.h
posix_types.h
processor_32.h sh: sanitize the flags on sigreturn 2023-03-30 12:49:19 +02:00
processor.h sh: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
ptrace_32.h
ptrace.h
push-switch.h
reboot.h
romimage-macros.h
rtc.h
seccomp.h
sections.h sh: machvec: Use char[] for section boundaries 2022-09-13 10:33:17 -07:00
setup.h
sfp-machine.h sh: define __BIG_ENDIAN for math-emu 2021-10-27 16:51:24 -04:00
sh_bios.h
sh7760fb.h
shmparam.h
siu.h
smc37c93x.h
smp-ops.h
smp.h
sparsemem.h
spi.h
spinlock_types.h locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h 2021-12-07 15:14:12 +01:00
spinlock-cas.h
spinlock-llsc.h
spinlock.h
sram.h
stackprotector.h
stacktrace.h
string_32.h
string.h
suspend.h
switch_to_32.h
switch_to.h
syscall_32.h
syscall.h
syscalls_32.h
syscalls.h
thread_info.h flexible-array transformations for 5.18-rc1 2022-03-24 11:39:32 -07:00
timex.h
tlb.h
tlbflush.h
topology.h
traps_32.h
traps.h
types.h
uaccess_32.h
uaccess.h sh: remove CONFIG_SET_FS support 2022-02-25 09:36:06 +01:00
uncached.h
unistd.h
unwinder.h
user.h asm/user.h: killed unused macros 2022-01-30 21:17:00 -05:00
vermagic.h
vga.h
vmalloc.h
vmlinux.lds.h
watchdog.h
word-at-a-time.h