[pam] Fix the getrlimit includes at more places.

Tomáš Mráz tmraz at fedoraproject.org
Mon Jul 23 16:57:42 UTC 2012


commit e5af413406a41612b4fd2e4e6e2a6aa6363edb65
Author: Tomas Mraz <tmraz at fedoraproject.org>
Date:   Mon Jul 23 18:57:15 2012 +0200

    Fix the getrlimit includes at more places.

 pam-1.1.5-unix-build.patch |   26 ++++++++++++++++++++++++--
 1 files changed, 24 insertions(+), 2 deletions(-)
---
diff --git a/pam-1.1.5-unix-build.patch b/pam-1.1.5-unix-build.patch
index 0fa729e..d1f30d0 100644
--- a/pam-1.1.5-unix-build.patch
+++ b/pam-1.1.5-unix-build.patch
@@ -1,6 +1,6 @@
 diff -up Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c.build Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c
---- Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c.build	2012-05-09 11:48:12.000000000 +0200
-+++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c	2012-07-23 18:26:49.320411216 +0200
+--- Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c.build	2012-07-23 18:46:27.709804094 +0200
++++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c	2012-07-23 18:46:27.764805293 +0200
 @@ -47,6 +47,8 @@
  #include <time.h>		/* for time() */
  #include <errno.h>
@@ -10,3 +10,25 @@ diff -up Linux-PAM-1.1.5/modules/pam_unix/pam_unix_acct.c.build Linux-PAM-1.1.5/
  
  #include <security/_pam_macros.h>
  
+diff -up Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c.build Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c
+--- Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c.build	2012-07-23 18:55:16.433314731 +0200
++++ Linux-PAM-1.1.5/modules/pam_unix/pam_unix_passwd.c	2012-07-23 18:54:48.064697131 +0200
+@@ -53,6 +53,7 @@
+ #include <fcntl.h>
+ #include <ctype.h>
+ #include <sys/time.h>
++#include <sys/resource.h>
+ #include <sys/stat.h>
+ 
+ #include <signal.h>
+diff -up Linux-PAM-1.1.5/modules/pam_unix/support.c.build Linux-PAM-1.1.5/modules/pam_unix/support.c
+--- Linux-PAM-1.1.5/modules/pam_unix/support.c.build	2012-07-23 18:46:27.000000000 +0200
++++ Linux-PAM-1.1.5/modules/pam_unix/support.c	2012-07-23 18:54:23.645165507 +0200
+@@ -18,6 +18,7 @@
+ #include <signal.h>
+ #include <ctype.h>
+ #include <syslog.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #ifdef HAVE_RPCSVC_YPCLNT_H
+ #include <rpcsvc/ypclnt.h>


More information about the scm-commits mailing list