diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2024-03-22 17:30:44 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-03-22 09:05:47 -0700 |
commit | 831041c60ada1bc995f7fc6ef3b0391ce3ac5124 (patch) | |
tree | 3e8ac558e167b9a4f5795b29f17453552434fffc /meta-oe/recipes-security | |
parent | 24f9fdecd85329f01c7bd7660f65bdbec22b1da9 (diff) | |
download | meta-openembedded-831041c60ada1bc995f7fc6ef3b0391ce3ac5124.tar.gz |
audit: upgrade 4.0 -> 4.0.1
ChangeLog:
https://github.com/linux-audit/audit-userspace/releases/tag/v4.0.1
Update TRUSTED_APP interpretation to look for known fields;
In auditd plugins, allow variable amount of arguments;
Fix augenrules to work correctly when kernel is in immutable mode;
Add audisp-filter plugin;
Improve sorting speed of aureport --summary reports;
Auditd & audit-rules.service pick up paths automatically.
* Drop backport patch.
* Specify runstatedir.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-security')
-rw-r--r-- | meta-oe/recipes-security/audit/audit/0002-Add-attribute-declarations.patch | 35 | ||||
-rw-r--r-- | meta-oe/recipes-security/audit/audit_4.0.1.bb (renamed from meta-oe/recipes-security/audit/audit_4.0.bb) | 4 |
2 files changed, 2 insertions, 37 deletions
diff --git a/meta-oe/recipes-security/audit/audit/0002-Add-attribute-declarations.patch b/meta-oe/recipes-security/audit/audit/0002-Add-attribute-declarations.patch deleted file mode 100644 index 349142580a..0000000000 --- a/meta-oe/recipes-security/audit/audit/0002-Add-attribute-declarations.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 64cb48e1e5137b8a389c7528e611617a98389bc7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Steve Grubb <ausearch.1@gmail.com> | ||
3 | Date: Thu, 25 Jan 2024 15:14:51 -0500 | ||
4 | Subject: [PATCH] Add attribute declarations | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | [https://github.com/linux-audit/audit-userspace/commit/64cb48e1e5137b8a389c7528e611617a98389bc7] | ||
8 | |||
9 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
10 | --- | ||
11 | audisp/plugins/remote/queue.h | 3 ++- | ||
12 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/audisp/plugins/remote/queue.h b/audisp/plugins/remote/queue.h | ||
15 | index 36b70d04..2c70e839 100644 | ||
16 | --- a/audisp/plugins/remote/queue.h | ||
17 | +++ b/audisp/plugins/remote/queue.h | ||
18 | @@ -1,5 +1,5 @@ | ||
19 | /* queue.h -- a queue abstraction | ||
20 | - * Copyright 2009, 2011 Red Hat Inc., Durham, North Carolina. | ||
21 | + * Copyright 2009, 2011 Red Hat Inc. | ||
22 | * All Rights Reserved. | ||
23 | * | ||
24 | * This library is free software; you can redistribute it and/or | ||
25 | @@ -25,6 +25,7 @@ | ||
26 | #define QUEUE_HEADER | ||
27 | |||
28 | #include <sys/types.h> | ||
29 | +#include "common.h" // attribute decls | ||
30 | |||
31 | struct queue; | ||
32 | |||
33 | -- | ||
34 | 2.25.1 | ||
35 | |||
diff --git a/meta-oe/recipes-security/audit/audit_4.0.bb b/meta-oe/recipes-security/audit/audit_4.0.1.bb index c8ab0d880d..96ed6ff3d0 100644 --- a/meta-oe/recipes-security/audit/audit_4.0.bb +++ b/meta-oe/recipes-security/audit/audit_4.0.1.bb | |||
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | |||
9 | 9 | ||
10 | SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;protocol=https \ | 10 | SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;protocol=https \ |
11 | file://0001-Fixed-swig-host-contamination-issue.patch \ | 11 | file://0001-Fixed-swig-host-contamination-issue.patch \ |
12 | file://0002-Add-attribute-declarations.patch \ | ||
13 | file://auditd \ | 12 | file://auditd \ |
14 | file://audit-volatile.conf \ | 13 | file://audit-volatile.conf \ |
15 | " | 14 | " |
@@ -17,7 +16,7 @@ SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;proto | |||
17 | SRC_URI:append:libc-musl = " file://0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch" | 16 | SRC_URI:append:libc-musl = " file://0001-Replace-__attribute_malloc__-with-__attribute__-__ma.patch" |
18 | 17 | ||
19 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
20 | SRCREV = "ae7d2830391c1115cebff6340ef3130b1b03ce45" | 19 | SRCREV = "22ccbd984e493524050ac445f796e9a7e90e1149" |
21 | 20 | ||
22 | inherit autotools python3targetconfig update-rc.d systemd | 21 | inherit autotools python3targetconfig update-rc.d systemd |
23 | 22 | ||
@@ -40,6 +39,7 @@ EXTRA_OECONF = " \ | |||
40 | --disable-gssapi-krb5 \ | 39 | --disable-gssapi-krb5 \ |
41 | --disable-zos-remote \ | 40 | --disable-zos-remote \ |
42 | --sbindir=${base_sbindir} \ | 41 | --sbindir=${base_sbindir} \ |
42 | --runstatedir=/run \ | ||
43 | " | 43 | " |
44 | 44 | ||
45 | EXTRA_OEMAKE = " \ | 45 | EXTRA_OEMAKE = " \ |