audit: upgrade 4.0.4 -> 4.0.5

0001-Fixed-swig-host-contamination-issue.patch
refreshed for 4.0.5

Changelog:
============
- Rework audisp queue to be lockless
- Fix missing delete command in auditctl
- Allow plus addresses (rfc5233) to auditd email.
- Reduce memory churn in auditd event dispatching
- Add configurable recurring state report in auditd
- Switch audisp-statsd to stop sending signals
- Add glibc memory stats to audisp-statsd

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Wang Mingyu 2025-06-10 11:32:27 +08:00 committed by Khem Raj
parent 1b421ef711
commit b2c6299c3b
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 6 additions and 9 deletions

View File

@ -1,4 +1,4 @@
From 5cdc667aeb7a014cdc1f8c7df8f8080408773dbe Mon Sep 17 00:00:00 2001
From 4f78fcb8728cd4bf31175b3fa610a5c003e915d1 Mon Sep 17 00:00:00 2001
From: Li xin <lixin.fnst@cn.fujitsu.com>
Date: Sun, 19 Jul 2015 02:42:58 +0900
Subject: [PATCH] Fixed swig host contamination issue
@ -19,7 +19,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bindings/swig/python3/Makefile.am b/bindings/swig/python3/Makefile.am
index c2c6def4..bcc2836c 100644
index 428e40fa..f4dd45bc 100644
--- a/bindings/swig/python3/Makefile.am
+++ b/bindings/swig/python3/Makefile.am
@@ -23,6 +23,7 @@
@ -30,7 +30,7 @@ index c2c6def4..bcc2836c 100644
LIBS = $(top_builddir)/lib/libaudit.la
SWIG_FLAGS = -python
SWIG_INCLUDES = -I. -I$(top_builddir) -I${top_srcdir}/lib $(PYTHON3_INCLUDES)
@@ -37,7 +38,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li
@@ -35,7 +36,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li
_audit_la_LIBADD = ${top_builddir}/lib/libaudit.la
nodist__audit_la_SOURCES = audit_wrap.c
audit.py audit_wrap.c: ${srcdir}/../src/auditswig.i
@ -40,10 +40,10 @@ index c2c6def4..bcc2836c 100644
CLEANFILES = audit.py* audit_wrap.c *~
diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
index 6b267844..5a4e442f 100644
index 2760e516..5d0ea8b6 100644
--- a/bindings/swig/src/auditswig.i
+++ b/bindings/swig/src/auditswig.i
@@ -50,7 +50,7 @@ typedef unsigned uid_t;
@@ -52,7 +52,7 @@ typedef unsigned uid_t;
*/
%ignore audit_rule_data::buf;
@ -52,6 +52,3 @@ index 6b267844..5a4e442f 100644
#define __extension__ /*nothing*/
%include <stdint.i>
%include "../lib/audit-records.h"
--
2.25.1

View File

@ -13,7 +13,7 @@ SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;proto
"
S = "${WORKDIR}/git"
SRCREV = "81dcded2ed9e407dd1357eda0bdc0855f06085e6"
SRCREV = "97c4ec3d68b5b199f2796d1e126c2144506bd228"
inherit autotools python3targetconfig update-rc.d systemd