mirror_zfs/lib/libspl/include
Ameer Hamza a5ba57ad82 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-11-03 13:51:00 -08:00
..
os Validate mountpoint on path-based unmount using statx 2025-11-03 13:51:00 -08:00
rpc Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
sys Add SIMD metadata in /proc on Linux 2024-11-05 15:43:52 -08:00
assert.h Add custom debug printing for your asserts 2024-11-18 11:44:05 -08:00
atomic.h Add membar_sync 2022-09-20 15:32:44 -07:00
libgen.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
libshare.h Make zfs-share service resilient to stale exports 2022-09-09 10:54:16 -07:00
Makefile.am Add SHA2 SIMD feature tests for libspl 2023-03-02 13:52:15 -08:00
statcommon.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stdlib.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
string.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
umem.h Use __attribute__((malloc)) on memory allocation functions 2023-05-26 15:47:52 -07:00
unistd.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zone.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00