opnsense-src/share/man/man3
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
..
arb.3 Add copyrights that I forgot to add when splitting arb.h off from tree.h. 2019-10-15 19:44:43 +00:00
assert.3 assert.3: Document static_assert and _Static_assert 2021-04-20 11:17:44 +02:00
ATOMIC_VAR_INIT.3 Escape Ed to prevent mandoc to avoid confusion with the mdoc's Ed macros 2014-12-26 21:11:33 +00:00
bitstring.3 Fix various, mostly minor errors in man pages like: 2020-05-03 10:15:58 +00:00
CMSG_DATA.3 CMSG_DATA.3: Fix formatting of printf escape sequences 2020-03-13 11:07:48 +00:00
end.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
fpgetround.3 multiple: Remove 3rd clause from BSD license where approved by the 2014-03-14 03:07:51 +00:00
intro.3 intro(3): Update the list of included libraries 2020-10-06 10:51:47 +00:00
makedev.3 Provide more detailed specification for major(), minor() and makedev(). 2017-08-05 07:52:15 +00:00
Makefile assert.3: Document static_assert and _Static_assert 2021-04-20 11:17:44 +02:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
offsetof.3 Silence mandoc lint. 2014-07-29 19:41:00 +00:00
pthread.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_affinity_np.3 Remove "All rights reserved" from my files. 2018-05-10 06:41:08 +00:00
pthread_atfork.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_attr.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_attr_affinity_np.3 Remove "All rights reserved" from my files. 2018-05-10 06:41:08 +00:00
pthread_attr_get_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_attr_setcreatesuspend_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_barrier_destroy.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_barrierattr.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_cancel.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_cleanup_pop.3 Correct a typo: this is the manpage for pthread_cleanup_pop, not push. 2014-10-27 15:45:37 +00:00
pthread_cleanup_push.3 Clarify that pthread_cleanup_push()/pop() are implemented as macros that 2014-10-25 19:31:34 +00:00
pthread_cond_broadcast.3
pthread_cond_destroy.3
pthread_cond_init.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_cond_signal.3
pthread_cond_timedwait.3
pthread_cond_wait.3 More places to clarify the robustness guarantees. 2019-08-07 17:51:40 +00:00
pthread_condattr.3 Fix pthread_condattr(3) type 2017-11-30 07:15:32 +00:00
pthread_create.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_detach.3
pthread_equal.3
pthread_exit.3 Xref pthread_cancel... 2014-03-16 01:17:09 +00:00
pthread_getconcurrency.3 Fixing a typo. 2013-04-15 03:02:55 +00:00
pthread_getcpuclockid.3 Grammar fixes. 2016-08-04 11:38:53 +00:00
pthread_getspecific.3 Added description of POSIX-specified behavior when invoked on a key from within that key's destructor. 2015-05-19 02:24:55 +00:00
pthread_getthreadid_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_join.3 Add pthread_peekjoin_np(3). 2020-02-15 23:25:39 +00:00
pthread_key_create.3
pthread_key_delete.3
pthread_kill.3
pthread_main_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_multi_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_mutex_consistent.3 More places to clarify the robustness guarantees. 2019-08-07 17:51:40 +00:00
pthread_mutex_destroy.3
pthread_mutex_init.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_mutex_lock.3 Clarify the robustness guarantees. 2019-08-07 17:46:07 +00:00
pthread_mutex_timedlock.3 More places to clarify the robustness guarantees. 2019-08-07 17:51:40 +00:00
pthread_mutex_trylock.3 Clarify the robustness guarantees. 2019-08-07 17:46:07 +00:00
pthread_mutex_unlock.3 Add implementation of robust mutexes, hopefully close enough to the 2016-05-17 09:56:22 +00:00
pthread_mutexattr.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_mutexattr_getkind_np.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_once.3
pthread_resume_all_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_resume_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_rwlock_destroy.3
pthread_rwlock_init.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_rwlock_rdlock.3
pthread_rwlock_timedrdlock.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_rwlock_timedwrlock.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_rwlock_unlock.3
pthread_rwlock_wrlock.3
pthread_rwlockattr_destroy.3
pthread_rwlockattr_getpshared.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_rwlockattr_init.3 sort SEE ALSO 2014-12-26 22:41:10 +00:00
pthread_rwlockattr_setpshared.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_schedparam.3 POSIX compliance improvements in the pthread(3) functions. 2018-08-18 01:05:38 +00:00
pthread_self.3
pthread_set_name_np.3 Add pthread_getname_np() and pthread_setname_np() aliases for 2020-06-10 22:13:24 +00:00
pthread_setspecific.3 Provide an unambiguous description of the potential hazard in calling 2015-05-28 16:18:41 +00:00
pthread_sigmask.3
pthread_spin_init.3 Remove mentions that PTHREAD_PROCESS_SHARED is not supported from man pages. 2016-05-31 21:16:34 +00:00
pthread_spin_lock.3
pthread_suspend_all_np.3 Warn about consequences of suspending threads in arbitrary state of 2016-05-05 10:22:19 +00:00
pthread_suspend_np.3 Fix typo ESRC -> ESRCH in pthread man pages. 2016-05-31 21:09:42 +00:00
pthread_switch_add_np.3 use .Mt to mark up email addresses consistently (part6) 2014-06-23 08:27:27 +00:00
pthread_testcancel.3 Add clock_nanosleep() 2017-03-19 00:51:12 +00:00
pthread_yield.3
Q_FRAWMASK.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_IFRAWMASK.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_INI.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_IRAWMASK.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_QABS.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_QADDI.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_QADDQ.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_SIGNED.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
Q_SIGNSHFT.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
qmath.3 Introduce <sys/qmath.h>, a fixed-point math library from Netflix. 2019-08-27 11:46:22 +00:00
queue.3 Introduce arb(3), the Array-based Red-Black Tree macros: similar 2019-09-14 19:23:46 +00:00
sigevent.3 sigevent(3): Fix a typo 2020-10-10 12:06:39 +00:00
siginfo.3 Pass the syscall number to capsicum permission-denied signals 2021-07-16 18:06:44 +01:00
stats.3 Expand stats(3) man page to add a caveat regarding HZ. 2019-12-02 21:03:09 +00:00
stdarg.3 Add HISTORY sections to tree(3), stdarg(3) and sigevent(3) 2020-02-26 19:16:23 +00:00
sysexits.3
tgmath.3 Fix a typographical error. 2015-01-06 23:04:41 +00:00
timeradd.3 Fix various, mostly minor errors in man pages like: 2020-05-03 10:15:58 +00:00
tree.3 tree.3: Bump date after 363450 (WAVL) 2020-07-27 11:42:22 +00:00