OpenGrok
Cross Reference: utils.c
xref
: /
src
/
sbin
/
cgdconfig
/
utils.c
Home
|
History
|
Annotate
|
Download
|
only in
cgdconfig
History log of
/src/sbin/cgdconfig/utils.c
Revision
Date
Author
Comments
1.21
20-Mar-2012
matt
Convert to C89 function definitions
1.20
11-Apr-2009
lukem
branches: 1.20.6;
fix sign-compare issues
1.19
11-May-2008
elric
branches: 1.19.4;
Add a new keygen method which will execute an external command and
take its output as the key. I've been meaning to do this for quite
a while...
1.18
28-Apr-2008
martin
branches: 1.18.2;
Remove clause 3 and 4 from TNF licenses
1.17
06-Nov-2007
christos
branches: 1.17.8; 1.17.10;
3 month roland feedback timeout:
- Pass lint
- knf
- convert ints to size_t's
1.16
06-Feb-2007
cbiere
branches: 1.16.4;
memxor(): Fixed size_t/int mismatch.
1.15
26-Aug-2006
christos
Programs that use efun.
1.14
11-May-2006
mrg
__b64_pton() wants unsigned char *.
1.13
22-Mar-2006
christos
Coverity CID 2753: Free the correct variable.
1.12
22-Mar-2006
christos
fix compile problem.
1.11
22-Mar-2006
christos
Coverity CID 1593: Plug memory leak
1.10
20-Mar-2006
christos
Coverity CID 1203: Check return code of b64_ntop().
1.9
27-Jun-2005
christos
- constify.
- don't dup extern declarations on each file because they end up being
inconsistent (yyerror).
1.8
02-Jun-2005
lukem
Avoid dereferencing/free()ing invalid pointers if the random device
cannot be opened.
Detected with gcc -Wuninitialized.
(The bug was fixed in rev 1.4 by rumble but reintroduced in rev 1.5 by tv !)
1.7
30-Mar-2005
elric
one more malloc -> emalloc.
1.6
30-Mar-2005
christos
Centralize error checking for malloc,calloc,strdup.
1.5
13-Aug-2004
tv
branches: 1.5.2;
Add "urandomkey" key generation method as described in PR kern/22766;
useful for configuring a throwaway key for cgd-on-swap at boot time.
1.4
10-Aug-2004
rumble
Avoid dereferencing/free()ing invalid pointers if the random device
cannot be opened.
OK'd by elric.
1.3
23-Sep-2003
cb
branches: 1.3.2;
add a new verification method that prompts for the pkcs#5 pbkdf2
passphrase again and checks the generated key against the original.
1.2
24-Mar-2003
elric
substantial rototill of the code.
o added new features:
o -G: generate a new paramsfile that produces the same
key as the old paramsfile,
o ffs verify_method,
o multiple keygen methods that are xor'ed together
(for n-factor authentication), and
o calibrating the iteration count of PKCS#5 PBKDF2 to
the current machine's speed.
o changed paramsfile format to allow for the new features.
o replaced open-coded parser with yacc grammar.
o lots of supporting changes.
o updated documentation to reflect new features and new
paramsfile format.
1.1
04-Oct-2002
elric
Initial checkin of cgdconfig(8), a program to configure a cgd.
1.3.2.1
13-Aug-2004
tv
Oy, sometimes CVS sticky tags hurt. Revert urandomkey; that should be on HEAD.
1.5.2.1
14-Jun-2005
tron
Pull up revision 1.8 (requested by lukem in ticket #404):
Avoid dereferencing/free()ing invalid pointers if the random device
cannot be opened.
Detected with gcc -Wuninitialized.
(The bug was fixed in rev 1.4 by rumble but reintroduced in rev 1.5 by tv !)
1.16.4.1
06-Nov-2007
matt
sync with HEAD
1.17.10.1
18-May-2008
yamt
sync with head.
1.17.8.1
02-Jun-2008
mjf
Sync with HEAD.
1.18.2.1
23-Jun-2008
wrstuden
Sync w/ -current. 34 merge conflicts to follow.
1.19.4.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
1.20.6.1
17-Apr-2012
yamt
sync with head
Indexes created Tue Oct 14 11:09:46 GMT 2025