From: Casey Schaufler Subject: Re: File watching Date: Tue, 20 Jun 2006 14:06:33 -0700 (PDT) Message-ID: <20060620210633.48187.qmail@web36610.mail.mud.yahoo.com> References: <20060620203005.GB29481@zk3.dec.com> Reply-To: casey@schaufler-ca.com Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k5KL6fZu022316 for ; Tue, 20 Jun 2006 17:06:41 -0400 Received: from web36610.mail.mud.yahoo.com (web36610.mail.mud.yahoo.com [209.191.85.27]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with SMTP id k5KL6dEL012503 for ; Tue, 20 Jun 2006 17:06:40 -0400 In-Reply-To: <20060620203005.GB29481@zk3.dec.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Amy Griffis , Steve Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com --- Amy Griffis wrote: > It would be nice if it were possible to further > filter the open calls, > by allowing the rule to specify certain flags like > O_CREAT, O_RDONLY, > O_WRONLY or O_RDWR. That could do quite a bit to > eliminate > unwanted log data. >=20 > What do others think, should we consider adding > somthing like this? The LSPP project may need to pipe in at some point, depending on how they decide(d) to address tranquility, especially on devices that may be "allocated" by users. In the UNIX B1/LSPP evaluations we found it easier to provide the capability of auditing file descriptor operations (read, write, seek, fcheverything, ...) than to prove that they weren't necessary. It's easy to win the arguement that it's ok to write to a file with mode 0 if you opened it when it was 666. That arguement is much harder if the file was TopSecret and is now Unclassified. Casey Schaufler casey@schaufler-ca.com