From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261155AbVGFUCJ (ORCPT ); Wed, 6 Jul 2005 16:02:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262395AbVGFUB6 (ORCPT ); Wed, 6 Jul 2005 16:01:58 -0400 Received: from mail.kroah.org ([69.55.234.183]:17372 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S262401AbVGFRRl (ORCPT ); Wed, 6 Jul 2005 13:17:41 -0400 Date: Wed, 6 Jul 2005 10:17:26 -0700 From: Greg KH To: "Timothy R. Chavez" Cc: Andrew Morton , linux-audit@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, David Woodhouse , Mounir Bsaibes , Steve Grubb , Serge Hallyn , Alexander Viro , Klaus Weidner , Chris Wright , Stephen Smalley , Robert Love , Christoph Hellwig , Daniel H Jones , Amy Griffis , Maneesh Soni Subject: Re: [PATCH] audit: file system auditing based on location and name Message-ID: <20050706171726.GA27902@kroah.com> References: <1120668881.8328.1.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1120668881.8328.1.camel@localhost> User-Agent: Mutt/1.5.8i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 06, 2005 at 11:54:41AM -0500, Timothy R. Chavez wrote: > To implement this feature we rely on the concepts of a "watch" and > "watch list". Directories hold lists of "watches" (ie: "watch lists") > that describe auditable file names one level beneath them. If a file > holds a pointer into a "watch list" it is auditable. When accessed by > a system call, information about the inode and its "watches" is added > to the audit context of the current task (an inode may have multiple > "watches" if a hard link to a "watched" file is itself being "watched") > which is sent to user space upon system call exit. This sounds almost identical to inotify. Is there some way you could use that instead? If not, you should explain why in your patch introduction. thanks, greg k-h