Poul-Henning Kamp
89cbe4e288
Report the 1-based key numbers rather than the 0-based ones to be consistent.
...
Fix documentation for destroy command. Not sure how the wrong explanation
happened.
Spotted by: mwlucas
2014-11-09 15:53:29 +00:00
John Baldwin
3419bf0107
Correct the destroy example. The -n argument is not needed (and is not
...
valid).
Reported by: mwlucas
Reviewed by: phk
MFC after: 1 week
2014-08-27 17:44:59 +00:00
Baptiste Daroussin
bd0891ceb3
use .Mt to mark up email addresses consistently (part1)
...
PR: 191174
Submitted by: Franco Fichtner <franco@lastsummer.de>
2014-06-20 09:40:43 +00:00
Christian Brueffer
c31159ae1b
Add a missing break in option parsing.
...
CID: 1011452
Found with: Coverity Prevent(tm)
MFC after: 1 week
2014-04-15 07:37:56 +00:00
Sergey Kandaurov
05d98029e9
Sweep man pages replacing ad -> ada.
...
Approved by: re (blackend)
MFC after: 1 week
X-MFC note: stable/9 only
2013-10-01 18:41:53 +00:00
Ed Schouten
7e659f9491
Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
...
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@
2013-04-19 19:45:00 +00:00
Dimitry Andric
c0a8e7ad42
Use NO_WCAST_ALIGN for sbin/gbde, this is more appropriate to fix the
...
alignment warnings than using WARNS=3, and it also works for clang.
MFC after: 1 week
2011-12-17 00:14:40 +00:00
Warner Losh
25faff346c
MFtbemd:
...
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
Ulrich Spörlein
3ba5db25bb
Remove dead variable assignments
...
Found by: clang static analyzer
Verified by: md5(1)
2010-06-11 17:03:04 +00:00
Ulrich Spörlein
2b6974bf61
Bump WARNS where possible.
...
Checked by: make universe
Approved by: ed (co-mentor)
2010-02-15 14:07:40 +00:00
Pawel Jakub Dawidek
04fa63f05e
Remove temporary files when there are no longer needed.
2007-04-06 11:16:11 +00:00
Ruslan Ermilov
8266d47670
Markup fixes.
2006-09-18 11:55:10 +00:00
Colin Percival
6d118bffe7
Teach gbde(8) to use a key file in addition to a passphrase. This
...
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
2006-02-08 06:52:15 +00:00
Hajimu UMEMOTO
ff079c93f7
gbde(8) is also rejndael user.
...
Reported by: phk
2005-03-11 22:07:04 +00:00
Ruslan Ermilov
31c3179731
- Fixed description of the "destroy" command options.
...
- Document the "nuke" command.
- Mention which commands correspond to which functions.
2005-02-12 21:47:05 +00:00
Pawel Jakub Dawidek
c652fd8574
- Sort options.
...
- Put 'break' into separate line.
2005-02-03 21:34:39 +00:00
Pawel Jakub Dawidek
44160c5299
Fix whitespace.
2005-02-03 21:25:35 +00:00
Pawel Jakub Dawidek
45b727476b
- Remove bogus O_CREAT flag. We really don't want to create a file here.
...
PR: bin/67793
Submitted by: Amir Shalem <amir@boom.org.il>
- Sync usage with manual page.
Approved by: phk
MFC after: 1 week
2005-02-03 13:12:17 +00:00
Poul-Henning Kamp
b7cc6a2200
Fix a type bug which sometimes wrote unusable lock sectors on the disk.
2004-09-10 12:16:54 +00:00
Pawel Jakub Dawidek
6eafaa600e
Allow to setup GBDE on providers which contain '/' in their names,
...
e.g. mirror/<name>, stripe/<name>.
Approved by: phk
2004-09-06 13:42:09 +00:00
Maxim Sobolev
6122c0cd5e
o Fix semantics of comparison function for qsort(3). According to qsort(3)
...
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
2004-06-25 13:04:49 +00:00
Christian Brueffer
9a6a20eeff
Fix typo
...
Submitted by: edwin
2004-05-23 08:40:52 +00:00
Ruslan Ermilov
d04b5dfe6c
Assorted markup, grammar, and spelling fixes.
2004-05-17 08:35:43 +00:00
Poul-Henning Kamp
97d2ca7830
Fix the last and most important bit of the test case to test the same
...
binary as the rest of it.
Add MD5 check that the md(4) device gets set up correctly.
2004-02-07 22:58:39 +00:00
Dag-Erling Smørgrav
fef1e56d1e
Don't create a template file if we're not going to let the user edit it.
2004-02-05 10:57:29 +00:00
Pawel Jakub Dawidek
0cd7b33bf3
Fixed some non-critical memory leaks and one temporary file leak
...
(theoretical).
Approved by: phk, scottl (mentor)
2004-02-05 08:39:38 +00:00
Dag-Erling Smørgrav
3678ea800f
Mechanical whitespace cleanup. Also, note that previous commit was
...
Sponsored by: Teleplan AS
2004-02-03 11:12:29 +00:00
Dag-Erling Smørgrav
efdda83ea8
Remove newline characters from error strings.
2004-02-03 11:10:34 +00:00
Poul-Henning Kamp
1510356035
Clarify that the encrypted device is called foo.bde and mention that
...
unmounting it before detaching GBDE is a good idea.
Insisted on by: Flemming Jacobsen <fj@batmule.dk>
Approveed by: re@
2003-11-27 20:54:51 +00:00
Poul-Henning Kamp
2925fa2283
Make the regression test run also with obj directories.
2003-10-17 19:52:07 +00:00
Poul-Henning Kamp
b6badb5a54
Insert an overview of the plans here, in case I get run over by a bus.
2003-10-13 20:14:02 +00:00
Poul-Henning Kamp
fc36082a22
I think it is more correct to use modfind() than kldfind() here.
2003-10-10 14:32:28 +00:00
Poul-Henning Kamp
f1b9e7798d
Improve regression test with an image file which must work.
2003-10-07 09:31:51 +00:00
Poul-Henning Kamp
ad3cb316b3
Autoload kernel module if necessary.
...
Submitted by: mr
2003-10-07 09:29:59 +00:00
Poul-Henning Kamp
f4db0cbe58
Interior decoration changes.
2003-10-07 09:28:07 +00:00
Poul-Henning Kamp
83d771de78
Simplify the GEOM OAM api: Drop the request type, and let everything
...
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.
2003-06-01 13:47:51 +00:00
Ruslan Ermilov
0b00d54eed
Moved libgeom.so dependencies to where they belong.
...
Reviewed by: phk
Approved by: re (scottl)
2003-05-17 19:05:17 +00:00
Ruslan Ermilov
5ea3e23965
Normalize, fix ``make checkdpadd''.
2003-04-16 11:54:11 +00:00
Poul-Henning Kamp
ddc6ffdccf
Avoid off_t -> integer overflow when sorting the locksector addresses.
2003-04-14 09:36:39 +00:00
Poul-Henning Kamp
1e01677906
Don't pull in geom_enc.c any more.
2003-04-03 12:36:56 +00:00
Poul-Henning Kamp
8b3ee9cd3b
Use new GEOM OAM. Kernels have supported this for a number of days, so
...
people should be OK.
2003-03-31 18:38:31 +00:00
Poul-Henning Kamp
5a42be36e3
Remove reference to unavailable paper.
2003-03-07 09:36:58 +00:00
Tim J. Robbins
73657eba91
Fix two unsafe uses of sprintf().
2003-02-23 07:37:47 +00:00
Tim J. Robbins
bdd64bca36
Correct some err() format string bugs.
2003-02-23 06:35:33 +00:00
Poul-Henning Kamp
1e90b74683
Solve another bug in the mapping code: correctly skip lock sectors.
...
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.
2002-12-18 22:11:54 +00:00
Poul-Henning Kamp
88806cc28c
Fix two blunders in the mapping functions which can lead to corrupt data,
...
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>
2002-12-18 19:57:27 +00:00
Poul-Henning Kamp
c6e3e82803
Untwist a twisty bit of logic which gcc for some reason cannot see
...
through on ia64.
2002-12-18 07:25:33 +00:00
Poul-Henning Kamp
62998d5574
A couple of stylistic improvements.
2002-12-17 19:16:10 +00:00
Ruslan Ermilov
7faa4ab461
mdoc(7) police: markup overhaul.
...
Approved by: re
2002-12-12 08:53:20 +00:00
Poul-Henning Kamp
725490c68f
Synchronize usage() with reality.
...
Semi-automatic handling of /dev prefix for device names.
Sponsored by: DARPA & NAI Labs.
Approved by: re (blanket)
2002-12-01 15:58:28 +00:00