opnsense-src/sys/amd64
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 acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
amd64 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01: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 pccard: remove pccard device from all kernels 2021-07-13 20:39:31 -06:00
ia32 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
linux Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
linux32 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm vmm: Fix AMD-vi using wrong rid range 2021-07-14 01:53:10 +08:00
Makefile