OpenAFS Master Repository branch, master, updated. 215838d65734ad819d3bd27a2f715d1d6f68394a

2009-07-13 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit 215838d65734ad819d3bd27a2f715d1d6f68394a
Author: Russ Allbery r...@stanford.edu
Date:   Sun Jul 12 11:24:17 2009 -0700

Add strlcat and strlcpy to libafsauthent and libafsrpc

Other functions included in libafsauthent and libafsrpc are using strlcpy
and strlcat, so include those objects in the libraries so that they stay
self-contained.

strlcat and strlcpy shouldn't be part of the public API for the libraries,
for various reasons including the fact that they're not built on all
platforms.  Therefore, don't add the functions to the library exports and
include them separately in each library.

Reviewed-on: http://gerrit.openafs.org/63
Reviewed-by: Derrick Brashear sha...@dementia.org
Verified-by: Derrick Brashear sha...@dementia.org

 src/libafsauthent/Makefile.in   |8 
 src/libafsrpc/Makefile.in   |   10 +-
 src/shlibafsauthent/Makefile.in |8 
 src/shlibafsrpc/Makefile.in |   10 +-
 4 files changed, 34 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs


OpenAFS Master Repository branch, master, updated. 86cfd2302074f4bbc2a09e882b70b0b540f019c7

2009-07-13 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit 86cfd2302074f4bbc2a09e882b70b0b540f019c7
Author: Simon Wilkinson s...@inf.ed.ac.uk
Date:   Fri Jul 10 17:57:16 2009 +0100

Remove unused variables in vol

Remove some unused variables and isolate items that are demand attach only

Reviewed-on: http://gerrit.openafs.org/71
Verified-by: Derrick Brashear sha...@dementia.org
Reviewed-by: Derrick Brashear sha...@dementia.org

 src/vol/ihandle.c |2 +-
 src/vol/vnode.c   |4 +++-
 src/vol/volume.c  |4 
 3 files changed, 4 insertions(+), 6 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs


OpenAFS Master Repository branch, master, updated. cd37fd33f70c2196ff64188e32ff759590cb3748

2009-07-13 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit cd37fd33f70c2196ff64188e32ff759590cb3748
Author: Russ Allbery r...@stanford.edu
Date:   Sun Jul 12 11:26:03 2009 -0700

Make ktc_curpag generally available

ktc_curpag isn't specific to a Kerberos v4 environment, so move it outside
the AFS_KERBEROS_ENV #ifdef.  Add it to the auth.h header and to the
exports from the shared libafsauthent.

Reviewed-on: http://gerrit.openafs.org/64
Verified-by: Derrick Brashear sha...@dementia.org
Reviewed-by: Derrick Brashear sha...@dementia.org

 src/auth/auth.p.h |1 +
 src/auth/ktc.c|  102 
 src/shlibafsauthent/Makefile.in   |2 +-
 src/shlibafsauthent/libafsauthent.exp |1 +
 src/shlibafsauthent/libafsauthent.map |1 +
 5 files changed, 55 insertions(+), 52 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs


OpenAFS Master Repository branch, master, updated. 2510a6ec675669739a625305bcc11ab2ad671122

2009-07-13 Thread Gerrit Code Review
The following commit has been merged in the master branch:
commit 2510a6ec675669739a625305bcc11ab2ad671122
Author: Russ Allbery r...@stanford.edu
Date:   Sun Jul 12 09:07:12 2009 -0700

Ensure PAM modules are built PIC and pthread-aware where needed

Link the PAM modules against libafsauthent_pic and libafsrpc_pic instead
of the large collection of LWP AFS libraries so that they are always
built PIC, even on platforms that don't normally build everything PIC.
This also uses the pthread-aware version of the AFS routines on platforms
that support it, avoiding conflict problems between LWP in PAM modules
and pthread in a calling application.

Build a separate copy of ktc.krb.o in the pam directory for pam_afs.krb
since there is no AFS_KERBEROS_ENV-aware version of libafsauthent.

Enable the PAM module build by default on x86_64-linux now that it's
properly built PIC and can compile.

Stop ignoring build failures in the PAM modules if they're configured to
build.  On platforms where they should not be built, they should be
excluded in acinclude.m4.

Reviewed-on: http://gerrit.openafs.org/65
Verified-by: Derrick Brashear sha...@dementia.org
Reviewed-by: Derrick Brashear sha...@dementia.org

 Makefile.in |2 +-
 acinclude.m4|2 +-
 src/pam/Makefile.in |   32 
 3 files changed, 22 insertions(+), 14 deletions(-)

-- 
OpenAFS Master Repository
___
OpenAFS-cvs mailing list
OpenAFS-cvs@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-cvs