OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-34-gadf2e6e
Gerrit Code Review
gerrit@openafs.org
Thu, 26 Aug 2010 09:16:54 -0700 (PDT)
The following commit has been merged in the master branch:
commit adf2e6e827c6caf55247c5e63b88775393156ae5
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Feb 5 11:12:45 2010 +0000
Unix CM: Generalise token storage
This generalises token storage in the Unix CM, so that it isn't
rxkad specific. We add a new, dynamically allocated, list of tokens
hanging off each unixuser structure. Each token is expressed as
a discrimated union keyed on the security class of that token,
with the token's details contained within that Union.
All token handling is performed through a set of functions in
afs_token.c - token access is modified to use this interface
throughout the rest of the code.
Change-Id: I939f3a611bb6e991e1e0d075ced0a59fc6f57693
Reviewed-on: http://gerrit.openafs.org/2580
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/IRIX/osi_idbg.c | 16 ++-
src/afs/LINUX/osi_proc.c | 8 +-
src/afs/LINUX24/osi_proc.c | 8 +-
src/afs/afs.h | 20 +++-
src/afs/afs_conn.c | 19 ++-
src/afs/afs_init.c | 4 +-
src/afs/afs_nfsclnt.c | 28 +++--
src/afs/afs_pag_cred.c | 34 +++---
src/afs/afs_pioctl.c | 38 +++---
src/afs/afs_prototypes.h | 9 ++
src/afs/afs_tokens.c | 275 ++++++++++++++++++++++++++++++++++++++++
src/afs/afs_user.c | 23 ++--
src/libafs/Makefile.common.in | 4 +
src/libuafs/Makefile.common.in | 10 ++
14 files changed, 411 insertions(+), 85 deletions(-)
--
OpenAFS Master Repository