mirror_zfs/lib/libspl
Ryan Moeller 2e05765006
FreeBSD: libspl: Add locking around statfs globals
Makes getmntent and getmntany thread-safe for external consumers of
libzfs zpool_disable_datasets, zfs_iter_mounted, libzfs_mnttab_update,
libzfs_mnttab_find.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <freqlabs@FreeBSD.org>
Closes #13484
2022-05-24 09:40:20 -07:00
..
include libspl/include: remove unused/empty headers 2022-05-18 12:10:43 -07:00
os FreeBSD: libspl: Add locking around statfs globals 2022-05-24 09:40:20 -07:00
assert.c Add --enable-asan and --enable-ubsan switches 2022-02-03 14:35:38 -08:00
atomic.c Clean up CSTYLEDs 2022-01-26 11:38:52 -08:00
getexecname.c libspl: lift common bits of getexecname() 2021-04-15 14:55:40 -07:00
libspl_impl.h libspl: lift common bits of getexecname() 2021-04-15 14:55:40 -07:00
list.c Fixing gang ABD child removal race condition 2020-07-14 11:04:35 -07:00
Makefile.am autoconf: use include directives instead of recursing down lib 2022-05-10 10:18:11 -07:00
mkdirp.c Fix typos in lib/ 2019-09-02 17:53:27 -07:00
page.c libspl: fix warning about missing spl_pagesize declaration 2021-09-24 16:59:26 -06:00
strlcat.c Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
strlcpy.c Check for strlcat and strlcpy 2018-12-11 16:01:41 -08:00
timestamp.c libspl: print_timestamp: use localtime_r() 2022-04-05 09:45:33 -07:00