Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Fixups for sys-process/audit #3232

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,14 @@ src_prepare() {

multilib_src_configure() {
local ECONF_SOURCE=${S}
local extra_conf

if [[ "${ARCH}" == "arm64" ]]; then
extra_conf="--with-arm --with-aarch64"
fi

econf \
${extra_conf} \
--sbindir="${EPREFIX}/sbin" \
$(use_enable gssapi gssapi-krb5) \
$(use_enable static-libs static) \
Expand Down
1 change: 0 additions & 1 deletion sys-process/audit/files/audit-rules.tmpfiles
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
d /etc/audit - - - - -
d /etc/audit/rules.d - - - - -
L /etc/audit/rules.d/00-clear.rules - - - - /usr/share/audit/rules.d/00-clear.rules
L /etc/audit/rules.d/80-selinux.rules - - - - /usr/share/audit/rules.d/80-selinux.rules
L /etc/audit/rules.d/99-default.rules - - - - /usr/share/audit/rules.d/99-default.rules
4 changes: 0 additions & 4 deletions sys-process/audit/files/rules.d/80-selinux.rules

This file was deleted.

13 changes: 9 additions & 4 deletions sys-process/audit/files/rules.d/99-default.rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Always report changes to the audit subsystem itself.
-a exclude,never -F msgtype=CONFIG_CHANGE

# Report changes to the audit subsystem (CONFIG_CHANGE).
# Report all SELinux related events (AVC).
# Ignore everything else.
-a exclude,always -F msgtype>0
#
# Rules on the same line form an AND expression.
# Rules on on different lines form an OR expression.
# For info on configuring audit rules see the auditctl man page and
# https://github.com/torvalds/linux/blob/master/include/uapi/linux/audit.h

-a always,exclude -F msgtype!=AVC -F msgtype!=CONFIG_CHANGE