opnsense-src/sys/arm
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
..
allwinner armv7: allwinner: Add aw_r_intc driver 2021-07-05 11:38:23 +02:00
altera/socfpga arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
annapurna/alpine Remove versatile support 2021-04-12 06:16:31 +00:00
arm Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
broadcom/bcm2835 rpi_ft5406: Recognize raspberrypi,firmware-ts touchscreen 2021-05-09 12:13:19 +02:00
cloudabi32 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
conf arm: remove fslsdma from GENERIC 2021-07-09 11:21:40 -06:00
freescale newbus: Move from bus_child_{pnpinfo,location}_src to bus_child_{pnpinfo,location} with sbuf 2021-06-22 20:52:06 -06:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
linux linux(4): Regen for linux_poll system call. 2021-06-22 08:09:55 +03:00
mv mvebu_gpio: Fix settings of gpio pin direction. 2021-03-07 11:41:30 +01:00
nvidia tegra_pcie: use switch instead of if in tegra_pcib_pex_ctrl 2021-07-01 20:09:46 +02:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti arm: TI am335x ehrpwm fix bitmask 2021-06-14 10:38:06 +02:00
xilinx arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00