OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2381-g3720f6b
Gerrit Code Review
gerrit@openafs.org
Tue, 10 Apr 2012 14:35:18 -0700 (PDT)
The following commit has been merged in the master branch:
commit 3720f6b646857cca523659519f6fd4441e41dc7a
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Sun Oct 23 16:21:52 2011 +0100
Rework the ugen_* interface
Remodel the ugen_* ubik initialisation interface so that more complex
sets of security flags can be passed through it. A number of new
functions are provided, all of which take the AFSCONF_* security flags
defined in libauth:
*) ugen_ClientInitCell is used to initialise a ubik client structure
when the caller already has afsconf_dir and afsconf_cell
structures for the cell being contacted
*) ugen_ClientInitServer is used to initialise a client which will
contact a specific server within a given cell, rather than
selecting one from the pool
*) ugen_ClientInitFlags is used to initialise a client given a
cellname, and a path to a configuration directory. It is is
closest to the legacy ugen_ClientInit function.
All of the in tree callers are updated to use this new interface
Change-Id: I6a438aa70d94114c8b6626fa1396b7580ab07c07
Reviewed-on: http://gerrit.openafs.org/7131
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/afsd/fs.c | 15 ++-
src/bozo/bos.c | 8 +-
src/ubik/ubik.p.h | 18 ++++
src/ubik/uinit.c | 201 +++++++++++++++++++++++++++------------
src/venus/fs.c | 40 ++++----
src/vlserver/vlclient.c | 17 ++--
src/volser/volser.p.h | 11 +-
src/volser/vos.c | 20 +++--
src/volser/vsutils.c | 35 ++------
src/volser/vsutils_prototypes.h | 3 -
10 files changed, 226 insertions(+), 142 deletions(-)
--
OpenAFS Master Repository