freebsd-nq/sys/mips
David Chisnall 3a522ba1bc 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.

Approved by:	markj (mentor)

Reviewed by:	kib, bcr (manpages)

Differential Revision: https://reviews.freebsd.org/D29185
2021-07-10 17:19:52 +01:00
..
atheros
beri
broadcom [mips/broadcom] set sysctl "hw.model" by SoC ChipCommon ID 2021-05-28 23:35:37 +03:00
cavium
conf Move mips and arm to 1000Hz by default. 2021-06-16 20:00:14 -06:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-10 17:19:52 +01:00
ingenic
malta
mediatek mtk: Add printing of CPU model 2021-06-11 14:28:54 -06:00
mips Pass the syscall number to capsicum permission-denied signals 2021-07-10 17:19:52 +01:00
nlm crypto: Add a new type of crypto buffer for a single mbuf. 2021-05-25 16:59:18 -07:00