rpms/pam/F-8 pam-0.99.8.1-audit-failed.patch, 1.1, 1.2 pam.spec, 1.162, 1.163
Tomas Mraz (tmraz)
fedora-extras-commits at redhat.com
Tue Feb 19 19:14:25 UTC 2008
Author: tmraz
Update of /cvs/pkgs/rpms/pam/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12301
Modified Files:
pam-0.99.8.1-audit-failed.patch pam.spec
Log Message:
* Tue Feb 19 2008 Tomas Mraz <tmraz at redhat.com> 0.99.8.1-17.1
- fix spurious syslog message (#433459)
pam-0.99.8.1-audit-failed.patch:
Index: pam-0.99.8.1-audit-failed.patch
===================================================================
RCS file: /cvs/pkgs/rpms/pam/F-8/pam-0.99.8.1-audit-failed.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pam-0.99.8.1-audit-failed.patch 31 Jan 2008 16:14:55 -0000 1.1
+++ pam-0.99.8.1-audit-failed.patch 19 Feb 2008 19:13:42 -0000 1.2
@@ -12,31 +12,8 @@
diff -up Linux-PAM-0.99.8.1/libpam/pam_audit.c.audit-failed Linux-PAM-0.99.8.1/libpam/pam_audit.c
--- Linux-PAM-0.99.8.1/libpam/pam_audit.c.audit-failed 2008-01-22 22:24:05.000000000 +0100
+++ Linux-PAM-0.99.8.1/libpam/pam_audit.c 2008-01-22 22:24:05.000000000 +0100
-@@ -42,39 +42,53 @@ _pam_audit_writelog(pam_handle_t *pamh,
- best to fix it. */
- errno = -rc;
-
-+ if (rc < 0 && errno != old_errno)
-+ {
-+ old_errno = errno;
-+ pam_syslog (pamh, LOG_CRIT, "audit_log_acct_message() failed: %m");
-+ }
-+
- pamh->audit_state |= PAMAUDIT_LOGGED;
-
-- if (rc < 0) {
-- if (rc == -EPERM && getuid() != 0)
-- return 0;
-- if (errno != old_errno) {
-- old_errno = errno;
-- pam_syslog (pamh, LOG_CRIT, "audit_log_acct_message() failed: %m");
-- }
-- }
-- return rc;
-+ if (rc == -EPERM && getuid () != 0)
-+ return 0;
-+ else
-+ return rc;
+@@ -55,26 +55,39 @@ _pam_audit_writelog(pam_handle_t *pamh,
+ return rc;
}
-int
Index: pam.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pam/F-8/pam.spec,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -r1.162 -r1.163
--- pam.spec 31 Jan 2008 16:14:55 -0000 1.162
+++ pam.spec 19 Feb 2008 19:13:42 -0000 1.163
@@ -11,7 +11,7 @@
Summary: A security tool which provides authentication for applications
Name: pam
Version: 0.99.8.1
-Release: 17%{?dist}
+Release: 17.1%{?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+,
# pam_rhosts_auth module is BSD with advertising
@@ -373,6 +373,9 @@
%doc doc/adg/*.txt doc/adg/html
%changelog
+* Tue Feb 19 2008 Tomas Mraz <tmraz at redhat.com> 0.99.8.1-17.1
+- fix spurious syslog message (#433459)
+
* Mon Jan 28 2008 Tomas Mraz <tmraz at redhat.com> 0.99.8.1-17
- test for setkeycreatecon correctly
- add exclusive login mode of operation to pam_selinux_permit (original
More information about the fedora-extras-commits
mailing list