mirror_zfs/lib/libspl/include
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
..
os Validate mountpoint on path-based unmount using statx 2025-08-05 12:27:25 -04:00
rpc SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
sys abd_os: move headers from libzpool to libspl 2025-06-17 10:50:26 -07:00
assert.h Cleanup VERIFY() macros (#17163) 2025-05-28 16:00:28 -07:00
atomic.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libgen.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
libshare.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
Makefile.am abd_os: move headers from libzpool to libspl 2025-06-17 10:50:26 -07:00
statcommon.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
stdlib.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
string.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
umem.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
unistd.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00
zone.h SPDX: license tags: CDDL-1.0 2025-04-16 09:59:44 -07:00