Rewrite aa-log.

This commit is contained in:
Alexandre Pujol 2021-11-09 22:41:12 +00:00
parent 2cc4d69e9e
commit ac2386957b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 186 additions and 38 deletions

View file

@ -12,19 +12,9 @@ profile aa-log @{exec_path} {
@{exec_path} mr,
/{usr/,}bin/{,ba,da}sh rix,
/{usr/,}bin/awk rix,
/{usr/,}bin/env rix,
/{usr/,}bin/gawk rix,
/{usr/,}bin/grep rix,
/{usr/,}bin/mawk rix,
/{usr/,}bin/sed rix,
/usr/share/terminfo/x/xterm-256color r,
/var/log/audit/audit.log r,
/dev/tty rw,
@{sys}/kernel/mm/transparent_hugepage/hpage_pmd_size r,
include if exists <local/aa-log>
}