From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amy Griffis Subject: Re: inotify_rm_watch behavior Date: Mon, 11 Sep 2006 14:49:03 -0400 Message-ID: <20060911184903.GA32335@fc.hp.com> References: <200609111505.24567.efleury@br.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: <200609111505.24567.efleury@br.ibm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: redhat-lspp-bounces@redhat.com Errors-To: redhat-lspp-bounces@redhat.com To: linux-audit@redhat.com Cc: redhat-lspp List-Id: linux-audit@redhat.com Eduardo Madeira Fleury wrote: [Mon Sep 11 2006, 02:05:24PM EDT] > I'm doing some tests and currently inotify_rm_watch is not performing any > permission checks, i.e., an ordinary user can remove a watch set by root on a > file with root:root 400 permission. > > Is this the expected behavior? Seems like neither MAC nor MLS checks are being > done. Yes. As I understand it, an inotify watch is not a data object, and so does not require DAC or MAC checks. Amy