OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2151-gdc6beb3
Gerrit Code Review
gerrit@openafs.org
Tue, 7 Feb 2012 06:41:42 -0800 (PST)
The following commit has been merged in the master branch:
commit dc6beb3ea29a64bcf59807fd451a573aa54e1122
Author: Andrew Deason <adeason@sinenomine.net>
Date: Thu Feb 2 17:35:52 2012 -0600
SOLARIS: Use kcred instead of afs_osi_cred
For many vfs ops to the cache, we currently pass &afs_osi_cred for our
credentials, which is a mostly zeroed-out credential structure. In
some modern versions of Solaris (Solaris 11), at least some parts of
this structure need to not be NULL (cr_zone), or we will panic.
The Solaris kernel provides a 'kcred' credentials structure for the
purpose of using "kernel" credentials for i/o. So just use that
instead, since kcred has existed at least since Solaris 8.
Change-Id: Ia5252580d2de6dd7adfa1a1929148362d1da6360
Reviewed-on: http://gerrit.openafs.org/6669
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/SOLARIS/osi_file.c | 35 ++++++++++++++++-------------------
src/afs/afs_osi.c | 2 ++
2 files changed, 18 insertions(+), 19 deletions(-)
--
OpenAFS Master Repository