From eadd98d61f3e314d98de875f622ef0e582224ab9 Mon Sep 17 00:00:00 2001 From: Steve Grubb Date: Mon, 1 Oct 2007 18:43:37 +0000 Subject: [PATCH] - Don't retry if the rt queue is full. --- audit-1.6.3-noretry.patch | 14 ++++++++++++++ audit.spec | 9 +++++++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 audit-1.6.3-noretry.patch diff --git a/audit-1.6.3-noretry.patch b/audit-1.6.3-noretry.patch new file mode 100644 index 0000000..2f75523 --- /dev/null +++ b/audit-1.6.3-noretry.patch @@ -0,0 +1,14 @@ +diff -urp audit-1.6.3.orig/src/auditd.c audit-1.6.3/src/auditd.c +--- audit-1.6.3.orig/src/auditd.c 2007-10-01 13:56:21.000000000 -0400 ++++ audit-1.6.3/src/auditd.c 2007-10-01 13:59:28.000000000 -0400 +@@ -136,8 +136,8 @@ static void distribute_event(struct audi + } + + /* Last chance to send...maybe the pipe is empty now. */ +- if (attempt) +- dispatch_event(&rep->reply, attempt); ++// if (attempt) ++// dispatch_event(&rep->reply, attempt); + } + + /* diff --git a/audit.spec b/audit.spec index 4255c66..12e1cb3 100644 --- a/audit.spec +++ b/audit.spec @@ -1,14 +1,15 @@ %define sca_version 0.4.3 -%define sca_release 5 +%define sca_release 6 Summary: User space tools for 2.6 kernel auditing Name: audit Version: 1.6.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://people.redhat.com/sgrubb/audit/ Source0: %{name}-%{version}.tar.gz +Patch1: audit-1.6.3-noretry.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext-devel intltool libtool swig python-devel BuildRequires: kernel-headers >= 2.6.18 @@ -67,6 +68,7 @@ An utility for editing audit configuration. %prep %setup -q +%patch1 -p1 %build (cd system-config-audit; ./autogen.sh) @@ -215,6 +217,9 @@ fi %config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server %changelog +* Mon Oct 1 2007 Steve Grubb 1.6.2-2 +- Don't retry if the rt queue is full. + * Tue Sep 25 2007 Steve Grubb 1.6.2-1 - Add support for searching by posix regular expressions in auparse - Route DEAMON events into rt interface