opnsense-src/sys/arm64
David Chisnall cf98bc28d3 Pass the syscall number to capsicum permission-denied signals
The syscall number is stored in the same register as the syscall return
on amd64 (and possibly other architectures) and so it is impossible to
recover in the signal handler after the call has returned.  This small
tweak delivers it in the `si_value` field of the signal, which is
sufficient to catch capability violations and emulate them with a call
to a more-privileged process in the signal handler.

This reapplies 3a522ba1bc with a fix for
the static assertion failure on i386.

Approved by:	markj (mentor)

Reviewed by:	kib, bcr (manpages)

Differential Revision: https://reviews.freebsd.org/D29185
2021-07-16 18:06:44 +01:00
..
acpica arm64/acpi: Give the real PA limit to ACPI 2020-08-26 02:12:15 +00:00
arm64 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
broadcom genet: pullup minimum header amount for IPv4 2021-06-26 11:04:02 -05:00
cavium Remove ThunderX PCIe FDT quirks from pci_host_generic_fdt.c 2021-06-08 17:51:11 +02:00
cloudabi32 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
cloudabi64 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
conf Add virtio_scsi to the arm64 GENERIC config 2021-07-14 20:13:10 +00:00
coresight arm64: clean up empty lines in .c and .h files 2020-09-01 21:18:06 +00:00
freescale/imx imx7gpc: Remove unused functions 2020-11-16 11:54:38 +00:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
intel Add support for Intel Stratix 10 platform. 2019-09-13 16:50:57 +00:00
iommu Move IOMMU code to a separate pmap module and switch ARM System MMU 2021-04-27 19:16:09 +01:00
linux Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
nvidia/tegra210 arm64: Directly use #include <dt-binding/...> 2021-01-15 20:07:19 +01:00
qoriq qoriq_dw_pci: disable LS1028A support 2021-05-14 10:50:17 +02:00
qualcomm Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
rockchip rk3328_cru: fix a typo in the SCLK_I2S2 gate definition 2021-06-09 12:41:52 +03:00