mirror_zfs/lib/libspl/include/os/linux/sys
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
..
ia32 x86 asm: Replace .align with .balign 2023-01-24 09:04:39 -08:00
byteorder.h Reduce false positives from Static Analyzers 2022-09-30 15:30:12 -07:00
errno.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mnttab.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mount.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
param.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stat.h Validate mountpoint on path-based unmount using statx 2025-11-03 13:51:00 -08:00
sysmacros.h Replace P2ALIGN with P2ALIGN_TYPED and delete P2ALIGN. 2024-05-13 10:27:38 -05:00
zfs_context_os.h Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00