freebsd-src/sys/riscv
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
..
conf sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +01:00
include Pass the syscall number to capsicum permission-denied signals 2021-07-10 17:19:52 +01:00
riscv Pass the syscall number to capsicum permission-denied signals 2021-07-10 17:19:52 +01:00
sifive riscv: Fix build by using the correct device-tree include path 2021-01-16 11:31:39 +01:00