delphij 3a5f04c7d2 - Modify swapon(8) so that it uses most of geli(8) defaults for swap,
which is presently: AES-XTS, no authentication.  Create provider
   with pagesize as sectorsize by default.
 - Rewrite parsing code for geli(8)-backed swap options, now options
   are required to be exact match, and unrecognized options will trigger
   a warning.
 - Don't initialize GELI device if it's already initialized.  This
   restores previous behavior.
 - Don't duplicate file descriptor when working with geli(8) and
   gbde(8) as there is no need to communicate with the utility other
   than exit status.
 - When calling swap_on_off_* routines, which_prog can only be SWAP_ON
   or SWAP_OFF.  Eliminate unneeded case branches by replacing switch
   with if's.
 - Plug a few memory leaks.

Reviewed by:	hrs (but bugs are mine)
MFC after:	1 week
X-MFC-with:	r252310, r252332, r252345
2013-06-29 22:04:04 +00:00
..
2012-11-29 05:16:50 +00:00
2011-11-06 20:39:35 +00:00
2013-04-29 20:14:11 +00:00
2013-05-08 18:55:38 +00:00
2013-06-29 20:13:39 +00:00
2013-05-13 18:13:50 +00:00
2013-05-12 22:22:12 +00:00
2013-04-11 18:46:41 +00:00
2013-06-29 16:05:44 +00:00
2013-04-11 18:46:41 +00:00
2010-03-10 18:51:13 +00:00
2013-06-27 10:42:09 +00:00
2012-09-29 16:42:01 +00:00
2013-01-01 18:28:21 +00:00
2013-05-08 21:04:19 +00:00
2013-05-13 18:13:50 +00:00
2013-03-19 21:40:14 +00:00
2013-05-16 21:04:56 +00:00
2012-11-15 15:06:21 +00:00