audit: enable arm/aarch64 processor support by default
PATCH 1/1 audit: enable arm/aarch64 processor support by default
We encountered a runtime error for auditctl on lib32 image for aarch64:
root@qemuarm64:~# auditctl -a always,exit -F arch=b32 -S adjtimex -S settimeofday -k time_change arch elf mapping not found
The root cause is the aarch64 processor support is not enabled for arm build. Refer to Debian[1] and Fedora[2], actually we can enable arm/aarch64 processor support unconditionally.
[1] https://salsa.debian.org/debian/audit/-/commit/8c6b2049bafb52712ca981e73d5b79d5bd97e08e
[2] https://src.fedoraproject.org/rpms/audit/blob/master/f/audit.spec
Signed-off-by Yi Zhao <[email protected]>
--- recipes-security/audit/audit_2.8.5.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-security/audit/audit_2.8.5.bb +2 -2
@@ -41,9 +41,9 @@ EXTRA_OECONF += "--without-prelude \ --without-python \ --without-golang \ --disable-zos-remote \ + --with-arm=yes \ + --with-aarch64=yes \ " -EXTRA_OECONF_append_arm = " --with-arm=yes" -EXTRA_OECONF_append_aarch64 = " --with-aarch64=yes" EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}' \ PYINC='${STAGING_INCDIR}/$(PYLIBVER)' \
Signature · 1 line
2.25.1