- Fix syscall name to number conversion in libaudit.
This commit is contained in:
parent
eadd98d61f
commit
0a1d445d1c
@ -1,7 +1,19 @@
|
||||
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
|
||||
diff -urp audit-1.6.2.orig/lib/lookup_table.c audit-1.6.2/lib/lookup_table.c
|
||||
--- audit-1.6.2.orig/lib/lookup_table.c 2007-10-05 10:30:25.000000000 -0400
|
||||
+++ audit-1.6.2/lib/lookup_table.c 2007-10-05 10:32:01.000000000 -0400
|
||||
@@ -483,7 +483,7 @@ int audit_name_to_msg_type(const char *m
|
||||
strncpy(buf, msg_type + 8, len);
|
||||
errno = 0;
|
||||
return strtol(buf, NULL, 10);
|
||||
- } else if (isdigit(msg_type)) {
|
||||
+ } else if (isdigit(*msg_type)) {
|
||||
errno = 0;
|
||||
return strtol(msg_type, NULL, 10);
|
||||
}
|
||||
diff -urp audit-1.6.2.orig/src/auditd.c audit-1.6.2/src/auditd.c
|
||||
--- audit-1.6.2.orig/src/auditd.c 2007-10-05 10:31:35.000000000 -0400
|
||||
+++ audit-1.6.2/src/auditd.c 2007-10-05 10:30:04.000000000 -0400
|
||||
@@ -135,8 +135,8 @@ static void distribute_event(struct audi
|
||||
}
|
||||
|
||||
/* Last chance to send...maybe the pipe is empty now. */
|
||||
|
@ -1,10 +1,10 @@
|
||||
%define sca_version 0.4.3
|
||||
%define sca_release 6
|
||||
%define sca_release 7
|
||||
|
||||
Summary: User space tools for 2.6 kernel auditing
|
||||
Name: audit
|
||||
Version: 1.6.2
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Daemons
|
||||
URL: http://people.redhat.com/sgrubb/audit/
|
||||
@ -217,6 +217,9 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/security/console.apps/system-config-audit-server
|
||||
|
||||
%changelog
|
||||
* Fri Oct 5 2007 Steve Grubb <sgrubb@redhat.com> 1.6.2-3
|
||||
- Fix syscall name to number conversion in libaudit.
|
||||
|
||||
* Mon Oct 1 2007 Steve Grubb <sgrubb@redhat.com> 1.6.2-2
|
||||
- Don't retry if the rt queue is full.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user