From: Richard Guy Briggs Subject: [PATCH] auparse: do not interpret fE as a capability field Date: Mon, 12 Jun 2017 21:49:24 -0400 Message-ID: <1497318564-26714-1-git-send-email-rgb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com Cc: Richard Guy Briggs List-Id: linux-audit@redhat.com The file effective capability is a boolean. It is being interpreted as the capability "chown" by auparse. Just print its raw value. An example from an execve syscall: type=BPRM_FCAPS msg=audit(03/07/2017 17:29:56.494:969) : fver=2 fp=sys_admin fi=none fe=chown old_pp=none old_pi=none old_pe=none new_pp=sys_admin new_pi=none new_pe=sys_admin Fixed: type=BPRM_FCAPS msg=audit(03/07/2017 17:29:56.494:969) : fver=2 fp=sys_admin fi=none fe=1 old_pp=none old_pi=none old_pe=none new_pp=sys_admin new_pi=none new_pe=sys_admin See: https://github.com/linux-audit/audit-userspace/issues/18 Signed-off-by: Richard Guy Briggs --- auparse/typetab.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/auparse/typetab.h b/auparse/typetab.h index be82796..32283c6 100644 --- a/auparse/typetab.h +++ b/auparse/typetab.h @@ -93,7 +93,6 @@ _S(AUPARSE_TYPE_CAP_BITMAP, "cap_fi" ) _S(AUPARSE_TYPE_CAP_BITMAP, "cap_fp" ) _S(AUPARSE_TYPE_CAP_BITMAP, "fp" ) _S(AUPARSE_TYPE_CAP_BITMAP, "fi" ) -_S(AUPARSE_TYPE_CAP_BITMAP, "fe" ) _S(AUPARSE_TYPE_CAP_BITMAP, "old_pp" ) _S(AUPARSE_TYPE_CAP_BITMAP, "old_pi" ) _S(AUPARSE_TYPE_CAP_BITMAP, "old_pe" ) -- 1.7.1