opnsense-src/lib/libcasper/services
Alan Somers 0125d6a23b libcasper: document that most libcasper functions are not thread-safe
And neither are most libcasper services' functions, because internally
they all use cap_xfer_nvlist.  cap_xfer_nvlist sends and then receives
data over a unix domain socket and associated with the cap_channel_t
argument.  So absent synchronization, two threads may not use the same
cap_channel_t argument or they risk receiving the other's reply.

Sponsored by:	Axcient
Reviewed by:	oshogbo
Differential Revision: https://reviews.freebsd.org/D42928

(cherry picked from commit cf037972ea8863e2bab7461d77345367d2c1e054)
2024-01-19 18:51:58 -07:00
..
cap_dns Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
cap_fileargs libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
cap_grp libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
cap_net libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
cap_netdb libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
cap_pwd libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
cap_sysctl libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
cap_syslog libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
Makefile.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00