rpms/pam/F-11 pam-1.0.91-mkhomedir-umask.patch, NONE, 1.1 pam.spec, 1.197, 1.198

Tomáš Mráz tmraz at fedoraproject.org
Mon Nov 2 12:17:29 UTC 2009


Author: tmraz

Update of /cvs/pkgs/rpms/pam/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17761

Modified Files:
	pam.spec 
Added Files:
	pam-1.0.91-mkhomedir-umask.patch 
Log Message:
* Mon Nov  2 2009 Tomas Mraz <tmraz at redhat.com> 1.0.91-8
- pam_mkhomedir: fix umask parameter of the module (#499816)


pam-1.0.91-mkhomedir-umask.patch:
 pam_mkhomedir.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE pam-1.0.91-mkhomedir-umask.patch ---
diff -up Linux-PAM-1.0.91/modules/pam_mkhomedir/pam_mkhomedir.c.umask Linux-PAM-1.0.91/modules/pam_mkhomedir/pam_mkhomedir.c
--- Linux-PAM-1.0.91/modules/pam_mkhomedir/pam_mkhomedir.c.umask	2009-11-02 13:14:54.000000000 +0100
+++ Linux-PAM-1.0.91/modules/pam_mkhomedir/pam_mkhomedir.c	2009-11-02 13:14:35.000000000 +0100
@@ -84,7 +84,7 @@ _pam_parse (const pam_handle_t *pamh, in
       } else if (!strcmp(*argv, "debug")) {
          ctrl |= MKHOMEDIR_DEBUG;
       } else if (!strncmp(*argv,"umask=",6)) {
-	 strncpy(SkelDir,*argv+6,sizeof(UMask));
+	 strncpy(UMask,*argv+6,sizeof(UMask));
 	 UMask[sizeof(UMask)-1] = '\0';
       } else if (!strncmp(*argv,"skel=",5)) {
 	 strncpy(SkelDir,*argv+5,sizeof(SkelDir));


Index: pam.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam/F-11/pam.spec,v
retrieving revision 1.197
retrieving revision 1.198
diff -u -p -r1.197 -r1.198
--- pam.spec	2 Nov 2009 10:48:52 -0000	1.197
+++ pam.spec	2 Nov 2009 12:17:27 -0000	1.198
@@ -3,7 +3,7 @@
 Summary: An extensible library which provides authentication for applications
 Name: pam
 Version: 1.0.91
-Release: 7%{?dist}
+Release: 8%{?dist}
 # The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
 # as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
 License: BSD and GPLv2+
@@ -25,6 +25,7 @@ Patch1:  pam-1.0.90-redhat-modules.patch
 Patch2:  pam-1.0.91-std-noclose.patch
 Patch6:  pam-1.1.0-xauth-context.patch
 Patch7:  pam-1.1.0-console-fixes.patch
+Patch8:  pam-1.0.91-mkhomedir-umask.patch
 
 %define _sbindir /sbin
 %define _moduledir /%{_lib}/security
@@ -328,6 +329,9 @@ fi
 %doc doc/adg/*.txt doc/adg/html
 
 %changelog
+* Mon Nov  2 2009 Tomas Mraz <tmraz at redhat.com> 1.0.91-8
+- pam_mkhomedir: fix umask parameter of the module (#499816)
+
 * Mon Nov  2 2009 Tomas Mraz <tmraz at redhat.com> 1.0.91-7
 - pam_console: fix memory corruption when executing handlers (patch by
   Stas Sergeev) and a few more fixes in the handler execution code (#532302)




More information about the scm-commits mailing list