android_kernel_samsung_a7y1.../arch/arm
Timothy E Baldwin c5d8df2588 ARM: 8802/1: Call syscall_trace_exit even when system call skipped
[ Upstream commit f18aef742c8fbd68e280dff0a63ba0ca6ee8ad85 ]

On at least x86 and ARM64, and as documented in the ptrace man page
a skipped system call will still cause a syscall exit ptrace stop.

Previous to this commit 32-bit ARM did not, resulting in strace
being confused when seccomp skips system calls.

This change also impacts programs that use ptrace to skip system calls.

Fixes: ad75b51459ae ("ARM: 7579/1: arch/allow a scno of -1 to not cause a SIGILL")
Signed-off-by: Timothy E Baldwin <T.E.Baldwin99@members.leeds.ac.uk>
Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Kees Cook <keescook@chromium.org>
Tested-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 12:33:22 +02:00
..
boot ARM: tegra: apalis_t30: fix mmc1 cmd pull-up 2020-04-07 12:29:36 +02:00
common A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
configs USB: rio500: Remove Rio 500 kernel driver 2020-04-07 08:08:28 +02:00
crypto crypto: arm/aes-neonbs - don't access already-freed walk.iv 2020-04-06 18:12:55 +02:00
firmware A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
include ARM: spectre-v2: per-CPU vtables to work around big.Little systems 2020-04-07 09:57:47 +02:00
kernel ARM: 8802/1: Call syscall_trace_exit even when system call skipped 2020-04-07 12:33:22 +02:00
kvm KVM: arm/arm64: Only skip MMIO insn once 2020-04-06 21:34:29 +02:00
lib ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization 2020-04-07 09:57:34 +02:00
mach-alpine A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-asm9260 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-at91 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-axxia A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-bcm A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-berlin A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-clps711x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-cns3xxx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-davinci ARM: davinci: fix sleep.S build error on ARMv4 2020-04-06 20:39:09 +02:00
mach-digicolor A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-dove A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-ebsa110 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-efm32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-ep93xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-exynos ARM: exynos: Fix undefined instruction during Exynos5422 resume 2020-04-06 19:02:44 +02:00
mach-footbridge A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-gemini A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-highbank A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-hisi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-imx ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set 2020-04-07 12:27:28 +02:00
mach-integrator A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-iop13xx ARM: iop: don't use using 64-bit DMA masks 2020-04-06 16:42:32 +02:00
mach-iop32x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-iop33x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-ixp4xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-keystone A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-ks8695 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-lpc18xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-lpc32xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mediatek A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-meson A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mmp A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-moxart A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mv78xx0 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mvebu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-mxs A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-netx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-nomadik A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-nspire A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-omap1 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-omap2 ARM: OMAP2+: Fix missing reset done flag for am3 and am43 2020-04-07 09:24:04 +02:00
mach-orion5x A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-picoxcell A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-prima2 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-pxa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-qcom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-realview A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-rockchip A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-rpc ARM: riscpc: fix DMA 2020-04-06 20:26:38 +02:00
mach-s3c24xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-s3c64xx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-s5pv210 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-sa1100 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-shmobile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-socfpga A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-spear A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-sti A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-stm32 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-sunxi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-tegra A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-u300 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-uniphier A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-ux500 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-versatile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-vexpress A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-vt8500 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-w90x900 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-zx A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mach-zynq ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up 2020-04-07 07:40:23 +02:00
mm ARM: fix the cockup in the previous patch 2020-04-07 09:57:52 +02:00
net A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nwfpe A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
oprofile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plat-iop ARM: iop: don't use using 64-bit DMA masks 2020-04-06 16:42:32 +02:00
plat-omap A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plat-orion ARM: orion: don't use using 64-bit DMA masks 2020-04-06 16:42:30 +02:00
plat-pxa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
plat-samsung ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms 2020-04-06 15:20:24 +02:00
plat-versatile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
probes A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tools A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vdso A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vfp ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc 2020-04-07 09:57:37 +02:00
xen A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig ARM: 8510/1: rework ARM_CPU_SUSPEND dependencies 2020-04-06 12:51:57 +02:00
Kconfig-nommu A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig.debug A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30