freebsd-dev/lib
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
..
atf
clang Merge llvm-project 12.0.1 rc2 2021-06-19 20:09:28 +02:00
csu
flua
geom gconcat: Implement new online append feature 2021-06-14 11:42:03 -06:00
googletest
lib9p
lib80211
libalias
libarchive
libauditd
libbe zfs: unbreak build broken in 160388166 2021-06-08 22:21:11 +02:00
libbearssl
libbegemot
libblacklist
libblocksruntime
libbluetooth
libbsdstat
libbsm
libbsnmp pkgbase: Put the mibs and defs in the bnsmp package 2021-06-19 17:50:03 +02:00
libbz2
libc Pass the syscall number to capsicum permission-denied signals 2021-07-10 17:19:52 +01:00
libc_nonshared
libc++ Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
libc++experimental
libcalendar
libcam
libcapsicum
libcasper libcasper: fix descriptors numbers 2021-06-10 12:41:29 +02:00
libclang_rt Merge llvm-project 12.0.1 rc2 2021-06-19 20:09:28 +02:00
libcom_err
libcompat
libcompiler_rt
libcrypt
libcuse
libcxxrt
libdevctl
libdevdctl
libdevinfo
libdevstat
libdl
libdpv
libdwarf
libedit
libefivar
libelf
libelftc
libevent1
libexecinfo
libexpat
libfetch
libfigpar
libgcc_eh
libgcc_s Export various 128 bit long double functions from libgcc_s.so.1 2021-06-14 21:17:05 +02:00
libgeom [skip ci] correct a few SPDX license tags 2021-07-07 13:52:20 -06:00
libgpio
libgssapi
libiconv_modules
libifconfig
libipsec
libipt
libjail
libkiconv
libkvm libkvm: Fix build after removeal of p_tracevp 2021-05-22 16:36:54 +03:00
libldns
liblua
liblutok
liblzma
libmagic
libmd
libmemstat
libmilter
libmp
libmt
libnetbsd
libnetgraph
libnetmap
libngatm
libnv
libomp Merge llvm-project 12.0.0 release 2021-06-13 22:01:15 +02:00
libopenbsd
libopencsd
libopie
libpam
libpathconv
libpcap
libpe
libpfctl libpfctl: migrate to DIOCGETSTATESV2 2021-07-09 10:29:57 +02:00
libpjdlog
libpmc libpmc: Import AMD Zen 3 PMU events 2021-06-30 18:21:23 -03:00
libpmcstat
libproc
libprocstat VFS_QUOTACTL(9): allow implementation to indicate busy state changes 2021-05-30 14:53:47 -07:00
libradius libradius: fix no SSL build 2021-06-02 17:25:37 -07:00
libregex
librpcsec_gss
librpcsvc
librss
librt
librtld_db
libsbuf
libsdp
libsecureboot
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libssp
libssp_nonshared
libstats
libstdbuf
libstdthreads
libsysdecode
libtacplus
libtelnet
libthr
libthread_db
libucl
libufs
libugidfw
libulog
libunbound
libusb Improve handling of USB device re-open in the LibUSB v1.x API. 2021-06-11 17:06:44 +02:00
libusbhid
libutil
libveriexec
libvgl
libvmmapi
libwrap
libxo
liby
libypclnt
libz
libzstd
msun math(3): Use the .Fa macro for function arguments 2021-07-09 19:51:44 +02:00
ncurses
ofed
tests
Makefile Remove lib/kyua from the build 2021-07-02 10:18:00 +01:00
Makefile.inc