freebsd-src/lib/libcasper/libcasper
Alan Somers cf037972ea 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.

MFC after:	2 weeks
Sponsored by:	Axcient
Reviewed by:	oshogbo
Differential Revision: https://reviews.freebsd.org/D42928
2023-12-08 09:22:39 -07:00
..
libcasper_impl.c Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libcasper_impl.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libcasper_service.3 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
libcasper_service.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
libcasper_service.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
libcasper.3 libcasper: document that most libcasper functions are not thread-safe 2023-12-08 09:22:39 -07:00
libcasper.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
libcasper.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
service.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
zygote.c lib: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
zygote.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00