summaryrefslogtreecommitdiffstats
path: root/sbin/gbde
Commit message (Collapse)AuthorAgeFilesLines
* Convert sbin/ to LIBADDbapt2014-11-251-2/+1
| | | | Reduce overlinking
* Report the 1-based key numbers rather than the 0-based ones to be consistent.phk2014-11-092-5/+18
| | | | | | | Fix documentation for destroy command. Not sure how the wrong explanation happened. Spotted by: mwlucas
* Correct the destroy example. The -n argument is not needed (and is notjhb2014-08-271-2/+2
| | | | | | | | valid). Reported by: mwlucas Reviewed by: phk MFC after: 1 week
* use .Mt to mark up email addresses consistently (part1)bapt2014-06-201-2/+2
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* Add a missing break in option parsing.brueffer2014-04-151-0/+1
| | | | | | CID: 1011452 Found with: Coverity Prevent(tm) MFC after: 1 week
* Sweep man pages replacing ad -> ada.pluknet2013-10-011-8/+8
| | | | | | Approved by: re (blackend) MFC after: 1 week X-MFC note: stable/9 only
* Add the Clang specific -Wmissing-variable-declarations to WARNS=6.ed2013-04-191-0/+1
| | | | | | | | | | | | | This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
* Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix thedim2011-12-171-5/+3
| | | | | | alignment warnings than using WARNS=3, and it also works for clang. MFC after: 1 week
* MFtbemd:imp2010-08-231-1/+1
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* Remove dead variable assignmentsuqs2010-06-111-1/+1
| | | | | Found by: clang static analyzer Verified by: md5(1)
* Bump WARNS where possible.uqs2010-02-151-3/+1
| | | | | Checked by: make universe Approved by: ed (co-mentor)
* Remove temporary files when there are no longer needed.pjd2007-04-061-0/+2
|
* Markup fixes.ru2006-09-181-1/+1
|
* Teach gbde(8) to use a key file in addition to a passphrase. Thiscperciva2006-02-082-25/+85
| | | | | | | | makes it practical to use GBDE for "something you have plus something you know" security together with a USB flash drive. Reviewed by: phk MFC after: 7 days
* gbde(8) is also rejndael user.ume2005-03-111-1/+1
| | | | Reported by: phk
* - Fixed description of the "destroy" command options.ru2005-02-122-28/+45
| | | | | - Document the "nuke" command. - Mention which commands correspond to which functions.
* - Sort options.pjd2005-02-031-8/+9
| | | | - Put 'break' into separate line.
* Fix whitespace.pjd2005-02-031-6/+5
|
* - Remove bogus O_CREAT flag. We really don't want to create a file here.pjd2005-02-031-7/+7
| | | | | | | | | | PR: bin/67793 Submitted by: Amir Shalem <amir@boom.org.il> - Sync usage with manual page. Approved by: phk MFC after: 1 week
* Fix a type bug which sometimes wrote unusable lock sectors on the disk.phk2004-09-101-2/+2
|
* Allow to setup GBDE on providers which contain '/' in their names,pjd2004-09-061-2/+0
| | | | | | e.g. mirror/<name>, stripe/<name>. Approved by: phk
* o Fix semantics of comparison function for qsort(3). According to qsort(3)sobomax2004-06-251-2/+6
| | | | | | | | | | | | | | | | manpage: The comparison function must return an integer less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the second. Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works but for the number of items to be sorted less than 7 due to special case handling in qsort(3); o add missing '\n' to one of usage() calls. Approved by: phk
* Fix typobrueffer2004-05-231-1/+1
| | | | Submitted by: edwin
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-3/+5
|
* Fix the last and most important bit of the test case to test the samephk2004-02-071-2/+8
| | | | | | binary as the rest of it. Add MD5 check that the md(4) device gets set up correctly.
* Don't create a template file if we're not going to let the user edit it.des2004-02-051-19/+28
|
* Fixed some non-critical memory leaks and one temporary file leakpjd2004-02-051-1/+6
| | | | | | (theoretical). Approved by: phk, scottl (mentor)
* Mechanical whitespace cleanup. Also, note that previous commit wasdes2004-02-031-12/+12
| | | | Sponsored by: Teleplan AS
* Remove newline characters from error strings.des2004-02-031-2/+2
|
* Clarify that the encrypted device is called foo.bde and mention thatphk2003-11-271-0/+9
| | | | | | | unmounting it before detaching GBDE is a good idea. Insisted on by: Flemming Jacobsen <fj@batmule.dk> Approveed by: re@
* Make the regression test run also with obj directories.phk2003-10-172-2/+6
|
* Insert an overview of the plans here, in case I get run over by a bus.phk2003-10-131-0/+32
|
* I think it is more correct to use modfind() than kldfind() here.phk2003-10-101-2/+2
|
* Improve regression test with an image file which must work.phk2003-10-072-2/+3316
|
* Autoload kernel module if necessary.phk2003-10-071-0/+9
| | | | Submitted by: mr
* Interior decoration changes.phk2003-10-071-5/+5
|
* Simplify the GEOM OAM api: Drop the request type, and let everythingphk2003-06-011-2/+4
| | | | | | | | hinge on the "verb" parameter which the class gets to interpret as it sees fit. Move the entire request into the kernel and move changed parameters back when done.
* Moved libgeom.so dependencies to where they belong.ru2003-05-171-2/+2
| | | | | Reviewed by: phk Approved by: re (scottl)
* Normalize, fix ``make checkdpadd''.ru2003-04-161-5/+6
|
* Avoid off_t -> integer overflow when sorting the locksector addresses.phk2003-04-141-1/+1
|
* Don't pull in geom_enc.c any more.phk2003-04-031-3/+1
|
* Use new GEOM OAM. Kernels have supported this for a number of days, sophk2003-03-312-40/+29
| | | | people should be OK.
* Remove reference to unavailable paper.phk2003-03-071-5/+0
|
* Fix two unsafe uses of sprintf().tjr2003-02-231-3/+8
|
* Correct some err() format string bugs.tjr2003-02-231-7/+7
|
* Solve another bug in the mapping code: correctly skip lock sectors.phk2002-12-182-1/+7
| | | | | | | | | Make sure sector zero is protected if it contains metadata. Lower WARNS for gbde to 3 on non-i386 archs. rijndael-fst is evil but appearntly does the right thing and passes the test-vectors. MFC Candidate.
* Fix two blunders in the mapping functions which can lead to corrupt data,phk2002-12-181-1/+21
| | | | | | | | for request sizes larger than the sectorsize or for multi-key setups. See warning mailed to current@ for details of recovery. Found by: Marcus Reid <marcus@blazingdot.com>
* Untwist a twisty bit of logic which gcc for some reason cannot seephk2002-12-181-4/+4
| | | | through on ia64.
* A couple of stylistic improvements.phk2002-12-172-5/+6
|
* mdoc(7) police: markup overhaul.ru2002-12-121-23/+37
| | | | Approved by: re
OpenPOWER on IntegriCloud