[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/at/devel at.spec, 1.26, 1.27 at-3.1.8-pam_fail_close_session.patch, 1.1, 1.2



Update of /cvs/dist/rpms/at/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv18940

Modified Files:
	at.spec at-3.1.8-pam_fail_close_session.patch 
Log Message:
ensure pam_session_close called before every pam_end


Index: at.spec
===================================================================
RCS file: /cvs/dist/rpms/at/devel/at.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- at.spec	5 Apr 2005 15:55:18 -0000	1.26
+++ at.spec	5 Apr 2005 17:41:10 -0000	1.27
@@ -7,7 +7,7 @@
 Summary: Job spooling tools.
 Name: at
 Version: 3.1.8
-Release: 70_FC4
+Release: 72_FC4
 License: GPL
 Group: System Environment/Daemons
 Source: http://ftp.debian.org/debian/pool/main/a/at/at_3.1.8-11.tar.gz

at-3.1.8-pam_fail_close_session.patch:
 atd.c  |    3 +++
 perm.c |    2 ++
 2 files changed, 5 insertions(+)

Index: at-3.1.8-pam_fail_close_session.patch
===================================================================
RCS file: /cvs/dist/rpms/at/devel/at-3.1.8-pam_fail_close_session.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- at-3.1.8-pam_fail_close_session.patch	5 Apr 2005 15:55:18 -0000	1.1
+++ at-3.1.8-pam_fail_close_session.patch	5 Apr 2005 17:41:10 -0000	1.2
@@ -1,5 +1,5 @@
 --- at-3.1.8/atd.c.pam_fail_close_session	2005-04-05 11:26:54.325653000 -0400
-+++ at-3.1.8/atd.c	2005-04-05 11:29:06.069777000 -0400
++++ at-3.1.8/atd.c	2005-04-05 13:32:16.963617000 -0400
 @@ -102,6 +102,7 @@
  #define PAM_FAIL_CHECK if (retcode != PAM_SUCCESS) { \
  	fprintf(stderr,"\n%s\n",pam_strerror(pamh, retcode)); \
@@ -16,6 +16,14 @@
  	pam_end(pamh, PAM_ABORT);
  	if ( ( nenvp != &nul ) && (pam_envp != 0L)  && (*pam_envp != 0L))
  	{
+@@ -668,6 +670,7 @@
+ 	PRIV_END
+ 
+ #ifdef WITH_PAM
++	pam_close_session(pamh, PAM_SILENT);
+ 	pam_end(pamh, PAM_ABORT);
+ #endif
+     }
 --- at-3.1.8/perm.c.pam_fail_close_session	2005-04-05 11:26:54.403575000 -0400
 +++ at-3.1.8/perm.c	2005-04-05 11:31:00.703029000 -0400
 @@ -140,6 +140,7 @@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]