android_kernel_oneplus_msm8998/arch/arm
Timothy E Baldwin 08fdf5bd19 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: ad75b51459 ("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>
2019-11-25 15:54:51 +01:00
..
boot ARM: tegra: apalis_t30: fix mmc1 cmd pull-up 2019-11-25 15:54:15 +01:00
common
configs USB: rio500: Remove Rio 500 kernel driver 2019-10-17 13:40:58 -07:00
crypto crypto: arm/aes-neonbs - don't access already-freed walk.iv 2019-06-11 12:23:41 +02:00
firmware
include ARM: spectre-v2: per-CPU vtables to work around big.Little systems 2019-11-10 11:21:37 +01:00
kernel ARM: 8802/1: Call syscall_trace_exit even when system call skipped 2019-11-25 15:54:51 +01:00
kvm KVM: arm/arm64: Only skip MMIO insn once 2019-09-10 10:29:49 +01:00
lib ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization 2019-11-10 11:21:35 +01:00
mach-alpine
mach-asm9260
mach-at91
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx ARM: cns3xxx: Fix writing to wrong PCI config registers after alignment 2019-02-06 19:43:07 +01:00
mach-davinci ARM: davinci: fix sleep.S build error on ARMv4 2019-08-25 10:52:49 +02:00
mach-digicolor
mach-dove
mach-ebsa110
mach-efm32
mach-ep93xx
mach-exynos ARM: exynos: Fix undefined instruction during Exynos5422 resume 2019-06-22 08:18:22 +02:00
mach-footbridge
mach-gemini
mach-highbank
mach-hisi ARM: hisi: check of_iomap and fix missing of_node_put 2018-09-26 08:35:09 +02:00
mach-imx ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set 2019-11-25 15:53:54 +01:00
mach-integrator gpio: pl061: handle failed allocations 2019-02-20 10:13:21 +01:00
mach-iop13xx ARM: iop: don't use using 64-bit DMA masks 2019-05-16 19:45:02 +02:00
mach-iop32x ARM: iop32x/n2100: fix PCI IRQ mapping 2019-02-20 10:13:19 +01:00
mach-iop33x
mach-ixp4xx
mach-keystone
mach-ks8695
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-mmp
mach-moxart
mach-mv78xx0
mach-mvebu ARM: mvebu: declare asm symbols as character arrays in pmsu.c 2018-10-10 08:52:06 +02:00
mach-mxs
mach-netx
mach-nomadik
mach-nspire
mach-omap1 ARM: OMAP1: ams-delta: Fix possible use of uninitialized field 2018-12-17 21:55:09 +01:00
mach-omap2 ARM: OMAP2+: Fix missing reset done flag for am3 and am43 2019-10-29 09:13:18 +01:00
mach-orion5x
mach-picoxcell
mach-prima2
mach-pxa ARM: pxa: avoid section mismatch warning 2019-02-20 10:13:09 +01:00
mach-qcom
mach-realview
mach-rockchip
mach-rpc ARM: riscpc: fix DMA 2019-08-06 18:28:24 +02:00
mach-s3c24xx ARM: s3c24xx: Fix boolean expressions in osiris_dvs_notify 2019-03-23 08:44:38 +01:00
mach-s3c64xx
mach-s5pv210
mach-sa1100
mach-shmobile
mach-socfpga
mach-spear
mach-sti
mach-stm32
mach-sunxi
mach-tegra
mach-u300
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress
mach-vt8500
mach-w90x900
mach-zx
mach-zynq ARM: zynq: Use memcpy_toio instead of memcpy on smp bring-up 2019-10-05 12:27:53 +02:00
mm ARM: fix the cockup in the previous patch 2019-11-10 11:21:38 +01:00
net
nwfpe
oprofile
plat-iop ARM: iop: don't use using 64-bit DMA masks 2019-05-16 19:45:02 +02:00
plat-omap ARM: OMAP: Fix dmtimer init for omap1 2018-05-30 07:49:00 +02:00
plat-orion ARM: orion: don't use using 64-bit DMA masks 2019-05-16 19:45:02 +02:00
plat-pxa ARM: pxa: ssp: unneeded to free devm_ allocated data 2019-03-23 08:44:27 +01:00
plat-samsung ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms 2019-04-27 09:33:58 +02:00
plat-versatile
probes
tools
vdso
vfp ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc 2019-11-10 11:21:35 +01:00
xen
Kconfig ARM: 8481/2: drivers: psci: replace psci firmware calls 2019-11-10 11:21:16 +01:00
Kconfig-nommu
Kconfig.debug
Makefile