OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4358-g39b165c
Gerrit Code Review
gerrit@openafs.org
Wed, 10 Sep 2014 15:05:50 -0400
The following commit has been merged in the master branch:
commit 39b165cdda941181845022c183fea1c7af7e4356
Author: Ben Kaduk <kaduk@mit.edu>
Date: Tue Mar 26 13:41:40 2013 -0400
Move epoch and cid generation into the rx core
Now that we have hcrypto available everywhere, we can get real randomness
in the rx core (both uerspace and kernel), and thus can initialize the
RX epoch to a real random value when first initializing a host; there is
no need to rely on rxkad to produce randomness for this purpose.
Initialize a connection ID counter at the same time, and use that in
rx_NewConnection, also supplanting rxkad-specific logic.
The rxkad-specific logic is removed, and in particular there is no longer
a need to export rxkad_EpochWasSet to the rest of the world.
The code in afs_Daemon() to check whether the rxepoch was set can be
removed, as if the epoch is not set, rx initialization fails.
Add libafshcrypto to LIBS in the handful of places it hadn't crept already,
and likewise afshcrypto.lib in the NTMakefiles.
Change-Id: I1dd1015b29a600aaf72b6b4b36f8a17032453c97
Reviewed-on: http://gerrit.openafs.org/10841
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
src/afs/afs_daemons.c | 7 +---
src/afsmonitor/Makefile.in | 1 +
src/auth/test/NTMakefile | 1 +
src/kauth/test/NTMakefile | 1 +
src/rx/rx.c | 40 +++++++++++-------
src/rx/test/generator.c | 1 +
src/rxdebug/Makefile.in | 1 +
src/rxdebug/NTMakefile | 1 +
src/rxkad/private_data.h | 12 ------
src/rxkad/rxkad.p.h | 1 -
src/rxkad/rxkad_client.c | 85 ----------------------------------------
src/rxkad/rxkad_common.c | 3 -
src/rxkad/test/NTMakefile | 1 +
src/tools/dumpscan/Makefile.in | 1 +
src/ubik/Makefile.in | 3 +-
src/ubik/NTMakefile | 1 +
src/venus/Makefile.in | 1 +
src/vol/Makefile.in | 1 +
src/volser/Makefile.in | 1 +
src/xstat/Makefile.in | 1 +
src/xstat/NTMakefile | 1 +
21 files changed, 41 insertions(+), 124 deletions(-)
--
OpenAFS Master Repository