1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00
freebsd/share/man
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
..
man1
man3 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
man3lua
man4 igc(4): Correct the man page section 2021-07-13 15:14:24 +02:00
man5 mk: LZMA_SUPPORT is unused 2021-07-10 10:53:35 -06:00
man6
man7 man7: Update FreeBSD.org URLs 2021-07-04 22:07:23 +08:00
man8
man9 Add some missing osd.9 MLINKs 2021-07-16 12:13:51 -04:00
Makefile