From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Grubb Subject: Re: Seeking auditd help Date: Mon, 11 May 2015 15:52:47 -0400 Message-ID: <3241881.s5W8vqYJFF@x2> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Bill Jackson III List-Id: linux-audit@redhat.com On Monday, May 11, 2015 11:50:19 AM Bill Jackson III wrote: > Any pointers for troubleshooting auditd missing events for file reads, > edits, etc. ( -w _path_ -p raw) on OEL5/RHEL 5/CentOS 5? > > http://security.stackexchange.com/q/89009/56827 The -w notation is the same as -a always,exit -F path=XXX -F perms=rwa What this does is audit the following functions defined in the syscall classifiers : http://lxr.free-electrons.com/source/include/asm-generic/audit_read.h http://lxr.free-electrons.com/source/include/asm-generic/audit_write.h http://lxr.free-electrons.com/source/include/asm-generic/audit_change_attr.h You are not going to get a hit for each and every read system call because read is not audited. -Steve