rpms/pam/devel pam_namespace-7.patch,1.1,1.2

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 25 15:55:59 UTC 2006


Author: tmraz

Update of /cvs/dist/rpms/pam/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv30902

Modified Files:
	pam_namespace-7.patch 
Log Message:
- missing declaration


pam_namespace-7.patch:
 config.h.in                                |    3 
 configure.in                               |    4 
 modules/Makefile.am                        |    3 
 modules/pam_namespace/Makefile.am          |   27 
 modules/pam_namespace/README               |  100 ++
 modules/pam_namespace/namespace.conf       |   15 
 modules/pam_namespace/namespace.conf.5.xml |  137 ++
 modules/pam_namespace/pam_namespace.8.xml  |  221 ++++
 modules/pam_namespace/pam_namespace.c      | 1327 +++++++++++++++++++++++++++++
 9 files changed, 1836 insertions(+), 1 deletion(-)

Index: pam_namespace-7.patch
===================================================================
RCS file: /cvs/dist/rpms/pam/devel/pam_namespace-7.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pam_namespace-7.patch	25 Apr 2006 14:53:39 -0000	1.1
+++ pam_namespace-7.patch	25 Apr 2006 15:55:57 -0000	1.2
@@ -115,7 +115,7 @@
 +	This module also depends on pam_selinux.so setting the context.
 --- /dev/null	2006-04-25 10:12:36.092931750 +0200
 +++ Linux-PAM-0.99.3.0/modules/pam_namespace/pam_namespace.c	2006-04-25 16:41:28.000000000 +0200
-@@ -0,0 +1,1326 @@
+@@ -0,0 +1,1327 @@
 +/******************************************************************************
 + * A module for Linux-PAM that will set the default namespace after 
 + * establishing a session via PAM.
@@ -592,6 +592,7 @@
 +    if (idata->flags & PAMNS_DEBUG) {
 +        struct polydir_s *dptr = idata->polydirs_ptr;
 +        uid_t *iptr;
++        int i;
 +
 +        pam_syslog(idata->pamh, LOG_DEBUG,
 +    	    dptr?"Configured poly dirs:":"No configured poly dirs");
@@ -901,7 +902,7 @@
 +     * Create MD5 hashes for instance pathname.
 +     */
 +
-+    if (MD5(*instname, strlen(*instname),
++    if (MD5((unsigned char *)*instname, strlen(*instname),
 +		inst_digest) == NULL) {
 +        pam_syslog(idata->pamh, LOG_ERR,
 +		"Unable to generate hash for instname");




More information about the fedora-cvs-commits mailing list