Files
mirror_zfs/lib/libzfs
Ryan Moeller 22df2457a7 Avoid core dump on invalid redaction bookmark
libzfs aborts and dumps core on EINVAL from the kernel when trying to
do a redacted send with a bookmark that is not a redaction bookmark.

Move redacted bookmark validation into libzfs.

Check if the bookmark given for redactions is actually a redaction
bookmark.  Print an error message and exit gracefully if it is not.

Don't abort on EINVAL in zfs_send_one.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #10138
2020-03-18 12:54:12 -07:00
..
2014-08-28 07:59:43 -07:00
2019-09-02 17:53:27 -07:00
2020-03-06 09:28:19 -08:00
2020-03-04 15:07:11 -08:00
2019-10-03 10:33:16 -07:00
2019-09-02 17:53:27 -07:00