mirror_zfs/lib/libspl/include/os
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
..
freebsd Only provide execvpe(3) when needed 2024-07-17 14:54:46 -07:00
linux/sys Validate mountpoint on path-based unmount using statx 2025-11-03 13:51:00 -08:00