public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* DWIM audit tools
@ 2008-10-06 13:59 Matthew Booth
  0 siblings, 0 replies; only message in thread
From: Matthew Booth @ 2008-10-06 13:59 UTC (permalink / raw)
  To: linux-audit

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-06 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06 13:59 DWIM audit tools Matthew Booth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox