opnsense-src/lib/libcasper
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
..
libcasper libcasper: document that most libcasper functions are not thread-safe 2024-01-19 18:51:58 -07:00
services 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.inc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00