Tom Caputi d9c460a0b6 Added encryption support for zfs recv -o / -x
One small integration that was absent from b52563 was
support for zfs recv -o / -x with regards to encryption
parameters. The main use cases of this are as follows:

* Receiving an unencrypted stream as encrypted without
  needing to create a "dummy" encrypted parent so that
  encryption can be inheritted.

* Allowing users to change their keylocation on receive,
  so long as the receiving dataset is an encryption root.

* Allowing users to explicitly exclude or override the
  encryption property from an unencrypted properties stream,
  allowing it to be received as encrypted.

* Receiving a recursive heirarchy of unencrypted datasets,
  encrypting the top-level one and forcing all children to
  inherit the encryption.

Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Signed-off-by: Tom Caputi <tcaputi@datto.com>
Closes #7650
2018-08-15 09:48:49 -07:00
..
2018-05-29 16:00:33 -07:00
2018-05-29 16:00:33 -07:00
2017-10-05 19:28:00 -07:00
2016-01-08 15:08:19 -08:00
2018-08-02 10:21:48 -07:00
2018-08-02 10:21:48 -07:00
2014-07-29 10:55:29 -07:00
2013-11-04 11:17:48 -08:00
2017-01-03 11:31:18 -06:00
2017-12-07 10:28:50 -08:00
2017-10-11 16:54:48 -04:00
2018-05-29 16:00:33 -07:00
2016-04-21 09:49:25 -07:00
2016-06-07 09:16:52 -07:00
2016-06-24 13:13:21 -07:00
2018-02-13 14:54:54 -08:00
2015-01-06 16:53:24 -08:00
2017-07-13 13:54:00 -04:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2018-02-08 15:28:18 -08:00
2018-02-08 15:28:18 -08:00
2018-06-15 15:10:42 -07:00
2018-02-13 14:54:54 -08:00
2017-03-10 09:51:33 -08:00
2018-04-30 10:19:48 -07:00
2018-05-29 16:00:33 -07:00
2017-03-10 09:51:33 -08:00
2018-05-29 16:00:33 -07:00
2018-02-13 14:54:54 -08:00
2017-03-10 09:51:33 -08:00
2018-02-13 14:54:54 -08:00
2018-07-11 15:49:10 -07:00
2017-03-29 12:24:51 -07:00
2017-08-14 10:36:48 -07:00
2017-07-12 13:05:37 -07:00