mirror_zfs/lib
Ameer Hamza 21d5f25724 Validate mountpoint on path-based unmount using statx
Use statx to verify that path-based unmounts proceed only if the
mountpoint reported by statx matches the MNTTAB entry reported by
libzfs, aborting the operation if they differ. Align
`zfs umount /path` behavior with `zfs umount dataset`.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #17481
2025-08-05 12:27:25 -04:00
..
libavl cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libefi SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libicp icp: remove skein module 2024-05-31 15:13:39 -07:00
libnvpair SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libshare SPDX: license tags: BSD-2-Clause 2025-04-16 09:59:44 -07:00
libspl Validate mountpoint on path-based unmount using statx 2025-08-05 12:27:25 -04:00
libtpool SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libunicode cppcheck: explicitly exclude kernel code from userspace checks 2022-05-10 10:20:55 -07:00
libuutil SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzdb Provide macros for setting and getting blkptr birth times 2024-03-25 15:01:54 -07:00
libzfs Expose dataset encryption status via fast stat path 2025-06-17 10:49:40 -07:00
libzfs_core Expose dataset encryption status via fast stat path 2025-06-17 10:49:40 -07:00
libzfsbootenv SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libzpool abd_os: move headers from libzpool to libspl 2025-06-17 10:50:26 -07:00
libzstd libzstd: also build with LIBZPOOL_CPPFLAGS 2024-09-09 14:13:27 -07:00
libzutil SPDX: license tags: BSD-3-Clause 2025-04-16 09:59:44 -07:00
Makefile.am libzdb: Initial breakout of libzdb 2024-02-05 10:00:41 -08:00