OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-242-gfe2d1b6

Gerrit Code Review gerrit@openafs.org
Fri, 16 Dec 2011 10:59:04 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit fe2d1b6615a43ad6ba3e0df50e3643b7a9476131
Author: Marc Dionne <marc.c.dionne@gmail.com>
Date:   Sat Apr 16 11:22:54 2011 -0400

    pam: Clear up PAM_CONST related warnings on Linux
    
    Commit 78d1f8d8 expanded the use of PAM_CONST and introduced many
    new warnings on Linux where pam expects "const" arguments.
    
    This clears up the warnings by doing the following:
    - Cast "user" to char * when kalling ka* functions
    - Change the signature of pam_afs_prompt and pam_afs_printf to use
    PAM_CONST
    - Use a separate non-const password pointer for pam_afs_prompt
    
    Reviewed-on: http://gerrit.openafs.org/4487
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 3ea39166d64d2e66cddef015734c2f91548423af)
    
    Change-Id: I16179a1c8b9d0e53c90b54733d1c5130f1d23153
    Reviewed-on: http://gerrit.openafs.org/6293
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: Derrick Brashear <shadow@dementix.org>

 src/pam/afs_auth.c     |   31 ++++++++++++++++---------------
 src/pam/afs_pam_msg.c  |    4 ++--
 src/pam/afs_pam_msg.h  |    4 ++--
 src/pam/afs_password.c |   25 +++++++++++++------------
 src/pam/afs_setcred.c  |    4 ++--
 5 files changed, 35 insertions(+), 33 deletions(-)

-- 
OpenAFS Master Repository