Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-8] src/crypto/external/bsd/heimdal



Module Name:    src
Committed By:   snj
Date:           Mon Sep 11 04:58:45 UTC 2017

Modified Files:
        src/crypto/external/bsd/heimdal/dist [netbsd-8]: configure.ac
        src/crypto/external/bsd/heimdal/dist/kcm [netbsd-8]: client.c config.c
        src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech [netbsd-8]:
            gss_pname_to_uid.c
        src/crypto/external/bsd/heimdal/dist/lib/hx509 [netbsd-8]: softp11.c
        src/crypto/external/bsd/heimdal/dist/lib/krb5 [netbsd-8]: config_file.c
            get_default_principal.c kuserok.c
        src/crypto/external/bsd/heimdal/dist/lib/roken [netbsd-8]: getxxyyy.c
            roken.h.in
        src/crypto/external/bsd/heimdal/include [netbsd-8]: config.h roken.h
Added Files:
        src/crypto/external/bsd/heimdal/dist/cf [netbsd-8]:
            check-getpwuid_r-posix.m4

Log Message:
Pull up following revision(s) (requested by mlelstv in ticket #277):
        crypto/external/bsd/heimdal/include/config.h: revision 1.9
        crypto/external/bsd/heimdal/dist/lib/gssapi/mech/gss_pname_to_uid.c: revision 1.3
        crypto/external/bsd/heimdal/dist/lib/roken/getxxyyy.c: revision 1.3
        crypto/external/bsd/heimdal/dist/configure.ac: revision 1.3
        crypto/external/bsd/heimdal/dist/kcm/config.c: revision 1.3
        crypto/external/bsd/heimdal/dist/lib/krb5/kuserok.c: revision 1.3
        crypto/external/bsd/heimdal/dist/cf/check-getpwuid_r-posix.m4: revision 1.1
        crypto/external/bsd/heimdal/include/roken.h: revision 1.8
        crypto/external/bsd/heimdal/dist/lib/krb5/get_default_principal.c: revision 1.3
        crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c: revision 1.3
        crypto/external/bsd/heimdal/dist/kcm/client.c: revision 1.3
        crypto/external/bsd/heimdal/dist/lib/krb5/config_file.c: revision 1.3
        crypto/external/bsd/heimdal/dist/lib/roken/roken.h.in: revision 1.5
always use rk_getpwnam_r...
--
This is why we have libroken...
--
Use getpwuid_r instead of getpwuid, so that we don't trash getpw*() internal
buffers.
kde does (kdm/client/backend.c):
    p = getpwnam();
    pam_setcred() (which calls getpwuid in pam_afslog);
    setusercontext(...,p,p->pw_uid,...) (now with trashed p data...)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.4.1 \
    src/crypto/external/bsd/heimdal/dist/configure.ac
cvs rdiff -u -r0 -r1.1.14.2 \
    src/crypto/external/bsd/heimdal/dist/cf/check-getpwuid_r-posix.m4
cvs rdiff -u -r1.2 -r1.2.4.1 \
    src/crypto/external/bsd/heimdal/dist/kcm/client.c \
    src/crypto/external/bsd/heimdal/dist/kcm/config.c
cvs rdiff -u -r1.2 -r1.2.4.1 \
    src/crypto/external/bsd/heimdal/dist/lib/gssapi/mech/gss_pname_to_uid.c
cvs rdiff -u -r1.2 -r1.2.4.1 \
    src/crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c
cvs rdiff -u -r1.2 -r1.2.4.1 \
    src/crypto/external/bsd/heimdal/dist/lib/krb5/config_file.c \
    src/crypto/external/bsd/heimdal/dist/lib/krb5/get_default_principal.c \
    src/crypto/external/bsd/heimdal/dist/lib/krb5/kuserok.c
cvs rdiff -u -r1.2 -r1.2.8.1 \
    src/crypto/external/bsd/heimdal/dist/lib/roken/getxxyyy.c
cvs rdiff -u -r1.4 -r1.4.4.1 \
    src/crypto/external/bsd/heimdal/dist/lib/roken/roken.h.in
cvs rdiff -u -r1.8 -r1.8.4.1 src/crypto/external/bsd/heimdal/include/config.h
cvs rdiff -u -r1.7 -r1.7.4.1 src/crypto/external/bsd/heimdal/include/roken.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index