From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Booth Subject: DWIM audit tools Date: Mon, 06 Oct 2008 14:59:11 +0100 Message-ID: <48EA19AF.3070304@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mbooth.laptop (vpn-6-22.fab.redhat.com [10.33.6.22]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m96HH4j7020086 for ; Mon, 6 Oct 2008 13:17:04 -0400 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 List-Id: linux-audit@redhat.com Has anybody been looking at making writing audit rules a bit more DWIM. E.g. when the user types: auditctl -a entry,always -S stat what they almost certainly meant was: auditctl -a entry,always -F arch=i386 -S oldstat -S oldfstat -S ustat -S oldlstat -S stat -S lstat -S fstat -S stat64 -S lstat64 -S fstat64 auditctl -a entry,always -F arch=x86_64 -S stat -S fstat -S lstat -S ustat [1] It would be really helpful if this kind of knowlege was encapsulated somewhere. If you were going to put it into auditctl, I suspect you'd want a separate switch for it so you could still be specific if you needed it. Is anybody looking at anything like this? Matt [1] If anybody points out an error in here, they're just making my point for me :P -- Matthew Booth, RHCA, RHCSS Red Hat, Global Professional Services M: +44 (0)7977 267231 GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490