mirror_zfs/tests/zfs-tests/tests
Marc Sladek cc184fe98b
Fix send:raw permission for send -w -I
When performing an incremental raw send with intermediates (-w -I),
the standard 'send' permission was incorrectly required instead of
allowing 'send:raw'. This was due to a strict boolean comparison on
the 'rawok' flag in zfs_secpolicy_send() with non-boolean value.

This change normalizes the 'rawok' variable to be strictly 0/1 and
updates the test suite to properly verify delegated raw send behavior.

Introduced-by: https://github.com/openzfs/zfs/pull/17543
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Marc Sladek <marc@sladek.dev>
Closes #18198
Closes #18193
2026-02-11 10:30:26 -08:00
..
functional Fix send:raw permission for send -w -I 2026-02-11 10:30:26 -08:00
perf Double quote variables to prevent globbing and word splitting 2025-04-30 21:15:19 -04:00
Makefile.am Allow rewrite skip cloned and snapshotted blocks 2026-02-09 10:17:56 -08:00