zfs/lib/libspl/os/linux
Ameer Hamza 523d9d6007
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-07-08 22:10:00 -04:00
..
getexecname.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
gethostid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
getmntany.c Validate mountpoint on path-based unmount using statx 2025-07-08 22:10:00 -04:00
zone.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00